Advice for self-hosting? Can't get past Unbound install.
ajtatum last edited by
I've been trying for days to get Cloudron to run on an Ubuntu Server 22.04, but for one reason or another it can't finish the install. One night I was playing around and not documenting (dumb) and changed the ip routing or ip addr settings and it installed, but nginx failed.
Here's what I got:
Firewalla Gold in router mode. I've tried several approaches, considering that I also have a Synology NAS requiring ports 80 & 443. Previously, the NAS was on the default IP address (I have .58 - .62). I figured out how to have the NAS run on the non-default, .59.
Intel NUC with two ethernet adapters. From limited networking knowledge (I'm more of a dev/tech generalist LOL), I think two ethernet connections are required. But I don't know for sure, either way they're assigned static IPs from the Firewalla ending in 201 & 202.
The server, say, nuc.myhouse.com, has the Cloudflare (no orange cloud) pointing to .58. When I a request from the NAS asking what my IP is, it returns that address.
On the Firewalla, I have the device's "local domain" set to myhouse.com so that it reads "nuc.myhouse.com" locally. On the Firewalla, ports 80 & 443 are open for .58 and set to forward to the nuc. (I've also tried putting the nuc in the DMZ and that didn't make any impact.)
So, the IPs are set and domains configured. Now, on a FRESH Ubuntu install, I go to install Cloudron. I usually update /etc/hosts and /etc/hostname but I'll leave them alone for this post and go straight to the install. So, I login as root and download and run the installer.
Everytime I run this, what happens is that after installing unbound it tries to download packages and I end up seeing "Temporary failure resolving 'us.archive.ubuntu.com'".
Now, I can't ping anything unless I follow the recommendation found at https://docs.cloudron.io/troubleshooting/ to edit forward-everything.conf. After editing and restarting unbound, I can ping google.com, etc again. But now when I try running the installer, it wants me to start with a fresh Ubuntu install.
I've tried getting around this by removing nginx/docker/node whatever it's already installed, but nonetheless... I can't get it to work and I'm truly stumped.
I don't know what I need to do before hand so that Unbound doesn't break once it's setup, but I don't know how. I've relied on Vultr or Digital Ocean to do it for me, but last month's bill was $80 and I have a more powerful machine sitting right here if I could just figure out how to get the darn thing to work LOL.
Any assistance, advice, input, thoughts, whatever's helpful would be appreciated.