Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron Install fails.

Cloudron Install fails.

Scheduled Pinned Locked Moved Solved Support
installation
13 Posts 5 Posters 2.2k Views 5 Watching
  • 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.
    • M Offline
      M Offline
      Mastadamus
      wrote on last edited by girish
      #1

      Ubuntu 20.04 LTS fresh build. I am trying to rebuild my cloudron on a new server which I will then restore from backup .

      I keep getting to the spot where it downloads containers then I get the following error message:

      for image in ${images}; do
      docker pull "${image}"
      docker pull "${image%@sha256:}" # this will tag the image for readability
      done
      Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
      "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolutionfor image in ${images}; do
      docker pull "${image}"
      docker pull "${image%@sha256:
      }" # this will tag the image for readability
      done
      Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
      "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution

      I can curl "https"//registry-1.docker.io/v2/ from the CLI after the script fails and it returns:

      {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

      So this makes me think name resolution is good?

      Any help?

      girishG 1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        once it failed, are you able to resolve registry-1.docker.io ? You can run host registry-1.docker.io via SSH to check this. If this is not working, then check systemctl status unbound which is the local DNS resolver Cloudron is installing.

        M 1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon

          once it failed, are you able to resolve registry-1.docker.io ? You can run host registry-1.docker.io via SSH to check this. If this is not working, then check systemctl status unbound which is the local DNS resolver Cloudron is installing.

          M Offline
          M Offline
          Mastadamus
          wrote on last edited by
          #3

          @nebulon I could resolve it.

          I ran the install script again with --redo and it worked.

          1 Reply Last reply
          0
          • nebulonN nebulon has marked this topic as solved on
          • M Mastadamus

            Ubuntu 20.04 LTS fresh build. I am trying to rebuild my cloudron on a new server which I will then restore from backup .

            I keep getting to the spot where it downloads containers then I get the following error message:

            for image in ${images}; do
            docker pull "${image}"
            docker pull "${image%@sha256:}" # this will tag the image for readability
            done
            Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
            "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolutionfor image in ${images}; do
            docker pull "${image}"
            docker pull "${image%@sha256:
            }" # this will tag the image for readability
            done
            Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
            "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution

            I can curl "https"//registry-1.docker.io/v2/ from the CLI after the script fails and it returns:

            {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

            So this makes me think name resolution is good?

            Any help?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @Mastadamus Can you tell me a bit more about your server? It is on a VPS (if so, which one) or is it on a home network?

            The --redo is just a workaround for the moment, I am trying to get to the root cause.

            robiR M 2 Replies Last reply
            0
            • girishG girish

              @Mastadamus Can you tell me a bit more about your server? It is on a VPS (if so, which one) or is it on a home network?

              The --redo is just a workaround for the moment, I am trying to get to the root cause.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              @girish looks like it's flaky DNS.

              Perhaps you need to have the install script prime all the DNS names referenced in the script?

              Or set a specific DNS server for the duration of the install?

              Or check that all DNS download locations are reachable before continuing?

              Conscious tech

              girishG 1 Reply Last reply
              0
              • robiR robi

                @girish looks like it's flaky DNS.

                Perhaps you need to have the install script prime all the DNS names referenced in the script?

                Or set a specific DNS server for the duration of the install?

                Or check that all DNS download locations are reachable before continuing?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @robi initially, I thought it was flaky DNS too. But I think this is almost like the 5th bug report of the same kind on different networks which makes me think there is something wrong in our install script. I think something about installing unbound+resolvconf makes things go down for a short while (this is why --redo works later).

                robiR 1 Reply Last reply
                0
                • girishG girish

                  @robi initially, I thought it was flaky DNS too. But I think this is almost like the 5th bug report of the same kind on different networks which makes me think there is something wrong in our install script. I think something about installing unbound+resolvconf makes things go down for a short while (this is why --redo works later).

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #7

                  @girish ah, maybe it's a sequencing issue, do the unbound install after the downloads?

                  Conscious tech

                  1 Reply Last reply
                  0
                  • girishG girish

                    @Mastadamus Can you tell me a bit more about your server? It is on a VPS (if so, which one) or is it on a home network?

                    The --redo is just a workaround for the moment, I am trying to get to the root cause.

                    M Offline
                    M Offline
                    Mastadamus
                    wrote on last edited by
                    #8

                    @girish home network. Same home network as the previous cloudron which is still working

                    girishG 1 Reply Last reply
                    0
                    • M Mastadamus

                      @girish home network. Same home network as the previous cloudron which is still working

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @Mastadamus Once installed, it's all good. this is just a one time install issue.

                      M 1 Reply Last reply
                      0
                      • girishG girish

                        @Mastadamus Once installed, it's all good. this is just a one time install issue.

                        M Offline
                        M Offline
                        Mastadamus
                        wrote on last edited by
                        #10

                        @girish yeah it seems to be working great now. Also kudos to your migration process. Restoring from backup was not 2 bad

                        1 Reply Last reply
                        1
                        • D Offline
                          D Offline
                          DadsHockeyLife
                          wrote on last edited by
                          #11

                          I had this same issued today as I tried to install on a fresh Ubuntu Server install (20.04). The fix I found was this....

                          https://appuals.com/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock/

                          I use Termius for terminals, so while the original install was running, I opened a new terminal to the server and ran the following commands....

                          sudo systemctl unmask docker
                          systemctl start docker

                          I then went back to the install (log) window and BAM! It was installing like a champ. I might have to do the --redo command, but I'll check after it's done installing.

                          Hope this helps someone...Cheers!

                          girishG 1 Reply Last reply
                          1
                          • D DadsHockeyLife

                            I had this same issued today as I tried to install on a fresh Ubuntu Server install (20.04). The fix I found was this....

                            https://appuals.com/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock/

                            I use Termius for terminals, so while the original install was running, I opened a new terminal to the server and ran the following commands....

                            sudo systemctl unmask docker
                            systemctl start docker

                            I then went back to the install (log) window and BAM! It was installing like a champ. I might have to do the --redo command, but I'll check after it's done installing.

                            Hope this helps someone...Cheers!

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #12

                            @DadsHockeyLife Which VPS provider are you using?

                            D 1 Reply Last reply
                            0
                            • girishG girish

                              @DadsHockeyLife Which VPS provider are you using?

                              D Offline
                              D Offline
                              DadsHockeyLife
                              wrote on last edited by DadsHockeyLife
                              #13

                              @girish I'm not. I'm self hosting. It's running on a Ubuntu 20.04 Server install on a Synology 1517+ with Intel Processor. It's got 4 Cores and 6GB of memory for now.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search