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

    WebtroPie

    Scheduled Pinned Locked Moved Projects and Themes
    retropieweb interfacewebtropie
    157 Posts 27 Posters 67.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 @FlightRisk
      last edited by

      @flightrisk said in WebtroPie:

      Does the standard Retropie image come with Apache installed?

      I don't know, but you can look if a package is installed by this command:

      dpkg -s apache2  # shows if the package "apache2" is installed.
      

      And how many bytes does webtropie take up on my sdcard?

      Alas, that I also don't know.

      FlightRiskF 1 Reply Last reply Reply Quote 0
      • K
        kixut
        last edited by kixut

        Hi, Webtropie itself is about 1 or 2 Mb when installed, the zipped release is 172 Kb.

        If you git clone the development version it will be approx 11 Mb which is mostly the source code repo in the .git directory.

        I'm not sure how comprehensive below is but these are the rough sizes of apache php directories on my pi

        du -sh /usr/lib/apache2 /usr/share/apache2 /usr/share/php5 /usr/sbin/apache*
        11M /usr/lib/apache2
        1.7M /usr/share/apache2
        276K /usr/share/php5
        500K /usr/sbin/apache2
        8.0K /usr/sbin/apache2ctl
        0 /usr/sbin/apachectl

        maybe there are other doc, man pages etc that I've missed but all in all it's tiny compared to roms and themes and maybe even smaller than some single theme or game images. Putting it into perspective the release image size is smaller than the tiny fav icon on this website.

        I'm sorry if I have broken the dev version and have not been very attentive to the project lately I will have a look at this, in the meantime the release version is available and working.

        Edit: correction the 3 fav icons here are 55Kb in total :)

        FlightRiskF 1 Reply Last reply Reply Quote 1
        • FlightRiskF
          FlightRisk @Clyde
          last edited by

          @clyde I don't think the standard RetroPie images come with apache since that is what I downloaded and the dpkg command came up empty

          1 Reply Last reply Reply Quote 0
          • FlightRiskF
            FlightRisk @kixut
            last edited by FlightRisk

            @kixut Thank you for the amazing work on this. Could there be an easier way to install and update the stable release? The development release is 3 easy to type commands. To get the stable release, you pretty much have to copy and past the text since it is a lot to type and uses grep type code. One missing space and it won't work.

            And lastly, do I need a static IP? I figure I can find the IP assigned by DHCP each time it changes, or just use http://retropie.local/app. Not sure what makes the most sense. The last method seems to work fine.

            K 1 Reply Last reply Reply Quote 0
            • K
              kixut @FlightRisk
              last edited by kixut

              @flightrisk thanks very much

              I guess below is about as small as it can be but requires you to know what the latest release version is, I haven't tested it but I think it should work

              wget -nc https://github.com/gazpan/WebtroPie/archive/0.9.1.tar.gz | tar xvz
              cd WebtroPie-0.9.1
              sudo ./INSTALL.sh
              

              @jwcbronski by the way, I have posted changes regarding the carousel but am unsure if it has resolved the issue above as I have not been able to reproduce the error or confirm the fix yet.

              Edit. I agree though, I think I'll update the wiki https://github.com/gazpan/WebtroPie/wiki/Installation-and-Files-altered#install as above

              1 Reply Last reply Reply Quote 1
              • J
                jwcbronski
                last edited by

                @kixut The update didn't solve my problem. I noticed that all games are marked as "new:" when I use the "SCAN NEW GAMES AT START SETTING". So it looks like the roms are found but the gamelists are not read.

                K 1 Reply Last reply Reply Quote 0
                • K
                  kixut @jwcbronski
                  last edited by

                  @jwcbronski , sorry, can you try again please?
                  thanks

                  1 Reply Last reply Reply Quote 0
                  • J
                    jwcbronski
                    last edited by

                    @kixut Now it's working again. Thanks.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jwcbronski
                      last edited by

                      @kixut I still got an issue: roms are only found when there is just the filename in the gamelists <path> tag. When there is a full path like "/home/pi/RetroPie/roms/c64/" the rom is not found and show as NEW:

                      1 Reply Last reply Reply Quote 0
                      • K
                        kixut
                        last edited by

                        Note: For stretch users, since PHP 5 is obsolete on stretch I've changed the INSTALL.sh to use PHP 7, ... this should be working now.

                        1 Reply Last reply Reply Quote 0
                        • J
                          jwcbronski
                          last edited by

                          @kixut When I try to install WebtroPie on stretch under apache I get the following errors:

                          cp: cannot stat '/var/www/html/index.html': No such file or directory
                          cp: cannot create regular file '/var/www/html/index.html': No such file or directory

                          Looks like the apache server is not installed.

                          1 Reply Last reply Reply Quote 0
                          • E
                            EctoOne
                            last edited by

                            Just a quick question, is the fixed <thumbnail> tag supported? That's the one where you can specify an image that will appear before a video is played (if the theme has a set delay and the option active). If no thumbnail is specified it will use the normal <image>.

                            1 Reply Last reply Reply Quote 0
                            • EvertE
                              Evert
                              last edited by Evert

                              @kixut this is awesome. WebtroPie was only pointed out to me yesterday by mitu and I love it.

                              I am however having an issue. I am able to log on and see all the things I should see, but I am unable to save any changes. After making a change and clicking on the save button, it appears to be all good. When I then refresh the web page, all the changes have been reverted to the original.
                              I am also not able to add a picture. selecting it does nothing and drag and drop gives me a X icon as a picture. I tried manually closing ES on the Pi and then trying again, but I have the issue.

                              Is it also possible to hide the missing roms from the list? The ones highlighted in red? I know they are missing and that's because I don't want them. It would be nice to be able to toggle this feature on and off. Thanks.

                              My Transformer Arcade Cabinet
                              https://retropie.org.uk/forum/topic/8658/my-transformers-arcade-cabinet

                              1 Reply Last reply Reply Quote 0
                              • M
                                morenr1
                                last edited by morenr1

                                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

                                M 2 Replies Last reply Reply Quote 0
                                • S
                                  steptoe
                                  last edited by

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

                                    @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

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        morenr1 @morenr1
                                        last edited by

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

                                          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
                                          • cyperghostC
                                            cyperghost
                                            last edited by cyperghost

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

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