Question

Should I do-release-upgrade to 16.04.2 LTS?

I have a Ubuntu 14.04.5 LTS running a few Django applications. I keep seeing this when I login.

New release '16.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Should I do the release upgrade?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Accepted Answer

@kegan

Before doing a release upgrade, create a snapshot of your Droplet. Upgrading releases can lead to some rather unexpected results if your application isn’t compatible with new software versions that will be installed when you upgrade.

For example, I’ll use PHP. Older Ubuntu versions have PHP 5.x in their repositories while the newer releases have PHP 7.0.x. When performing a release upgrade, PHP 5.x becomes 7.0.x, so any PHP applications on the server that are not fully compatible with PHP 7.0 break instantly.

The same is true for many languages.

My recommendation would be to deploy a new Droplet with Ubuntu 16.04 and migrate your app over to it instead of upgrading the release, unless you’re sure newer software versions will not break or cause issues with your current application(s).

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@d4rkd0s

snapshots are good only as a backup. it serves no purpose whatsoever in case of an upgrade or update!! you still need to spin up a brand new droplet from scratch and copy all the files from the old droplet to the new one with an ftp client.

tom

@jtittle1

we followed your recommendation by spinning up a new droplet and migrated the snapshot droplet to the new one. however, the ubunta, php and mysql are still the old ones. Isn’t it true that all the newly created droplets have the latest ubunta, php and mysql installed? If not, how can we install the latest ubunta, php and mysql versions? any idea?

thanks in advance.

tom

this upgrade broke my droplet, and of course, Digital Ocean support claims that they have nothing to do with the posted do-release-upgrade script. This is the second time that a droplet has been broken by digital ocean’s spotty upgrade procedures.