When starting flexifyio/ce:2.12.16 or right later after upgrading from flexifyio/ce:2.12.15 or earlier., it is possible that container fails to start with a error in the sql.log:
[ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.3.38. You must start up and shut down MariaDB 10.4 or earlier on the data directory.
This happens because in version pre-2.12.16 it was possible that MariaDB was not shut sown properly when container is stopped.
To fix the issue, start flexifyio/ce:2.12.15 and manually shutdown MariaDB:
$ docker exec -it <container-id> bash
# kill $(pidof mysqld)
After that flexifyio/ce:2.12.16 or later should be able to start and upgrade the database to the newer version.
Comments
0 comments
Please sign in to leave a comment.