Upgrade to newer OS version

April 29, 2014 5k views
Hi - How can I upgrade my droplet from Ubuntu 13.10 to 14.04 LTS. Do I just need to run "sudo do-release-upgrade -d" from SSH and then change the kernel in the admin panel? Are there any risks? - Matt
5 Answers
Yes that should work. Make a snapshot first just in case.
To upgrade do

sudo apt-get install update-manager-core
sudo do-release-upgrade
sudo shutdown -h now

then go to the DO control panel > settings > kernel and select the version you wish.
There are always some risks involved in upgrading to a newer OS version. You need to make sure that your site/app is compatible with any changes that had been made. I'd suggest taking a snapshot of your droplet and spinning up a new instance based on that snapshot to test the upgrade on first. Since you pay by the hour and you can destroy the test droplet when you're done, it will only cost you pennies. It might just save you a big headache.
  • Hello @asb ,

    I want to change my current Centos 6.4 server with ubuntu 14.x.

    can i do it?
    I had read some where that it is possible by following steps.

    1. take snapshots of current droplet
    2. destroy current droplet
    3. rebuild new droplet
    4. used snapshots which taker before destroy it.
    5. don, check all app or website, hope all are running.

    @asb it's really working or it's just spam process.
    if above steps working than all data of server are get back after creating new droplet?

    Please help me

    Mitesh Jain

    • H! Unfortunately, the process of moving from one distro to another is not all that straightforward. When you create a new Droplet from a snapshot, it is simply a copy of the old Droplet. So it will still be the same OS as the original. You'll need to create a new Droplet and then copy your files over with something like rysnc.

      by Justin Ellingwood
      Rsync is a simple tool for intelligently syncing local and remote directories. In this article we will explore the basic usage of this utility to copy files from directory to directory and from system to system.
Got it. Thanks guys

- Matt
Have another answer? Share your knowledge.