Kodi Community Forum
MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304)



- DejaVu - 2011-08-08

oneadvent Wrote:root@joshsphone:/var/www/html $ git clone git://github.com/mediafrontpage/mediafrontpage.git /var/www/html/xbmc/
Cloning into /var/www/html/xbmc...
fatal: remote error:
Could not find Repository mediafrontpage/mediafrontpage

My bad - case SenSiTivE

git clone [noparse][email protected]:MediaFrontPage/mediafrontpage.git[/noparse] /var/www/html/xbmc


- oneadvent - 2011-08-08

Got it, but it still says no

I didn't do the change file name, cause it said it couldn't be created.

http://imgur.com/30zAP


- DejaVu - 2011-08-08

You have it installed now.

All you need to do is CHMOD the files so they have write access.

chmod 777 /var/www -R

Then click the reload button.


- oneadvent - 2011-08-08

Excellent that works. Can we update the front page for others though?


- DejaVu - 2011-08-08

Thanks to the dudes over on Github, my repo has now moved to new home...!
http://github.com/DejaVu77/mediafrontpage no longer exists.

I now live @
http://github.com/DejaVu/mediafrontpage

Yay! Much the same as what XBMC did for me a few months back! Big Grin

I have updated my Signature to reflect the change. I'm not sure if Pull requests will work from the old one though, you may all have to clone again. Smile


- Mar2zz - 2011-08-08

DejaVu Wrote:You have it installed now.

All you need to do is CHMOD the files so they have write access.

chmod 777 /var/www -R

Then click the reload button.

No! 777 is not safe! don't advise that. Especially not in the root of /var/www, it will open up all rights on subfolders/files for the world to access if the port is open.

Best practice:
chown -R www-data /var/www/mediafrontpage (to make it work)
chmod -R 774 /var/www/mediafrontpage (to enable git pull-updates)


- Aenima99x - 2011-08-08

Does anyone have reverse proxies working correctly in MFP? I had them working previously, but after a new HTPC rebuild I can't get them to work at all. I'm not sure if I'm missing something with a PHP setting or an Apache module, but it's driving me crazy.
The details -

- SAB/SickBeard/CouchPotato/HeadPhones/XBMC are all setup with working reverse proxies in Apache. All have been verified to work correctly internally & externally from my network.

- MFP setup always passes fine and page loads, but no info gets displayed in the widgets. The Nav links do work when pointing them to my external website/proxy (ex. http://www.servername/sab/ loads SAB webUI fine)

- Apache modules loaded are
Quote:Alias, Auth_basic, Authn_file, authz_default, authz_groupfile, authz_host, authz_user, deflate, dir, env, headers, mime, php5, proxy, proxy_connect, proxy_http, reqtimeout, setenvif

- PHP5 & PHP5-curl are installed. extension=curl.so is enabled in the php.ini

-
I've gone as far as removing/disabling all security to ensure that wasn't causing the issue. Mod_security & Mod_Evasive are disabled. I've chmod'ed the var/www/mfp directory to 777. Tried various settings of having the owner of the directory as www-data, root and my user.

- Tried every possible combination of internal/external settings in MFP for the Global, Program & Reverse Proxy settings.

- I've tried both the official repo and Deja's repo with the same results.

If anyone who has MFP working with reverse proxies could post what Apache modules and MFP settings they're using, I'd really appreciate it. Thanks. Sad


- steve1977 - 2011-08-08

Aenima99x Wrote:Does anyone have reverse proxies working correctly in MFP? I had them working previously, but after a new HTPC rebuild I can't get them to work at all. I'm not sure if I'm missing something with a PHP setting or an Apache module, but it's driving me crazy

Which repo are you using? The official one should work well with reverse-proxies (at least it does for me). Deja's is only partially working for me these days.


- Paraffin - 2011-08-08

Has anyone written a guide to configuring this? I tried searching the 200 pages on this thread but no luck.

I am specifically looking for details on the config.php

Cheers
David


- Aenima99x - 2011-08-08

steve1977 Wrote:Which repo are you using? The official one should work well with reverse-proxies (at least it does for me). Deja's is only partially working for me these days.
Tried both.....neither is working.


- rflores2323 - 2011-08-08

Paraffin Wrote:Has anyone written a guide to configuring this? I tried searching the 200 pages on this thread but no luck.

I am specifically looking for details on the config.php

Cheers
David

DejaVu repo has it when you install it on your server and get it up and running it does a system check to verify that you have everything installed to display the site. After that you continue with configuration thru the website which makes it alot easier.


- Aenima99x - 2011-08-08

Gugahoi or DejaVu....got any ideas what might be causing these errors? This is a fresh git clone from the Official repo.
Quote:File does not exist: /var/www/mfp/widgets/name="redir_frame", referer: http://192.x.x.x/mfp/widgets/wComingEpisodes.php?display=yes

PHP Warning: Invalid argument supplied for foreach() in /var/www/mfp/widgets/libXBMCLibrary.php on line 311, referer: http://192.x.x.x/mfp/mediafrontpage.php

File does not exist: /var/www/mfp/css/.css, referer: http://192.x.x.x/mfp/mediafrontpage.php



- Aenima99x - 2011-08-08

steve1977 Wrote:Which repo are you using? The official one should work well with reverse-proxies (at least it does for me). Deja's is only partially working for me these days.

Are you using Apache? If so, what modules do you have loaded, I'm wondering I'm missing one.


- steve1977 - 2011-08-08

Aenima99x Wrote:Tried both.....neither is working.

Go for the official repo to get it running. Would suggest not to "touch" your apache settings because they used to work before (I haven't touched mine in ages). Make sure that you have it configured right in the config GUI.

1) Make sure that you delete all user names and password from the individual programs

2) Check that you have reverse proxies and master user-name and PW activated

3) Include all relevant info under reverse-proxy settings (for SB for example right only "TV" without the "", etc.)


- Aenima99x - 2011-08-08

steve1977 Wrote:Go for the official repo to get it running. Would suggest not to "touch" your apache settings because they used to work before (I haven't touched mine in ages). Make sure that you have it configured right in the config GUI.

1) Make sure that you delete all user names and password from the individual programs

2) Check that you have reverse proxies and master user-name and PW activated

3) Include all relevant info under reverse-proxy settings (for SB for example right only "TV" without the "", etc.)

Yeah that's how it's all setup. Global config points to my external url, master username & p/w are enabled, nothing in any of the individual programs except for the SAB API key and reverse proxy settings all have the correct webroots.