Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Migrating Cloudron to New Host Acci

Migrating Cloudron to New Host Acci

Scheduled Pinned Locked Moved Unsolved Support
restorednsdns setup
3 Posts 2 Posters 9 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SamGreenwood
    wrote last edited by
    #1

    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

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      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.

      S 1 Reply Last reply
      0
      • jamesJ james

        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.

        S Offline
        S Offline
        SamGreenwood
        wrote last edited by SamGreenwood
        #3

        @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"?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search