Fixing ghost
For those of you who don't know, I use Ghost to write this blog. While upgrading to the latest version of Ghost (5.50.0 at time of writing), my blog broken with the error message "We'll be right back"...
As a new comer to Ghost, I didn't know quite what to expect. My backup had also failed, but I had plowed on regardless. I use the lxc container from Turnkey linux on my proxmox install and had customized the install to include ghost-cli.
Upgrading I had just done a "ghost update", which had caused the errors. Running "ghost doctor" highlighted a few errors here and there, mostly permissions. Mostly no fixing the issue.
Eventually, I tracked down one issue being to the port number for ghost had somehow increamented by one. This meant nginx was now pointing to the wrong port. A minor edit of config.production.json later, and the port was corrected.
Upon restarting, the database connection appeared to be broken. It seems that the database type was "unsupported". I use mariadb, so this wasn't entirely unexpected, however, it was saying the mysql (and not mysql2) was one of the only supported databases. Updating the config to mysql fixed the issue and I was able to get the blog back up and running.
Now to get back to writing my blog post for the week....