WebtroPie
-
Hi,
I just installed Webtropie on an up to date Retropie 4.4, chose not to use Apache, and got some error messages:
Install to Apache? [y/n]: n Reading package lists... Done Building dependency tree Reading state information... Done Package php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package php5-gd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5' has no installation candidate E: Package 'php5-gd' has no installation candidate 2018-09-29 17:51:57 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js [169374] -> "angular.min.js" [1] 2018-09-29 17:51:58 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js.map [452339] -> "angular.min.js.map" [1] 2018-09-29 17:51:58 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-route.min.js [5611] -> "angular-route.min.js" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-route.min.js.map [14451] -> "angular-route.min.js.map" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-animate.min.js [25733] -> "angular-animate.min.js" [1] 2018-09-29 17:51:59 URL:https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular-animate.min.js.map [70648] -> "angular-animate.min.js.map" [1] sed: can't read /etc/php5/apache2/php.ini: No such file or directory to run WebtroPie type :- ./STANDALONE.sh Ready
As expected, running
STANDALONE.sh
doesn't work:------------------------------------------------ WebtroPie serving by php from :1982 Cntrl-C to stop, ./STANDALONE.sh to restart ------------------------------------------------ ./STANDALONE.sh: line 15: php: command not found
Seem like
php5
doesn't exist in Debian Stretch anymore. What should I install instead?edit: Both of the packages
php
andphp7.0
would also install Apache2, which I would like to avoid for just testing Webtropie for the first time. -
@clyde
You need a php server(I think RetroPie gots already one?)So you can use nginx or lighttpd instead of apacheIMHO: You can force install php by manipulating apt caches.
-
@cyperghost I may have found a less forceful (haha) solution on the web.
Using
apt-cache depends
, you can look at the dependencies ofphp7.0
:$ apt-cache depends php7.0 php7.0 |Depends: libapache2-mod-php7.0 |Depends: php7.0-fpm Depends: php7.0-cgi Depends: php7.0-common
That means that
libapache2-mod-php7.0
will only be installed along withphp7.0
if none of the three packages below it aren't installed. So, installing it together withphp7.0-fpm
will avoid Apache. 😄$ sudo apt install php7.0-fpm php The following NEW packages will be installed: php php-common{a} php7.0{a} php7.0-cli{a} php7.0-common{a} php7.0-fpm php7.0-json{a} php7.0-opcache{a} php7.0-readline{a}
php
is a dependency package pointing to the default PHP version, so you could replace it withphp7.0
instead.Webtropie seems to run with PHP 7, I will begin to test it now.
-
@clyde Yes I did take the wrong track at first. AFAIK RetroPie gots a server running, therefore you just need the PHP packages. Usually you install Apache or NGINX or LIGHTTPD and then you install PHP alongside them.
But as I said, you can manipulate the apt-cache and force the installation. Or use dpkg commands, this also works. But be carefull with such things ... they can break things ;)
-
@cyperghost I'm happy with my way, it seems to be less intrusive by far. :)
That said, Webtropie doesn't seem to work. :( Connecting to http://ip.of.my.retropie:1982 only results in an empty black page, and Webtropie's console output contains this error:
/svr/config_ini.php?get=255 - Uncaught Error: Class 'SimpleXMLElement' not found in /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php:132 Stack trace: #0 /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php(195): simplexml_load_file_wrapped('../config/setti...', 'tag') #1 /home/pi/git/WebtroPie-0.9.1/app/svr/config.php(51): load_file_xml_as_array('../config/setti...', true) #2 /home/pi/git/WebtroPie-0.9.1/app/svr/config_ini.php(4): getConfig('255') #3 {main} thrown in /home/pi/git/WebtroPie-0.9.1/app/svr/xml_util.php on line 132
-
@clyde Argh... you may need a server for that. But I would avoid Apache, too.
-
@cyperghost I don't know anything about web servers, I just want to keep my system as little complex as possible, on principle.
I just saw that the dev version at https://github.com/gazpan/WebtroPie was updated for PHP 7 after the release of the stable version 0.9.1. I will try that one and report here.
-
Okay … the dev version only installs
libgd3 libxpm4 php-common php7.0-common
, but exits with the same error in line 15 that I got before. It still needsphp-fpm
andphp
installed manually.BUT after that, Webtropie Dev works! – At least apparently, I see the frontend and can browse my systems and games. So I can finally test it now.
Thanks for thinking with me. 😎
-
Hi. I followed the steps of installation and I can not go online. I'm connected to the same network. I do not know what is happening. Could someone put a quick guide and what do I have to do after installing it?
-
@morenr1 solve my problem, thanks!
sudo apt-get update
sudo apt-get install -t stretch php7.0and the system starts to work.
-
So I guess WebtroPie is dead? Still haven't seen 1.0 nor any updates at all for awhile.
I myself am getting a permission denied "cannot create regular file"
-
@KimaRo Welcome to this forum.
The people reading here need more information to help you.
- What hardware and operation system are you trying to run WebtroPie on?
- Did you follow the installation instructions in Webtropie's Wiki?
- At what point did the error occur?
-
@Clyde I actually fixed it, and for future reference for those maybe getting the same, make sure you delete the apps folder as that is what was creating the issue since I already had another issue I was reinstalling but never got it to work again.
Another issue I was getting was that whole libraries were disappearing on WebtroPie, this was happening within the gamelist text file and you had to delete some extra <game/> ends that were being created.
-
@KimaRo Thanks for sharing your solution.
Another issue I was getting was that whole libraries were disappearing on WebtroPie, this was happening within the gamelist text file and you had to delete some extra <game/> ends that were being created.
You mean libraries of games? (i.e. not software libraries) And "was" means that you fixed this, too, by deleting the </game> tags?
If you suspect faulty code in WebtroPie, you could open an issue on Github even though it seems that the development has stopped. Sometimes, "dead" projects come to life again. 🌅
-
Hello!
Is this project alive? Can't find repository in github, error 404.
Can I download from another place?Thanks!
-
@iwanttobefreak
found it for you
https://github.com/ggiovinazzo/WebtroPienot sure if its working or what
git clone https://github.com/ggiovinazzo/WebtroPie.git cd WebtroPie sudo ./INSTALL.sh
enjoy
-
@exarkuniv Thank you! It works.
I have changed php version 7.1 to 7.4 in INSTALL.sh
Thank you!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.