RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Q: Installing retropie on Openmediavault + Pi hole

    Scheduled Pinned Locked Moved Help and Support
    pi-holeomv
    10 Posts 2 Posters 2.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.
    • P
      Perseides
      last edited by

      Hello, fairly new with raspberry OS (or linux in general). I have a raspberry Pi 4 with Raspberry OS Lite installed + open media vault. I also have a Pi-hole running via docker.

      Is there any problem if I'd installed the Retro pie based on the guide? (https://retropie.org.uk/docs/Debian/).

      I'm worried that with so many things installed, I might break something if I just blindly follow the guide.
      Is there anything that I need to pay attention to?

      1 Reply Last reply Reply Quote 0
      • P
        Perseides
        last edited by Perseides

        Hello, I went ahead and install the retropie and faced a few problems.

        1/ Setting up the locale. I can't seem to generate en_US.UTF-8 locale? It kept changing to en_GB.UTF-8.
        Even I'd for it to generate US locale via command: sudo locale-gen "en_US.UTF-8", it generated en_GB.UTF-8?? I know one is US English while the other is UK English, but does it matters?
        (default locale was C.UTF-8 IIRC).

        2/ Installing retropie with basic installation causes the error: Unable to connect to the internet..? I'm quite sure the Pi has access to the internet as I was able to update just prior to this and the Pi-hole is still working (my internet on other devices are not down).

        7bc15cfa-74f9-41fa-8c5f-385640380652-image.png

        Update: referring to this post:
        https://retropie.org.uk/forum/topic/26957/retropie-installer-does-not-connect-to-internet/15
        "checks if the Google's DNS IPs are routable from the Pi (8.8.8.8 for instance) and if that fails, it considers there is no internet available."
        So it seems like I have to shut down my router routing my DNS to Pi-hole in order for the installation to work?

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @Perseides
          last edited by

          @perseides said in Q: Installing retropie on Openmediavault + Pi hole:

          So it seems like I have to shut down my router routing my DNS to Pi-hole in order for the installation to work?

          No, no actual connection is made - you can use whatever DNS you wish. What's the output of the command ?

          ip -4 route get 8.8.8.8
          
          P 1 Reply Last reply Reply Quote 0
          • P
            Perseides @mitu
            last edited by

            @mitu

            Output: 8.8.8.8 via 192.168.1.1 dev eth0 src 192.168.1.10 uid 100 cache

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Perseides
              last edited by mitu

              @perseides Is the correct IP of your Pi shown when you open the Show IP Address entry in the RetroPie system ?

              EDIT: what does ip addr show outputs (you can remove the private IPs if you want to leave them out) ?

              EDIT2: you can also enable debugging for the installed and post the latest log (from $HOME/RetroPie-Setup/logs) to pastebin.com. Run the setup with __debug=1:

              sudo __debug=1 ./retropie_setup.sh
              
              1 Reply Last reply Reply Quote 0
              • P
                Perseides
                last edited by

                @mitu said in Q: Installing retropie on Openmediavault + Pi hole:

                ip addr show

                Thanks for your assistance.

                The ip addr show and the log of the debug installation is here: https://pastebin.com/25xjTaqq

                Note: I'm not sure if I'd copied the log correctly. I did it by using the command zcat (google search). Please tell me if I'd did anything wrong.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Perseides
                  last edited by

                  @perseides I think you're experiencing the same timeout as in this topic.

                  + curl --max-time 5 -o /dev/null -sfI https://files.retropie.org.uk/binaries/buster/rpi4/kms/libretrocores/lr-picodrive.tar.gz
                  + ret=28
                  + [[ 28 -eq 0 ]]
                  + [[ 28 -eq 22 ]]
                  + return 2
                  + ret=2
                  + [[ 2 -ne 2 ]]
                  + return 2
                  + local ret=2
                  + [[ 2 -eq 0 ]]
                  + [[ 2 -eq 2 ]]
                  + has_net=0
                  + [[ 0 -eq 0 ]]
                  + __ERRMSGS+=("Can't install/update $md_id - unable to connect to the internet")
                  

                  It takes more than 5sec to make a HEAD request to the RetroPie's server. You can check by running

                  time curl --max-time 5 -sfI https://files.retropie.org.uk/binaries/buster/rpi3/libretrocores/lr-tyrquake.tar.gz
                  
                  time curl -sfI https://files.retropie.org.uk/binaries/buster/rpi3/libretrocores/lr-tyrquake.tar.gz
                  

                  and then adjust the timeout (temporarily) until we come up with a better solution.

                  What internet connection do you have ?

                  1 Reply Last reply Reply Quote 0
                  • P
                    Perseides
                    last edited by Perseides

                    You are right on target!! Thanks a lot!
                    2cd1fe59-bd4c-4ffd-808e-73901a6fb2db-image.png

                    I'm running on fiber with 100mbps up 50 mbps down, but I know my country's connection to Europe or US server had been in the sh*thole for the past few weeks, to the extend it impacted my work. (I'm in SEA).

                    Thanks for the information.
                    Can I ask how do i modify the package.sh? Is there a guide?
                    I'd edited the file and hopefully this solves the issue. Will update.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Perseides
                      last edited by

                      @perseides said in Q: Installing retropie on Openmediavault + Pi hole:

                      Can I ask how do i modify the package.sh? Is there a guide?

                      Just use a regular text editor (for instance nano) to make the modification. The file is in $HOME/RetroPie-Setup/scriptmodules/packages.sh and this is the line that needs to be modified (5 replaced with 6).

                      1 Reply Last reply Reply Quote 0
                      • P
                        Perseides
                        last edited by

                        Thanks. I'd completed the installation it without issue.

                        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.