My Ghost droplet currently uses Ubuntu 18.x. I want it to have the latest LTS before upgrading Ghost to 5.1.1. However, the OS upgrade keeps failing the do-release-upgrade part.
What I’ve done so far:
Exported the site’s content via Settings – Lab – Export
Tarballed, downloaded /var/www/ghost/content to my local machine
Run apt update, apt upgrade, and apt dist-upgrade in order. No errors.
Run do-release-upgrade. Has errors on non-Ubuntu repos. (Not sure which)
Additionally, I tried not upgrading my OS and just upgrading Ghost to 5.1.1 from 4.48.1. Upgrading fails due to mysql missing from the system.
Any ideas how to proceed?
Getting a new droplet with newer components is also welcome, but I am afraid of losing data/content from doing so.
You could also just run the database as a docker container and the rest as a local installation if you prefer to not use docker for Ghost for some reason.
That way you do not have to wait for your distro to update packages or update the distro.