Upgrade to newer OS version

Posted April 29, 2014 7.7k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
6 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

Got it. Thanks guys

- Matt

Hello all,

I personally believe that the safest way to do this is to follow these steps here:

  • Spin up a new Droplet with the desired OS
  • Install the necessary services (webserver, sql server, etc.)
  • After that using rsync for example copy over your files and migrate your databases
  • Then test your website and server fully to make sure that everything is working as expected
  • Finally change your DNS to point to the new Droplet