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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?

Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?

Scheduled Pinned Locked Moved Solved Support
migration
17 Posts 4 Posters 2.5k Views 5 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.
  • DanTheManD DanTheMan

    Hi there,

    Is it possible to migrate my Cloudron instance from Ubuntu 18.04 to a new and freshly installed Ubuntu 20.04 VM?

    I am asking this because i had trouble updating my Cloudron instance from 6.2.8. to 6.3.4. on Ubuntu 18.04.
    Maybe a fresh starting over can resolve my updating problems and i also needed more space on the new VM anyway.

    Can it do any harm when i switch to Ubuntu 20.04 with a freshly installed Cloudron and restore the backup from there?
    Keep in mind that the restored backup-version came from Cloudron version 6.2.8.

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #2

    @dantheman I don't know the official answer and it is a good question about restoring from a 6.2.8 backup. That issue may affects others in a different context.

    I just wanted to say more positively I had a seamless re-install of backups when moving from one VM to another. But maybe you have done that before and know that already.

    DanTheManD 1 Reply Last reply
    0
    • timconsidineT timconsidine

      @dantheman I don't know the official answer and it is a good question about restoring from a 6.2.8 backup. That issue may affects others in a different context.

      I just wanted to say more positively I had a seamless re-install of backups when moving from one VM to another. But maybe you have done that before and know that already.

      DanTheManD Offline
      DanTheManD Offline
      DanTheMan
      wrote on last edited by DanTheMan
      #3

      @timconsidine
      Thanks for the answer.
      I tried it like a year ago and that worked out really good.
      Only thing then that al versions, like the running Cloudron version and Ubuntu version stayed the same when i did that a year ago.

      I'm not sure if it wil work this time...

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #4

        This is possible, essentially create a new vm with 20.04 and run the cloudron-setup --version 6.2.8 to install that same version, then make a backup on the old server and shut that server down (don't delete the server yet). Now restore from that backup on the new one.

        If everything went well, you can then delete the old server maybe after wait one or more days, just to be sure.

        DanTheManD 1 Reply Last reply
        2
        • nebulonN nebulon

          This is possible, essentially create a new vm with 20.04 and run the cloudron-setup --version 6.2.8 to install that same version, then make a backup on the old server and shut that server down (don't delete the server yet). Now restore from that backup on the new one.

          If everything went well, you can then delete the old server maybe after wait one or more days, just to be sure.

          DanTheManD Offline
          DanTheManD Offline
          DanTheMan
          wrote on last edited by
          #5

          @nebulon
          Thanks i really appreciate your explanation.
          Give me a couple of days to sort some things out and i report back asap of this works for me.

          i guess i better keep an eye on it and look if it runs smoothly on the newly created Ubuntu 20.04 VM, before updating to 6.3.4.?

          girishG 1 Reply Last reply
          1
          • DanTheManD DanTheMan

            @nebulon
            Thanks i really appreciate your explanation.
            Give me a couple of days to sort some things out and i report back asap of this works for me.

            i guess i better keep an eye on it and look if it runs smoothly on the newly created Ubuntu 20.04 VM, before updating to 6.3.4.?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            @dantheman said in Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?:

            i guess i better keep an eye on it and look if it runs smoothly on the newly created Ubuntu 20.04 VM, before updating to 6.3.4.?

            Yes. Alternately, do you know what is the problem in updating in 6.28 to 6.3.4? Would be good to have that sorted out.

            DanTheManD 1 Reply Last reply
            0
            • girishG girish

              @dantheman said in Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?:

              i guess i better keep an eye on it and look if it runs smoothly on the newly created Ubuntu 20.04 VM, before updating to 6.3.4.?

              Yes. Alternately, do you know what is the problem in updating in 6.28 to 6.3.4? Would be good to have that sorted out.

              DanTheManD Offline
              DanTheManD Offline
              DanTheMan
              wrote on last edited by DanTheMan
              #7

              @girish
              Sorry for the late reply, work is killing me at the moment...

              All sort of things happened actually after updating on Ubuntu 18.04 from version 6.2.8 to 6.3.4.

              A lot of things are covered already in the forums, like the "reboot button" didn't work and so on.

              But he main problem i had, was Element's throwing out errors and was offline, on Windows and Android clients. I made a post about it recently.
              https://forum.cloudron.io/topic/5291/problem-with-sending-and-receiving-message-s-android-windows/3?_=1626202967742

              Also i discovered that Nextcloud doesn't sync no more, even not after trying to re-enable sync on the client side, like Nebulon suggested.

              Now i'm still running on Ubuntu 18.04 and Cloudron version 6.2.8. and everything seems to be running ok. Except Nextcloud that doesn't sync from the mobile app...

              girishG 1 Reply Last reply
              0
              • DanTheManD DanTheMan

                @girish
                Sorry for the late reply, work is killing me at the moment...

                All sort of things happened actually after updating on Ubuntu 18.04 from version 6.2.8 to 6.3.4.

                A lot of things are covered already in the forums, like the "reboot button" didn't work and so on.

                But he main problem i had, was Element's throwing out errors and was offline, on Windows and Android clients. I made a post about it recently.
                https://forum.cloudron.io/topic/5291/problem-with-sending-and-receiving-message-s-android-windows/3?_=1626202967742

                Also i discovered that Nextcloud doesn't sync no more, even not after trying to re-enable sync on the client side, like Nebulon suggested.

                Now i'm still running on Ubuntu 18.04 and Cloudron version 6.2.8. and everything seems to be running ok. Except Nextcloud that doesn't sync from the mobile app...

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                @dantheman I suspect the errors are not related to ubuntu upgrade. Maybe you can try upgrading ubuntu first and then move to 6.3.4. 6.3.5 fixes the reboot issue. Can you make a separate thread for the nextcloud sync?

                DanTheManD 1 Reply Last reply
                0
                • girishG girish

                  @dantheman I suspect the errors are not related to ubuntu upgrade. Maybe you can try upgrading ubuntu first and then move to 6.3.4. 6.3.5 fixes the reboot issue. Can you make a separate thread for the nextcloud sync?

                  DanTheManD Offline
                  DanTheManD Offline
                  DanTheMan
                  wrote on last edited by DanTheMan
                  #9

                  @girish
                  Thanks for the support.
                  My weekend is started now, so i can finally dig into the problems i had.

                  I'm going to first spin up a new Ubuntu 20.04. VM.
                  Then install Cloudron version 6.2.8 on that.

                  Restore backup from the old Ubuntu 18.04. version 6.2.8 to the newly created Ubuntu 20.04 VM.

                  If that's running smooth I'll give it a shot to upgrade to 6.3.4. and see how that goes. I'll report back on that.

                  If Nextcloud sync is still bugging me after updating, i shall open a separate thread for that one 😉

                  DanTheManD 1 Reply Last reply
                  1
                  • DanTheManD DanTheMan

                    @girish
                    Thanks for the support.
                    My weekend is started now, so i can finally dig into the problems i had.

                    I'm going to first spin up a new Ubuntu 20.04. VM.
                    Then install Cloudron version 6.2.8 on that.

                    Restore backup from the old Ubuntu 18.04. version 6.2.8 to the newly created Ubuntu 20.04 VM.

                    If that's running smooth I'll give it a shot to upgrade to 6.3.4. and see how that goes. I'll report back on that.

                    If Nextcloud sync is still bugging me after updating, i shall open a separate thread for that one 😉

                    DanTheManD Offline
                    DanTheManD Offline
                    DanTheMan
                    wrote on last edited by DanTheMan
                    #10

                    @girish

                    I have done migrating Cloudron to Ubuntu 20.04 and this is what happend.....

                    As i spinned up the new VM, i setup cloudron to install version 6.2.8. at the command line.
                    I downloaded the backup config before i turned off the old vm, so i could use the backup config while restoring.

                    This turned out REALLY nice, since my bucket is at DO i could restore from there, after filling in my Id and secret.
                    After restoring, the Cloudron dashboard quickly showed up online and all the apps were restoring.

                    (edited)
                    SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS-->
                    Ok, so i went for some (basic) checks and discovered that after the restore, the "system info" tab still showed the old values from the old VM. As in disk space was showing the old values.
                    Strange because i started with a new fresh VM and more disk space assigned to it.
                    I tried rebooting Cloudron, but that didn't help either. <-- SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS

                    Also if i try to update "Collabora Office" (for example), it loses connection (integration) with Nextcloud.
                    Same is also for "OnlyOffice" that loses connection after updating.
                    If i restore them to the version before the update, everything is working ok again.

                    Ok so not really smooth running at this point, but this also happend before i did the migration, when it was running on Ubuntu 18.04.
                    So i thought let's try updating Cloudron to 6.3.4. since i was already on Ubuntu 20.04 now and maybe it could solve my problems from there....

                    Well that also didn't catch the problems i already had, it even became worse.
                    After the update, Elements was working for like 10/20 minutes and again i could't send message's from the Android app.

                    It seems like everytime i try to update an app or the whole Cloudron environment (version), things are breaking.

                    I went back to the old Ubuntu 18.04. VM with Cloudron 6.2.8.
                    That's my only stable Cloudron at the moment.

                    I'm out of idea's at this point and can't detect were it's failing.... 😕 😕

                    Help?😢

                    timconsidineT girishG 2 Replies Last reply
                    0
                    • DanTheManD DanTheMan

                      @girish

                      I have done migrating Cloudron to Ubuntu 20.04 and this is what happend.....

                      As i spinned up the new VM, i setup cloudron to install version 6.2.8. at the command line.
                      I downloaded the backup config before i turned off the old vm, so i could use the backup config while restoring.

                      This turned out REALLY nice, since my bucket is at DO i could restore from there, after filling in my Id and secret.
                      After restoring, the Cloudron dashboard quickly showed up online and all the apps were restoring.

                      (edited)
                      SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS-->
                      Ok, so i went for some (basic) checks and discovered that after the restore, the "system info" tab still showed the old values from the old VM. As in disk space was showing the old values.
                      Strange because i started with a new fresh VM and more disk space assigned to it.
                      I tried rebooting Cloudron, but that didn't help either. <-- SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS

                      Also if i try to update "Collabora Office" (for example), it loses connection (integration) with Nextcloud.
                      Same is also for "OnlyOffice" that loses connection after updating.
                      If i restore them to the version before the update, everything is working ok again.

                      Ok so not really smooth running at this point, but this also happend before i did the migration, when it was running on Ubuntu 18.04.
                      So i thought let's try updating Cloudron to 6.3.4. since i was already on Ubuntu 20.04 now and maybe it could solve my problems from there....

                      Well that also didn't catch the problems i already had, it even became worse.
                      After the update, Elements was working for like 10/20 minutes and again i could't send message's from the Android app.

                      It seems like everytime i try to update an app or the whole Cloudron environment (version), things are breaking.

                      I went back to the old Ubuntu 18.04. VM with Cloudron 6.2.8.
                      That's my only stable Cloudron at the moment.

                      I'm out of idea's at this point and can't detect were it's failing.... 😕 😕

                      Help?😢

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote on last edited by
                      #11

                      @dantheman said in Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?:

                      the "system info" tab still showed the old values from the old VM

                      I think the stats are not 'live' but are refreshed periodically, so it may take 24hrs for the new VM to report its data.

                      DanTheManD 1 Reply Last reply
                      0
                      • timconsidineT timconsidine

                        @dantheman said in Is it possible to migrate Cloudron from Ubuntu 18.04 to 20.04?:

                        the "system info" tab still showed the old values from the old VM

                        I think the stats are not 'live' but are refreshed periodically, so it may take 24hrs for the new VM to report its data.

                        DanTheManD Offline
                        DanTheManD Offline
                        DanTheMan
                        wrote on last edited by
                        #12

                        @timconsidine
                        Now that i'm thinking about that also.
                        I remember reading something about that in the forums.

                        That's one problem I can skip off my list 😉

                        1 Reply Last reply
                        0
                        • DanTheManD DanTheMan

                          @girish

                          I have done migrating Cloudron to Ubuntu 20.04 and this is what happend.....

                          As i spinned up the new VM, i setup cloudron to install version 6.2.8. at the command line.
                          I downloaded the backup config before i turned off the old vm, so i could use the backup config while restoring.

                          This turned out REALLY nice, since my bucket is at DO i could restore from there, after filling in my Id and secret.
                          After restoring, the Cloudron dashboard quickly showed up online and all the apps were restoring.

                          (edited)
                          SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS-->
                          Ok, so i went for some (basic) checks and discovered that after the restore, the "system info" tab still showed the old values from the old VM. As in disk space was showing the old values.
                          Strange because i started with a new fresh VM and more disk space assigned to it.
                          I tried rebooting Cloudron, but that didn't help either. <-- SOLVED!! BECAUSE IT TAKES TIME TO REFRESH THE STATS

                          Also if i try to update "Collabora Office" (for example), it loses connection (integration) with Nextcloud.
                          Same is also for "OnlyOffice" that loses connection after updating.
                          If i restore them to the version before the update, everything is working ok again.

                          Ok so not really smooth running at this point, but this also happend before i did the migration, when it was running on Ubuntu 18.04.
                          So i thought let's try updating Cloudron to 6.3.4. since i was already on Ubuntu 20.04 now and maybe it could solve my problems from there....

                          Well that also didn't catch the problems i already had, it even became worse.
                          After the update, Elements was working for like 10/20 minutes and again i could't send message's from the Android app.

                          It seems like everytime i try to update an app or the whole Cloudron environment (version), things are breaking.

                          I went back to the old Ubuntu 18.04. VM with Cloudron 6.2.8.
                          That's my only stable Cloudron at the moment.

                          I'm out of idea's at this point and can't detect were it's failing.... 😕 😕

                          Help?😢

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          @dantheman Do you think you can write to us on support@cloudron.io ? I can look into why the update is breaking things.

                          DanTheManD 1 Reply Last reply
                          0
                          • girishG girish

                            @dantheman Do you think you can write to us on support@cloudron.io ? I can look into why the update is breaking things.

                            DanTheManD Offline
                            DanTheManD Offline
                            DanTheMan
                            wrote on last edited by
                            #14

                            @girish
                            Definitely, i will send a message to support@cloudron.io asap.

                            Thanks for checking up into this 👍😉

                            1 Reply Last reply
                            1
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #15

                              After some investigation, it seems that all the errors are somehow related to OCSP stapling. For some reason, the certs give an error in firefox and android after some time. There is no error in OCSP related errors in nginx logs. Disabling OCSP check in firefox makes things work. Kinda bizzare. Still investigating what the issue is.

                              I thought this might be time related since NTP was turned off on the server but turning it on using timedatectl set-ntp on doesn't help either.

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by girish
                                #16

                                I created https://git.cloudron.io/cloudron/box/-/issues/796 which will add an option to disable OCSP stapling since we couldn't figure the root cause. The certs itself are fine because I was able to put the certs manually on my server and they seem to work.

                                DanTheManD 1 Reply Last reply
                                1
                                • girishG girish

                                  I created https://git.cloudron.io/cloudron/box/-/issues/796 which will add an option to disable OCSP stapling since we couldn't figure the root cause. The certs itself are fine because I was able to put the certs manually on my server and they seem to work.

                                  DanTheManD Offline
                                  DanTheManD Offline
                                  DanTheMan
                                  wrote on last edited by
                                  #17

                                  @girish
                                  Thanks for the info and all the work (support) you have done for me Girish 👍👍

                                  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