• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

WebtroPie

Scheduled Pinned Locked Moved Projects and Themes
retropieweb interfacewebtropie
157 Posts 27 Posters 62.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    steptoe
    last edited by 14 May 2018, 07:13

    Your wiki says the user will be run as "pi", but I'm running RetroPie via RetroSMC installation on OSMC so I have KODI with RetroPIe not RetroPie with KODI as a lot do

    My user is OSMC, can the user be changed to support OSMC as the user instead of the default "pi"

    I have no issues changing any scripts or PHP editing to change the default 'pi' user, just which one to change

    Thanks

    Looks a very very good web interface as there isn't anything that REALLY lets you edit what you want. Plenty of auto scrapers but they all have 'issues' in one way or another

    S 1 Reply Last reply 15 May 2018, 07:50 Reply Quote 0
    • S
      steptoe @steptoe
      last edited by steptoe 15 May 2018, 07:50

      @steptoe said in WebtroPie:

      Your wiki says the user will be run as "pi", but I'm running RetroPie via RetroSMC installation on OSMC so I have KODI with RetroPIe not RetroPie with KODI as a lot do

      My user is OSMC, can the user be changed to support OSMC as the user instead of the default "pi"

      I have no issues changing any scripts or PHP editing to change the default 'pi' user, just which one to change

      Thanks

      Looks a very very good web interface as there isn't anything that REALLY lets you edit what you want. Plenty of auto scrapers but they all have 'issues' in one way or another

      Answered my own question after looking through the INSTALL.sh script. Simply changed the 'pi' to 'omsc' through the script and tried again. Worked almost straight away as I had a couple of things to install and NOT use root

      Had to install PHP, which wasn't that difficult as I'm using the 'stretch' install of OSMC so just simply used :

      sudo apt-get update
      sudo apt-get install -t stretch php7.0

      then verified it had installed, as trying the command previously proved I didn't have PHP installed as it came back with an error

      php -v

      Then ran the interface via putty once I had started WebtroPie as a standalone web interface using the commands 'cd WebtroPie' then '.STANDALONE.sh', and called it for my PI using 192.168.0.3:1982 on my browser. Worked straight away and looks great

      I found out why my images and videos has suddenly disappeared using the metaeditor on WebtroPie. For some reason the 'gamelist.xml' had been updated but wiped the paths that had correctly been created using ScreenScraper UXMS. Possibly as I had been trying to create the Daphne screenshots that were missing using sseelphscraper from within RetroPie. Not sure, but its all corrected now thanks to WebtroPie showing me exactly what had gone wrong

      1 Reply Last reply Reply Quote 0
      • M
        morenr1 @morenr1
        last edited by 15 May 2018, 10:46

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M
          morenr1 @morenr1
          last edited by 15 May 2018, 10:49

          @morenr1 said in WebtroPie:

          Hi,

          I have installed WebtroPie following the steps which appear in the Wiki. The issue that I have is when I broswe from Chrome to http://192.168.1.XX/app/#!/ I only have a black screen. Any help?

          I'm running RetroPie 4.4 and my roms are stored in an external USB. I have simbolic links from /retropie/roms to my external USB unit.

          Thanks in advance for your help.

          Regards
          morenr1

          Answered myseft and with the help of @steptoe I had to install PHP after run INSTALL.sh script.

          sudo apt-get update
          sudo apt-get install -t stretch php7.0

          and the system starts to work.

          Amazing work!!

          Regards
          morenr1

          1 Reply Last reply Reply Quote 0
          • C
            Clyde
            last edited by Clyde 29 Sept 2018, 16:20

            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 and php7.0 would also install Apache2, which I would like to avoid for just testing Webtropie for the first time.

            1 Reply Last reply Reply Quote 0
            • C
              cyperghost
              last edited by cyperghost 29 Sept 2018, 16:38

              @clyde You need a php server (I think RetroPie gots already one?)

              So you can use nginx or lighttpd instead of apache

              IMHO: You can force install php by manipulating apt caches.

              C 1 Reply Last reply 29 Sept 2018, 16:54 Reply Quote 0
              • C
                Clyde @cyperghost
                last edited by Clyde 29 Sept 2018, 16:54

                @cyperghost I may have found a less forceful (haha) solution on the web.

                Using apt-cache depends, you can look at the dependencies of php7.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 with php7.0 if none of the three packages below it aren't installed. So, installing it together with php7.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 with php7.0 instead.

                Webtropie seems to run with PHP 7, I will begin to test it now.

                C 1 Reply Last reply 29 Sept 2018, 16:58 Reply Quote 0
                • C
                  cyperghost @Clyde
                  last edited by cyperghost 29 Sept 2018, 16:58

                  @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 ;)

                  C 1 Reply Last reply 29 Sept 2018, 17:05 Reply Quote 0
                  • C
                    Clyde @cyperghost
                    last edited by 29 Sept 2018, 17:05

                    @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
                    
                    C 1 Reply Last reply 29 Sept 2018, 17:08 Reply Quote 0
                    • C
                      cyperghost @Clyde
                      last edited by 29 Sept 2018, 17:08

                      @clyde Argh... you may need a server for that. But I would avoid Apache, too.

                      C 1 Reply Last reply 29 Sept 2018, 17:12 Reply Quote 0
                      • C
                        Clyde @cyperghost
                        last edited by 29 Sept 2018, 17:12

                        @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.

                        C 1 Reply Last reply 29 Sept 2018, 17:22 Reply Quote 0
                        • C
                          Clyde @Clyde
                          last edited by 29 Sept 2018, 17:22

                          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 needs php-fpm and php 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. 😎

                          1 Reply Last reply Reply Quote 1
                          • rafakidR
                            rafakid
                            last edited by 12 Nov 2018, 13:16

                            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?

                            rafakidR 1 Reply Last reply 12 Nov 2018, 13:41 Reply Quote 0
                            • rafakidR
                              rafakid @rafakid
                              last edited by 12 Nov 2018, 13:41

                              @morenr1 solve my problem, thanks!

                              sudo apt-get update
                              sudo apt-get install -t stretch php7.0

                              and the system starts to work.

                              1 Reply Last reply Reply Quote 2
                              • K
                                KimaRo
                                last edited by 6 Jan 2020, 00:30

                                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"

                                C 1 Reply Last reply 6 Jan 2020, 12:37 Reply Quote 1
                                • C
                                  Clyde @KimaRo
                                  last edited by 6 Jan 2020, 12:37

                                  @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?
                                  K 1 Reply Last reply 7 Jan 2020, 06:28 Reply Quote 0
                                  • K
                                    KimaRo @Clyde
                                    last edited by 7 Jan 2020, 06:28

                                    @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.

                                    C 1 Reply Last reply 8 Jan 2020, 21:30 Reply Quote 1
                                    • C
                                      Clyde @KimaRo
                                      last edited by 8 Jan 2020, 21:30

                                      @KimaRo Thanks for sharing your solution.

                                      @KimaRo said in WebtroPie:

                                      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. 🌅

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        iwanttobefreak
                                        last edited by 5 Jan 2022, 08:30

                                        Hello!
                                        Is this project alive? Can't find repository in github, error 404.
                                        Can I download from another place?

                                        Thanks!

                                        ExarKunIvE 1 Reply Last reply 5 Jan 2022, 14:09 Reply Quote 0
                                        • ExarKunIvE
                                          ExarKunIv @iwanttobefreak
                                          last edited by 5 Jan 2022, 14:09

                                          @iwanttobefreak
                                          found it for you
                                          https://github.com/ggiovinazzo/WebtroPie

                                          not sure if its working or what

                                          git clone https://github.com/ggiovinazzo/WebtroPie.git
                                          cd WebtroPie
                                          sudo ./INSTALL.sh
                                          

                                          enjoy

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          I 1 Reply Last reply 5 Jan 2022, 16:02 Reply Quote 0
                                          • First post
                                            Last post

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]