When I log into Digital ocean, I’m suggested to run
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: 22.214.171.124
Swap usage: 28% IP address for docker0: 172.17.0.1
Graph this data and manage this system at:
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.
That issue is easy to solve out. Upgrading only disk space to next level and after upgrading going back to old.
But if the droplet is pure Discourse the safiest and fastest way is start a fresh one and then restoring that forum.
16.04 is beyond end of life.
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.
Actually can. Or am I misunderstood something and mixing CPU and disk
I need more coffee. Only CPU and RAM can be downgrade.
Thanks for confirming! I didn’t think that had changed, but you sounded so sure.
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.