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.
    • ClydeC
      Clyde @cyperghost
      last edited by Clyde

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

      cyperghostC 1 Reply Last reply Reply Quote 0
      • cyperghostC
        cyperghost @Clyde
        last edited by cyperghost

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

        ClydeC 1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @cyperghost
          last edited by

          @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
          
          cyperghostC 1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost @Clyde
            last edited by

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

            ClydeC 1 Reply Last reply Reply Quote 0
            • ClydeC
              Clyde @cyperghost
              last edited by

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

              ClydeC 1 Reply Last reply Reply Quote 0
              • ClydeC
                Clyde @Clyde
                last edited by

                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

                  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 Reply Quote 0
                  • rafakidR
                    rafakid @rafakid
                    last edited by

                    @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

                      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"

                      ClydeC 1 Reply Last reply Reply Quote 1
                      • ClydeC
                        Clyde @KimaRo
                        last edited by

                        @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 Reply Quote 0
                        • K
                          KimaRo @Clyde
                          last edited by

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

                          ClydeC 1 Reply Last reply Reply Quote 1
                          • ClydeC
                            Clyde @KimaRo
                            last edited by

                            @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

                              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 Reply Quote 0
                              • ExarKunIvE
                                ExarKunIv @iwanttobefreak
                                last edited by

                                @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 Reply Quote 0
                                • I
                                  iwanttobefreak @ExarKunIv
                                  last edited by

                                  @exarkuniv Thank you! It works.
                                  I have changed php version 7.1 to 7.4 in INSTALL.sh
                                  Thank you!

                                  1 Reply Last reply Reply Quote 1
                                  • 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.