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

    RetroPie-Manager web app (Recalbox-Manager fork/mod)

    Scheduled Pinned Locked Moved Ideas and Development
    89 Posts 15 Posters 57.7k 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.
    • BuZzB
      BuZz administrators
      last edited by

      the install issue is different from that error. I am looking into that.

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        The previous module installed the requisites system wide afair, and I changed it to not do this but to install correctly just in the install folder. I missed the fact that the rpmanager.sh doesn't initialise the python virtualenv - it will need the addition to do this.

        source /opt/retropie/supplementary/retropie-manager/bin/activate before running. I'll fork it and do the code and submit a PR.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 1
        • BuZzB
          BuZz administrators
          last edited by

          I don't have more time to do this right now, so I will look further in a bit (unless someone else wants to have a go). I missed this when I converted the module, as it had already installed the requirements system wide. As this is a retropie module we want to be able to "remove" I changed that so it just needs adjusting to work via the virtualenv.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by BuZz

            Sorry, my mistake, the env was ok - I just thought it wasn't due to my debugging.

            Looks like django security is at play in the current version

            following changes sort it for me (to access via http://retropie:8000/)

            see - https://docs.djangoproject.com/en/1.10/ref/settings/

            Changed in Django 1.10.3:
            In older versions, ALLOWED_HOSTS wasn’t checked if DEBUG=True. This was also changed in Django 1.9.11 and 1.8.16 to prevent a DNS rebinding attack.

            and we use django 1.8.16 now.

            so we will need to put the retropie name in here.

            --- a/project/settings.py
            +++ b/project/settings.py
            @@ -39,7 +39,7 @@ SECRET_KEY = '(_0!&^^xekahfp=s5(9+^wlq6gvn6z90%i*p+wn^4ir+mvl4lx'
             # SECURITY WARNING: don't run with debug turned on in production!
             DEBUG = True
             
            -ALLOWED_HOSTS = []
            +ALLOWED_HOSTS = ['retropie']
             
             
             # Application definition
            

            there may be a way to disable this check also.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 1
            • D
              detron
              last edited by

              I appreciate the hard work that the people behind the scenes of RetroPie put into fixing issues.
              I was just coming here to ask what I was doing wrong, but see others already had mentioned the same issue, and the fix is on the way!

              bravo!

              1 Reply Last reply Reply Quote 0
              • meleuM
                meleu
                last edited by

                I've just fixed the settings.py, but I used ALLOWED_HOSTS = ['*']. It worked well in my tests.

                Please update your retropie-manager and let me know if it stills happening.

                Thanks BuZz for pointing the reason of the problem.

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 1
                • L
                  larryd85
                  last edited by

                  yup, i can connect now. thanks for the great tool!

                  1 Reply Last reply Reply Quote 1
                  • BuZzB
                    BuZz administrators
                    last edited by

                    Cheers!

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • R
                      robertybob
                      last edited by

                      Thanks guys, I'll get onto my Pi tomorrow night and reinstall this :)

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        robertybob @robertybob
                        last edited by

                        Finally got around to trying this out, OMG it's amazing! Such a great tool for noobs that I think it should be enabled by default (or at least installed by default and the option to enable isn't buried deep within the Setup Scipt).

                        meleuM 1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @robertybob
                          last edited by

                          @robertybob Unfortunately the development seems to be dead. @Botolo is the guy that forked it from recalbox and was playing with the code. Currently he seems to be busy and doesn't appear around here.

                          I contributed with testing, wrote the rpmanager.sh and finished the scriptmodule started by @herb_fargus .

                          RetroPie-manager has some limitations/bugs/issues and unfortunately I'm not able to code web/python/Django stuff to improve it. @Botolo gave me access to the repository when it started and I was able to fix this recent ALLOWED_HOSTS issue. Otherwise we would have to abandon (or fork) the retropie-manager.

                          Well... I told this story to justify my opinion that RetroPie-manager should stay at experimental packages. Because it is indeed experimental.

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          1 Reply Last reply Reply Quote 0
                          • meleuM
                            meleu
                            last edited by

                            By the way: @fechy started a similar tool from scratch. Look this topic: https://retropie.org.uk/forum/topic/4627/retropie-web-gui

                            It has less features, but at least the development can be more active if he receive users feedback.

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            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.