kegan
By:
kegan

Should I do-release-upgrade to 16.04.2 LTS?

April 21, 2017 1.2k views
DigitalOcean Django Miscellaneous Server Optimization Ubuntu

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?

2 Answers
jtittle1 April 21, 2017
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).

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.

  • do-release-upgrade is something controlled by Canonical (https://www.canonical.com/) The company that builds and supports Ubuntu. All I can say is before you do ANY upgrades. Use digitaloceans amazing snapshot service. Just make a snapshot. Do the upgrade, if it fails or breaks no harm no foul. Just revert to the snapshot and you are back up and running!

Have another answer? Share your knowledge.