Description
With the release of Ghost v5 we have spent quite a lot of time carefully crafting update docs
However, they are for the recommended install method which is Ghost CLI. We use the CLI to do a lot of the legwork and prevent issues with updates.
With docker, I'm not sure there's any way we can do anything to prevent people updating incorrectly, but it seems there should probably be detailed update docs?
The critical details being:
- mysql8 is now the only supported database in production.
- updates across majors are only guaranteed to work if you update to the latest version in your major first.
To clarify that last point, if you're on 3.25.9, you need to update Ghost to 3.42.9 - including starting the server to trigger the migrations - before updating to v5.0.0.
Note: you don't have to cycle through every major - you don't have to upgrade to v4 first.
There's absolutely no way to guarantee you can update from any version to any version without data loss or corruption as there can always be bugs that are fixed in later versions 🤷♀️