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


Skip to content
  • 1 Votes
    16 Posts
    1k Views
    d19dotcaD
    @jdaviescoates said in Server migration tips? Need same ubuntu version? Possible to do without downtime?: I guess I could try: add the ip of my old server to my /etc/hosts file on my laptop so I can access it again post DNS changes boot up my old server and run a backup Then try the restore email thing linked above by copying the relevant files from one server to the other (not sure how exactly I'd do that, I guess maybe with scp or something) But I wonder if another option would be to add the ip of my old server to my /etc/hosts file on my laptop so I can access it again post DNS changes boot up my old server and run a backup restore this new backup of the old server into the new server (although I guess this could now get messy - what would happen with emails that have since arrived on the new server). I'd recommend the first option there to avoid overriding any emails on the new server which aren't on the old server. The first steps would be good because then you'd get a backup again you can follow the steps from the docs at that point to restore emails, essentially merging with the new server afterwards. Definitely will be interested if @staff has any other recommendations though, will be good to know for future.
  • Updating Cloudron to a stable version

    Solved Support update migration
    4
    1 Votes
    4 Posts
    659 Views
    girishG
    @eddowding said in Updating Cloudron to a stable version: I was migrating servers when I noticed that I'm on 7.2.5, but the latest is 7.3.2. When moving to the new server, you can install it as ./cloudron-setup --version 7.2.5 . 7.3 was out last week, just ironing out some regressions. We expect to start rolling it out next week.
  • Import from masto.host

    Solved Mastodon import export migration
    9
    0 Votes
    9 Posts
    1k Views
    holloschH
    We'll set up an fresh instance. This is quite simpler. thanks for help!!!
  • SSL certificate issue after cloudron migration

    Solved Support mail certificates migration
    3
    0 Votes
    3 Posts
    653 Views
    E
    @humptydumpty Thank you, that has actually worked!
  • transfer app to other platform

    Support migration
    2
    0 Votes
    2 Posts
    445 Views
    girishG
    @samaneha Which app do you want to migrate? The backups have the database dump and the data files. What else do you need to migrate?
  • Clone Ubuntu and Cloudron to a smaller disk

    Support migration
    9
    0 Votes
    9 Posts
    1k Views
    robiR
    Backup/Restore process is actually better than a disk clone as it allows for one to remove the older cruft, upgrade the OS, switch hardware, etc.. yet all the Apps and Cloudron instance settings work as originally backed up. Very handy and a seriously difficult thing to do, hence the many disk imaging and other schemes to try and replicate a nicely configured system, which quickly become out of date, being so static. Cloudron FTW!
  • Can't login to account on transfered install

    Solved Support unbound migration
    6
    0 Votes
    6 Posts
    823 Views
    ianhyzyI
    @girish I think it was ultimately a disk space issue - I restarted unbound and that seemed to do the trick. I have to move servers again because of a Vultr restriction (block storage not in the zone I had the VM in) that's unrelated to Cloudron so I'll see what happens. Thanks guys!
  • Moving a Ghost Blog to Wordpress

    Solved Support domains migration
    8
    0 Votes
    8 Posts
    1k Views
    robiR
    @LeeW Thanks for trying it and letting us know!
  • 0 Votes
    10 Posts
    2k Views
    fbartelsF
    thanks for proving my point that one cannot have a discussion with you
  • Moving Cloudron to new server : stop apps?

    Support backups migration
    11
    0 Votes
    11 Posts
    2k Views
    fbartelsF
    @timconsidine said in Moving Cloudron to new server : stop apps?: that I didn't set the PTR record in the new VPS provider until I started the migration I ran into exactly this problem the last time as well
  • Cannot migrate app

    Solved Support migration
    9
    0 Votes
    9 Posts
    1k Views
    girishG
    @atridad yeah, I just bumped the internal default for data directory migration to be 1GB . I tested with ~500GB now and it's all good.
  • Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?

    Solved Support migration
    17
    0 Votes
    17 Posts
    2k Views
    DanTheManD
    @girish Thanks for the info and all the work (support) you have done for me Girish
  • Adding a second db to php 7.4 app

    Solved LAMP mysql migration drupal civicrm
    2
    0 Votes
    2 Posts
    572 Views
    girishG
    @shai you have to build a custom app, please see this guide https://docs.cloudron.io/guides/multiple-databases-lamp/
  • Moving Apps to Another Cloudron Instance

    Solved Support backups migration
    3
    0 Votes
    3 Posts
    936 Views
    J
    @brutalbirdie Thank you, I'll give that a shot!
  • Cron not running at all

    Moved Support cron restore migration
    8
    1
    0 Votes
    8 Posts
    1k Views
    d19dotcaD
    Thanks guys! Yeah it's a weird issue for sure and likely very rare, so it's probably not a big deal. If it helps for reproducing it, here's a few notes: 27 apps installed at the time of backup/restore Backup & Restore used tgz format with OVH Object Storage in BHS region Backup from a LunaNode m.8 model in Toronto region Restored onto OVH b2-7 model (though since upgraded to b2-15) in BHS3 region LunaNode instance (source) was running Ubuntu 18.04 at backup time, and OVH instance (target) was running Ubuntu 20.04 at the time of restore. When I restored, I very nearly ran out of disk space on the included disk, leaving only ~ 1.5 GB of space remaining. When restoring initially, it failed to restore because of the issue I reported earlier, though doubtful this is a root cause. Immediately moved the boxdata to external disk afterwards though, so plenty of space free soon after the restore was done once I moved boxdata off (20 GB in emails alone so it takes up a lot of space). Hopefully those notes above help in some small way. No worries though if you can't reproduce it, I imagine it's a very rare scenario and could have even been completely unique to me somehow. Hopefully others can chime in though if they experienced anything similar where cron wouldn't run at all (whether a restore involved or not, as I'm still not 100% certain it had to do with the restore though I presume it did).
  • Custom Apps

    Support import migration
    18
    0 Votes
    18 Posts
    2k Views
    P
    One other note, the .sql file originally failed to upload due to the dump having the following line: Create SCHEMA public; I commented that out and the import ran fine. I'm guessing there is a command to dump the Postgres DB without a create statement but someone smarter than me probably knows it. I haven't used Postgres a day in my life until yesterday so I'm still getting to know it. I have only used MySQL, Maria and MS SQL and all of those have an option to dump without the create statement, but I figured it was just easier to comment that line out of the SQL file instead of looking up the command and doing a new dump.
  • 2 Votes
    3 Posts
    619 Views
    M
    @girish ah alright, was moving some LAMP 7.2 and 7.3 to 7.4., clone does not work in that scenario
  • Destroy data before moving to a new server

    Support migration
    8
    0 Votes
    8 Posts
    1k Views
    girishG
    Depending on the provider, they already zero things out. For example, DO does this. Of course, you have to trust your provider.
  • Migrating Mattermost with permission scheme

    Mattermost migration mysql
    3
    0 Votes
    3 Posts
    594 Views
    T
    @subven Thank you! I had not seen those docs It turned out that the Docker image of Mattermost used PostgreSQL, whereas on Cloudron if I'm not mistaken MySQL is used. I tried converting migrating the PostgreSQL database to MySQL but it was a bit of a headache, so I have gone down the conventional route of using Mattermost's bulk export/import.
  • Migration and Cloudron/Ubuntu Update

    Solved Support migration upgrade ubuntu focal
    4
    0 Votes
    4 Posts
    888 Views
    ShaiS
    @girish I successfully migrated my Cloudron from one server to another. I followed your directions and updated Cloudron to v 6.0.0 before making my final backup of the old server. Thank you.