Re: Change Primary Domain an Dashboard via Terminal/CLI
Hello everyone,
I'm reaching out for some urgent help regarding an issue I'm having with my old Cloudron instance. I've been experiencing constant crashing and network errors for months (you can see some of my previous struggles here.
Because of these persistent problems, I decided to move to a different hosting provider. However, during the setup of my new Cloudron instance, I made a crucial mistake: I accidentally assigned it the same subdomain that my old instance was using.
Now, I can access my new Cloudron instance without any issues, but I've completely lost access to my old instance.
Here's what I've tried so far:
- I attempted to point a subdomain from a secondary domain (which was connected to the old instance) at the old instance's IP. Unfortunately, this didn't work for dashboard access as it wasn't configured as the Dashboard Domain.
- I also tried using my most recent backup, but that didn't help in regaining access either.
I also ran cloudron-support --troubleshoot on the old instance, and here's the output:
Vendor: Linode Product: Compute Instance
Linux: 5.4.0-216-generic
Ubuntu: focal 20.04
Execution environment: kvm
Processor: AMD EPYC 7542 32-Core Processor x 4
RAM: 8136064KB
Disk: /dev/sda 93G
[OK] node version is correct
[OK] IPv6 is enabled and public IPv6 address is working
[OK] docker is running
[OK] docker version is correct
[OK] MySQL is running
[OK] nginx is running
[OK] dashboard cert is valid
[OK] dashboard is reachable via loopback
[OK] No pending database migrations
[FAIL] Service 'mysql' is not reachable
[OK] Service 'postgresql' is running and healthy
[OK] Service 'mongodb' is running and healthy
[OK] Service 'mail' is running and healthy
[OK] Service 'graphite' is running and healthy
[OK] Service 'sftp' is running and healthy
[OK] box v9.0.15 is running
[OK] netplan is good
[OK] DNS is resolving via systemd-resolved
[OK] Dashboard is reachable via domain name
[OK] Domain samgreenwood.ca is valid and has not expired
[OK] unbound is running
It looks like Service 'mysql' is not reachable, which might be part of the problem.
I'm really stuck and need to either regain access to my old instance to retrieve critical data or figure out the best way to proceed from here. Any advice or guidance would be incredibly helpful!
Thanks,
Sam