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.1k 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.
    • R
      robertybob
      last edited by

      Has anyone tried to run this lately? I've just installed this and am getting an error:

      "A server error occurred, please contact the administrator."

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

        @robertybob did you installed using the RetroPie-Setup? If yes, can you paste the log somewhere? (I like ghostbin.com for pasting long files).

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

          I have the exact same issue

          "A server error occurred, please contact the administrator."

          I have installed it via the RetroPie Setup

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

            I will look into it

            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 @meleu
              last edited by

              @meleu Sorry to come across like an idiot, but which log?

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

                @robertybob look at your /home/pi/RetroPie-Setup/logs/ ;-)
                The RetroPie-Setup logs are named as rps_TIME_STAMP.log.gz and are gziped, but you can read it with the zless command.

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

                  @meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):

                  /home/pi/RetroPie-Setup/logs/

                  i am running into the same problem
                  here is my log from trying to update the package through the retropie setup

                  http://pastebin.com/ZJv8UTFT

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

                    Did you have it installed before? If so please try removing then re-installing as I changed the module install method which is incompatible with the old one when it was first added. I've not had a chance to look yet though if there is another issue.

                    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

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

                      Installed fine here (and updated fine after). I suspect you just need to remove and reinstall - then it should be good for future upgrades.

                      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
                      • L
                        larryd85 @BuZz
                        last edited by

                        @BuZz i removed the package and then reinstalled it, here is the log from re-installing.
                        http://pastebin.com/UQcH4rkc
                        i still get "A server error occurred. Please contact the administrator." when i try to connect through chrome

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