kegan
By:
kegan

Should I do-release-upgrade to 16.04.2 LTS?

April 21, 2017 379 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?

1 Answer
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).

Have another answer? Share your knowledge.