Upgrading to a New LTS Release
When you SSH into your server, you might see a message that looks like this:
In this case, the server is running Ubuntu 18.04 LTS, but a new LTS release, 20.04 is available to upgrade. When you see a message like this, it can be tempting to upgrade to the newest LTS release, thinking you’ll be getting the latest and greatest updates.
We strongly recommend against upgrading a server this way for a few reasons. However, we can recommend the following options:
Option 1: Start Fresh
Instead of upgrading your server, we strongly recommend spinning up a fresh new server and copying your sites over to it. This allows you to test that a site works on the new server before flipping the switch on your DNS and sending traffic to it.
Yes, I know, it’s tedious and time-consuming to move a site to another server but SpinupWP makes it much easier with the Move Site feature.
Option 2: Stay on Ubuntu 18.04 or 20.04
Ubuntu 18.04 LTS and 20.04 LTS will continue to receive security updates until April 2023 and April 2025 respectively, so it’s completely fine to continue running either for now. If you’re on 18.04 LTS, you should at least be thinking about moving to 22.04 LTS, but if you’re on 20.04 LTS, there’s no rush to move to a 22.04 server.
We’ll definitely give you a gentle nudge in the future if you’re still running a version of Ubuntu that’s approaching end of life (EOL), followed by a far less gentle nudge if you haven’t upgraded by the EOL date. ????