• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 55.5k 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.
  • B
    BuZz administrators
    last edited by 6 Nov 2016, 23:01

    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
    • B
      BuZz administrators
      last edited by 6 Nov 2016, 23:07

      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
      • B
        BuZz administrators
        last edited by BuZz 11 Jun 2016, 23:21 6 Nov 2016, 23:19

        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 7 Nov 2016, 01:21

          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
          • M
            meleu
            last edited by 7 Nov 2016, 02:46

            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 7 Nov 2016, 03:11

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

              1 Reply Last reply Reply Quote 1
              • B
                BuZz administrators
                last edited by 7 Nov 2016, 07:09

                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 7 Nov 2016, 11:05

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

                  R 1 Reply Last reply 13 Nov 2016, 00:45 Reply Quote 0
                  • R
                    robertybob @robertybob
                    last edited by 13 Nov 2016, 00:45

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

                    M 1 Reply Last reply 13 Nov 2016, 02:56 Reply Quote 0
                    • M
                      meleu @robertybob
                      last edited by 13 Nov 2016, 02:56

                      @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
                      • M
                        meleu
                        last edited by 13 Nov 2016, 03:02

                        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
                        88 out of 89
                        • First post
                          88/89
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received