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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

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 285 Views
    • 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
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to jdaviescoates on last edited by
    #0

    @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 drink. Cheers!

    1 Reply Last reply
    2
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to jdaviescoates 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 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 Do not disturb
    girishG Do not disturb
    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
  • robiR Offline
    robiR Offline
    robi
    replied to girish 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.

    Life of sky 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
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to scooke 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
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to robi 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.