I’m in the process of migrating from Ubuntu 18.04 to 22.04 mailinabox using that same domain, to a new Linode instance. I created the new Linode instance without issue. I apolgize if this is too much info but I don’t want to waste your time.
I’m getting a message “unable to resolve host box.mydomain.com. Temporary Failure in name resolution”, first thing when executing the setup.sh curl script. Is this expected? Might this be a delay in nameserver propagation from the glue record IP change? Note Reverse DNS is configured but how do I verify Fwd DNS works at Linode?
After that script completes, I’m unable to connect via http://myip/admin either.
I notice that ping box.mydomain.com or ping mydomain.com fails similarly.
My gandi.net domain registrar shows my external nameservers at ns1.mydomain.com, and glue records set at ns1.box.mydomain.com and my linode IP: 45.xx.xx.xx. That IP agrees to the IP on linode instance.
I setup my Linode Reverse DNS also, briefly showing:
Uhmm, should it not be ns1.box.mydomain.com as your external name server at Gandi?
This mistake would explain the “Temporary failure in name resolution” as there is no place to resolve the name from.
Also, is the Glue record IP that of the original Linode VPS or the new one?
Not sure why mydomain.com is unrecognized otherwise, but I’m double and triple checking everything.
I’m having problems just getting a new box running. Right now, the initial run of the script seems to be hung on upgrading Nextcloud. Should that take a long time?
It says Installing Nextcloud (contacts/calendar)...
So far, it’s been running for 30+ minutes on a 1 cpu nanode.
Original server is running, but registrar glue records were changed to my new instance. I set the original ufw rule to disallow all but ssh as the doc says.
I will pm you the hostname, and thank you very much.
That brings up another question. Should I make a new VPS box and re-execute the script+glue records change, or is there a way to execute it so it replaces all files? Or, is that even necessary? thanks.
I am afraid that I am really bad at diagnosing installation issues. I am the type who would normally at this point, start over with a new vps. Not sure if that is what you want to do or not here.
If it is, I’d reinstall Ubuntu 22.04 LTS and give it another try…
Resolved Nextcloud issue apparently. Bringing down migrated-from instance allows new instance to get past Nextcloud. Both had same hostnames too.
Running Status informs me that my rDNS was not pointing to box.mydomain.com. I was able to change rDNS at Linode to my box.mydomain.com now, before it did not allow it, then I rebooted.
Question (resolved, see below): mydomain.com/status says my IPv6 rDNS is pointing to my domain, but the IPv4 is not. Any comment on that? I have opened a ticket with Linode as my rDNS there seems properly configured.
Update: Linode support said rDNS had not propagated yet, but now it has. Browsing to box.mydomain.com/admin, without using IP, works fine.
I will open another thread for further issues regarding actually migrating old data to new server.