When I log into Digital ocean, I’m suggested to run do-release-upgrade.
Any gotchas?
I’ve got about 7 GB of free disk space.
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-210-generic x86_64)
System information as of Sun Oct 16 05:12:48 EDT 2022
System load: 0.03 Processes: 144
Usage of /: 75.2% of 29.40GB Users logged in: 0
Memory usage: 81% IP address for eth0: 192.241.224.165
Swap usage: 28% IP address for docker0: 172.17.0.1
Graph this data and manage this system at:
https://landscape.canonical.com/
49 packages can be updated.
2 updates are security updates.
New release '18.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
My guess is that do release upgrade would fail anyway cause you don’t have enough space.
Not sure what the exact number is but I just upgraded a much newer version of ubuntu and I needed to free a huge amount of space for it to let me through.
Stuff is all in Docker so risk is not super high, you can always just copy some folders onto a clean install and start from scratch if needed.
22.04 is the latest LTS, you are many versions behind.
You’ll need to resize your disk. You cannot resize to a smaller disk, so once you go bigger you cannot go smaller. You probably want to switch to a newer cpu anyway.
If you don’t care about down time, the upgrade will likely work fine.
If you create a new droplet you can switch with only read only time (if you copy the ssl certs over) and if something goes wrong, you just keep using the old one.
do-release-upgrade won’t work on 16.04. You may take a full backup of discourse and move to a newer server running latest LTS release of ubuntu or debian.