Upgrade to newer OS version

  • Posted April 29, 2014

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

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

Regards, Alex

Idont know the answer

Got it. Thanks guys <br> <br>- Matt

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.

To upgrade do <br> <br>sudo apt-get install update-manager-core <br>sudo do-release-upgrade <br>sudo shutdown -h now <br> <br>then go to the DO control panel > settings > kernel and select the version you wish.

Yes that should work. Make a snapshot first just in case.