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. Best way to update from Ubuntu 18.04 to 20.04?

Best way to update from Ubuntu 18.04 to 20.04?

Scheduled Pinned Locked Moved Solved Support
ubuntuubuntu 20.04update18.04upgrade
7 Posts 5 Posters 1.3k 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.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #1

      I was just looking at:

      https://docs.cloudron.io/guides/upgrade-ubuntu-20/

      Which suggests actually updating my server.

      But I was kinda assuming the best way would be to just start with a fresh Ubuntu 20.04 server and restore a back-up there.

      Pros/ cons for each way?

      Thanks!

      I use Cloudron with Gandi & Hetzner

      BrutalBirdieB 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        I was just looking at:

        https://docs.cloudron.io/guides/upgrade-ubuntu-20/

        Which suggests actually updating my server.

        But I was kinda assuming the best way would be to just start with a fresh Ubuntu 20.04 server and restore a back-up there.

        Pros/ cons for each way?

        Thanks!

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        @jdaviescoates
        I did both 😄

        The upgrade to Ubuntu 20 might be faster, depends on what you have to restore. (2TB of Movies?) 😬

        I would do a backup, start with the upgrade to 20 and if you don't like something, you can always just do a clean sweep and restore from backup 🤷

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        2
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #3

          Ubuntu 20 upgrade has worked via dist-upgrade works fairly well. Only thing is one has to baby sit the upgrade and keep pressing 'yes'.

          I would do what @BrutalBirdie said, make a backup and then try to upgrade ubuntu. If it doesn't work, restore from backup into new ubuntu.

          robiR 1 Reply Last reply
          2
          • girishG girish

            Ubuntu 20 upgrade has worked via dist-upgrade works fairly well. Only thing is one has to baby sit the upgrade and keep pressing 'yes'.

            I would do what @BrutalBirdie said, make a backup and then try to upgrade ubuntu. If it doesn't work, restore from backup into new ubuntu.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @girish said in Best way to update from Ubuntu 18.04 to 20.04?:

            Only thing is one has to baby sit the upgrade and keep pressing 'yes'.

            one can use the -y option for apt to 'assume yes' to all prompts.

            Conscious tech

            girishG 1 Reply Last reply
            1
            • scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by
              #5

              Though it is possible, I've always gotten the impression that this type of upgrade is a risky thing to do. Fortunately, with Cloudron's easy backup, and easy restore to new server options, you can give it a try. But in all my years of fiddling with servers I've never once managed to upgrade the OS successfully. Back then all I ran were LAMP stacks so it wasn't a big deal to just start with a new VPS running the new OS and copy everything back. But once things like npm, node, ruby and rails, python, etc., started getting used for web stuff, forget it! Too many things break!

              Make that backup, try to upgrade, but do it when you have a window that gives you enough time to fallback on the "restore Cloudron from backup" option.

              A life lived in fear is a life half-lived

              jdaviescoatesJ 1 Reply Last reply
              2
              • scookeS scooke

                Though it is possible, I've always gotten the impression that this type of upgrade is a risky thing to do. Fortunately, with Cloudron's easy backup, and easy restore to new server options, you can give it a try. But in all my years of fiddling with servers I've never once managed to upgrade the OS successfully. Back then all I ran were LAMP stacks so it wasn't a big deal to just start with a new VPS running the new OS and copy everything back. But once things like npm, node, ruby and rails, python, etc., started getting used for web stuff, forget it! Too many things break!

                Make that backup, try to upgrade, but do it when you have a window that gives you enough time to fallback on the "restore Cloudron from backup" option.

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by jdaviescoates
                #6

                @scooke yeah, I definitely think I'm going to migrate to a fresh 20.04 VPS (or maybe even a dedicated server ) instead of just updating my existing 18.04 one.

                Now I'm wondering how to do that with minimum downtime?

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • robiR robi

                  @girish said in Best way to update from Ubuntu 18.04 to 20.04?:

                  Only thing is one has to baby sit the upgrade and keep pressing 'yes'.

                  one can use the -y option for apt to 'assume yes' to all prompts.

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

                  @robi said in Best way to update from Ubuntu 18.04 to 20.04?:

                  one can use the -y option for apt to 'assume yes' to all prompts.

                  this doesn't work with do-release-upgrade for whatever reason.

                  1 Reply Last reply
                  1
                  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