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. Cannot install Cloudron on Ubuntu 22.04 (DNS Issue)

Cannot install Cloudron on Ubuntu 22.04 (DNS Issue)

Scheduled Pinned Locked Moved Solved Support
helpinstall
17 Posts 7 Posters 2.3k Views 7 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.
  • U UndergroundGoose

    Hello,

    Everytime I try to install Cloudron with:

    wget https://cloudron.io/cloudron-setup
    chmod +x cloudron-setup
    ./cloudron-setup
    

    It will not work and break the whole DNS of the machine so that updating, browsing etc does not work anymore.
    I tried on different versions of ubuntu but I get the same issue.

    Cloudron Log:
    https://pastebin.com/5LtvgTPj

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #2

    @UndergroundGoose said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

    It will not work and break the whole DNS of the machine so that updating, browsing etc does not work anymore.

    🤔

    This kinda sounds like you're trying to install Cloudron on an machine that already has stuff installed on it? and/ or are trying to install it on the Desktop version of Ubuntu?

    If so, that's not supported.

    You have to "Create a fresh Ubuntu Jammy 22.04 x64 server " and then run those commands.

    I use Cloudron with Gandi & Hetzner

    U 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      @UndergroundGoose said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

      It will not work and break the whole DNS of the machine so that updating, browsing etc does not work anymore.

      🤔

      This kinda sounds like you're trying to install Cloudron on an machine that already has stuff installed on it? and/ or are trying to install it on the Desktop version of Ubuntu?

      If so, that's not supported.

      You have to "Create a fresh Ubuntu Jammy 22.04 x64 server " and then run those commands.

      U Offline
      U Offline
      UndergroundGoose
      wrote on last edited by
      #3

      @jdaviescoates I use a freshly created Ubuntu 22.04 Server VM.

      1 Reply Last reply
      1
      • scookeS Offline
        scookeS Offline
        scooke
        wrote on last edited by scooke
        #4

        The logs show that one of the items needing to be installed can't be because the repository being queried can't be found or connected to (nl.archive.ubuntu.com). I would try installing just those pieces of software that need that repository by using another mirror, by hand - libgdk-pixbuf2.0-bin, libgdk-pixbuf2.0-common, and libnotify4. I say this because sometimes, I found, installing individual items somehow lets the OS pick and choose better from which repository from which it installs. So if you can get these 3 installed separately, the Cloudron install will find them, skip it's own installation, and keep going.

        If that fails, and it very well could, it's due to the connectivity problems. Try simply restarting the VPS, then redo. If it fails again, try running apt-get update to make sure all sources are available. Then try installing again. If still it fails, read https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error, specifically :

        First, temporarily add a known DNS server to your system.
        
        echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
        Then run sudo apt-get update.
        
        If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
        
        echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null
        8.8.8.8 is Google's own DNS server.
        

        This link deals with similar DNS resolver issues: https://serverfault.com/questions/386918/apt-get-cannot-connect-failure-resolving-archive-ubuntu-com

        If you are trying to install on a homeserver, or a VM on a non-server computer at home.. then good luck. The best and most straightforward way of installing Cloudron is to use a "fresh Ubuntu Jammy 22.04 x64 server". There are LOTS of affordable hosts out there that sell the exact VPS you need (search this forum for suggestions).

        A life lived in fear is a life half-lived

        U 1 Reply Last reply
        2
        • U UndergroundGoose

          Hello,

          Everytime I try to install Cloudron with:

          wget https://cloudron.io/cloudron-setup
          chmod +x cloudron-setup
          ./cloudron-setup
          

          It will not work and break the whole DNS of the machine so that updating, browsing etc does not work anymore.
          I tried on different versions of ubuntu but I get the same issue.

          Cloudron Log:
          https://pastebin.com/5LtvgTPj

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

          @UndergroundGoose what is the default DNS setup in your VM ? If this is a public VPS provider, we can test it out there ourselves as well. If this is a private VM, does it allow DNS queries (UDP port 53) ?

          U 1 Reply Last reply
          0
          • girishG girish

            @UndergroundGoose what is the default DNS setup in your VM ? If this is a public VPS provider, we can test it out there ourselves as well. If this is a private VM, does it allow DNS queries (UDP port 53) ?

            U Offline
            U Offline
            UndergroundGoose
            wrote on last edited by
            #6

            @girish its selfhosted. I just use a fresh install with all settings default. Never had a problem like this until I tried the cloudron install

            1 Reply Last reply
            0
            • scookeS scooke

              The logs show that one of the items needing to be installed can't be because the repository being queried can't be found or connected to (nl.archive.ubuntu.com). I would try installing just those pieces of software that need that repository by using another mirror, by hand - libgdk-pixbuf2.0-bin, libgdk-pixbuf2.0-common, and libnotify4. I say this because sometimes, I found, installing individual items somehow lets the OS pick and choose better from which repository from which it installs. So if you can get these 3 installed separately, the Cloudron install will find them, skip it's own installation, and keep going.

              If that fails, and it very well could, it's due to the connectivity problems. Try simply restarting the VPS, then redo. If it fails again, try running apt-get update to make sure all sources are available. Then try installing again. If still it fails, read https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error, specifically :

              First, temporarily add a known DNS server to your system.
              
              echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
              Then run sudo apt-get update.
              
              If this fixes your temporary resolving messages then either wait for 24 hours to see if your ISP fixes the issue for you (or just contact your ISP) - or you can permanently add a DNS server to your system:
              
              echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null
              8.8.8.8 is Google's own DNS server.
              

              This link deals with similar DNS resolver issues: https://serverfault.com/questions/386918/apt-get-cannot-connect-failure-resolving-archive-ubuntu-com

              If you are trying to install on a homeserver, or a VM on a non-server computer at home.. then good luck. The best and most straightforward way of installing Cloudron is to use a "fresh Ubuntu Jammy 22.04 x64 server". There are LOTS of affordable hosts out there that sell the exact VPS you need (search this forum for suggestions).

              U Offline
              U Offline
              UndergroundGoose
              wrote on last edited by
              #7

              @scooke Let me try these possible solutions, thanks!

              1 Reply Last reply
              0
              • A Offline
                A Offline
                adhodgson
                wrote on last edited by
                #8

                Hi.

                I had a similar issue running this on my home lab setup when I was testing out Cloudron before I put it in my VPS. I diagnosed the issue because I was funneling all traffic through my own DNS server and blocking all outbound DNS queries using a firewall. From what I could see the default Ubuntu Unbound setup makes the system act as a recursive DNS server on 127.0.0.1 using root hints and the system's default resolution uses this server. I may be completely off the ball with this but this was what I was seeing back in November.

                Andrew.

                1 Reply Last reply
                2
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  @adhodgson your analysis is correct. Cloudron uses unbound as the DNS server. DNS is resolved recursively from the Cloudron server itself.

                  To customize how unbound works, please see https://docs.cloudron.io/networking/#private-dns

                  1 Reply Last reply
                  1
                  • X Offline
                    X Offline
                    xeoncube
                    wrote on last edited by
                    #10

                    @UndergroundGoose have you had any luck at all? I have found that Cloudron will 100% not install on a fresh install of Ubuntu 22.04 LTS, even when one installs the libgdk packages before using the installation script. I have no blocking on DNS or anything else in my env that would be restricting DNS. Anyone have any other suggestions we may be able to try?

                    Thanks again!

                    jdaviescoatesJ girishG 2 Replies Last reply
                    1
                    • X xeoncube

                      @UndergroundGoose have you had any luck at all? I have found that Cloudron will 100% not install on a fresh install of Ubuntu 22.04 LTS, even when one installs the libgdk packages before using the installation script. I have no blocking on DNS or anything else in my env that would be restricting DNS. Anyone have any other suggestions we may be able to try?

                      Thanks again!

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #11

                      @xeoncube said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

                      I have found that Cloudron will 100% not install on a fresh install of Ubuntu 22.04 LTS

                      I very easily installed it on a fresh Ubuntu 22.04 LTS just yesterday (on Hetzner Cloud), so there must be some issue that is relatively unique to your set-up.

                      I use Cloudron with Gandi & Hetzner

                      scookeS 1 Reply Last reply
                      0
                      • X xeoncube

                        @UndergroundGoose have you had any luck at all? I have found that Cloudron will 100% not install on a fresh install of Ubuntu 22.04 LTS, even when one installs the libgdk packages before using the installation script. I have no blocking on DNS or anything else in my env that would be restricting DNS. Anyone have any other suggestions we may be able to try?

                        Thanks again!

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

                        @xeoncube if we can access your setup, we can debug this to figure the root cause. Can you write to support@cloudron.io please?

                        Cloudron is tested on most VPS providers with Ubuntu 22.04 and Ubuntu 20.04

                        1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

                          @xeoncube said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

                          I have found that Cloudron will 100% not install on a fresh install of Ubuntu 22.04 LTS

                          I very easily installed it on a fresh Ubuntu 22.04 LTS just yesterday (on Hetzner Cloud), so there must be some issue that is relatively unique to your set-up.

                          scookeS Offline
                          scookeS Offline
                          scooke
                          wrote on last edited by
                          #13

                          @jdaviescoates I also installed incredibly and unbelievably easy on a fresh Ubuntu 22.04 LTS. But I've also used enough different hosts to know that not all them offer the same standard Ubuntu. Clearly @UndergroundGoose signed up with one of those.

                          A life lived in fear is a life half-lived

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • scookeS scooke

                            @jdaviescoates I also installed incredibly and unbelievably easy on a fresh Ubuntu 22.04 LTS. But I've also used enough different hosts to know that not all them offer the same standard Ubuntu. Clearly @UndergroundGoose signed up with one of those.

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #14

                            @scooke yeah, eg Netcup who by default install Debian and their standard Ubunutu image is a useless (for Cloudron) minimised version of Ubuntu. On Netcup you have to attach their DVD of full Ubuntu and then use their VNC client to install it. It's a pain. And their VPS servers don't support AVX either, so I had to stop using them anyway. /end Netcup rant

                            I use Cloudron with Gandi & Hetzner

                            imc67I 1 Reply Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

                              @scooke yeah, eg Netcup who by default install Debian and their standard Ubunutu image is a useless (for Cloudron) minimised version of Ubuntu. On Netcup you have to attach their DVD of full Ubuntu and then use their VNC client to install it. It's a pain. And their VPS servers don't support AVX either, so I had to stop using them anyway. /end Netcup rant

                              imc67I Offline
                              imc67I Offline
                              imc67
                              translator
                              wrote on last edited by
                              #15

                              @jdaviescoates said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

                              their standard Ubunutu image is a useless (for Cloudron) minimised version of Ubuntu. On Netcup you have to attach their DVD of full Ubuntu and then use their VNC client to install it. It's a pain. And their VPS servers don't support AVX either

                              I recently installed on a NetCup RS Ubuntu minimal and with Cloudron (and Netdata 😉 ) and had no single issue! Also AVX and AVX2 is supported!

                              Keep an eye on https://www.netcup-sonderangebote.de this week they had a nice offer:

                              RS 1000 G9.5 SE RG23
                              ab 9,89 Euro / Monat
                                
                              Stückzahl begrenzt
                              Verfügbar in Wien & Nürnberg
                              4 dedizierte Kerne
                              8 GB DDR4 RAM
                              320 GB SSD
                              AMD EPYC™ 7702
                              

                              or

                              RS 4000 G9.5 SE RG23
                              ab 31,88 Euro / Monat
                                
                              Stückzahl begrenzt
                              Verfügbar in Wien & Nürnberg
                              10 dedizierte Kerne
                              32 GB DDR4 RAM
                              2 TB SSD
                              AMD EPYC™ 7702
                              
                              jdaviescoatesJ 1 Reply Last reply
                              0
                              • X Offline
                                X Offline
                                xeoncube
                                wrote on last edited by
                                #16

                                @scooke Agreed, on a Linode server, Cloudron installs and deploys like a dream, fantastic stuff! As you said earlier (which i should have heeded) many of the cloud providers offer images that work very well and are super easy. However, I am trying to install this on my own server in my co-lo. My bad for not specifying that earlier.

                                @jdaviescoates I will give the full DVD a shot next, thanks!!

                                1 Reply Last reply
                                1
                                • imc67I imc67

                                  @jdaviescoates said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

                                  their standard Ubunutu image is a useless (for Cloudron) minimised version of Ubuntu. On Netcup you have to attach their DVD of full Ubuntu and then use their VNC client to install it. It's a pain. And their VPS servers don't support AVX either

                                  I recently installed on a NetCup RS Ubuntu minimal and with Cloudron (and Netdata 😉 ) and had no single issue! Also AVX and AVX2 is supported!

                                  Keep an eye on https://www.netcup-sonderangebote.de this week they had a nice offer:

                                  RS 1000 G9.5 SE RG23
                                  ab 9,89 Euro / Monat
                                    
                                  Stückzahl begrenzt
                                  Verfügbar in Wien & Nürnberg
                                  4 dedizierte Kerne
                                  8 GB DDR4 RAM
                                  320 GB SSD
                                  AMD EPYC™ 7702
                                  

                                  or

                                  RS 4000 G9.5 SE RG23
                                  ab 31,88 Euro / Monat
                                    
                                  Stückzahl begrenzt
                                  Verfügbar in Wien & Nürnberg
                                  10 dedizierte Kerne
                                  32 GB DDR4 RAM
                                  2 TB SSD
                                  AMD EPYC™ 7702
                                  
                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #17

                                  @imc67 said in Cannot install Cloudron on Ubuntu 22.04 (DNS Issue):

                                  I recently installed on a NetCup RS Ubuntu minimal and with Cloudron (and Netdata 😉 ) and had no single issue! Also AVX and AVX2 is supported!

                                  Yeah, fair point, their more expensive RS (Root Server, as they call them, although they aren't dedicated but virtualised) product line works fine (I was on one until I upgraded to a dedicated server at Hetzner)

                                  It's the cheaper vServer (VPS) product range which are currently useless for Cloudron.

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • girishG girish marked this topic as a question on
                                  • girishG girish has marked this topic as solved on
                                  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