Cannot install Cloudron on Ubuntu 22.04 (DNS Issue)
-
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 -
@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.
-
@jdaviescoates I use a freshly created Ubuntu 22.04 Server VM.
-
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).
-
@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) ?
-
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.
-
@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
-
@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!
-
@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.
-
@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.
-
@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
-
@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
-
@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!!
-
@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.
-
-