Migrating Cloudron to New Host Acci
-
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 --troubleshooton 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 runningIt 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 -
Hello @samgreenwood
You can follow the guide here https://docs.cloudron.io/backups#steps but for your old server.
This way you can override your local DNS records to point to the old server and access it like that. -
Hello @samgreenwood
You can follow the guide here https://docs.cloudron.io/backups#steps but for your old server.
This way you can override your local DNS records to point to the old server and access it like that.@james said in Migrating Cloudron to New Host Acci:
You can follow the guide here: https://docs.cloudron.io/backups#steps, but for your old server.
If it was unclear, I couldn't restore from a backup in the first place. I think whatever problem I was having in the first place caused that. But now I can't access the dashboard for the original instance anyway.
Side note: Can a mod rename the thread for me? I realized I made a typo. Can "Acci" be changed to "Provider"?