Unable to update Ghost from 4.48 to 5.0.1 or 5.0.0

* Ghost - https://github.com/tryghost/ghost/compare/v4.48.0...v5.0.0
* Admin - https://github.com/tryghost/admin/compare/v4.48.0...v5.0.0

πŸͺ„ Love open source? We're hiring [Node.js Engineers](https://careers.ghost.org/product-engineer-node-js) to work on Ghost full-time

βœ” Fetched release notes
βœ” Downloading and updating Ghost to v5.0.0
βœ– Updating to a major version
An error occurred.
Message: 'SELECT value FROM settings WHERE `key` = "active_theme"; - SQLITE_ERROR: no such table: settings'```

I'm upgrading from docker and I've my database in pure MySQL 8

Don’t thanks to staff.

config.production.json is replaced after container update to generic, that’s why there was problems