-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Hello, today I pulled the latest updates to the ampache:latest image and recreated the container (from 5.6.1 to 5.6.2).
With the update, Ampache says it can't connect to the database.
So I entered the container with docker exec -it ampache /bin/bash
to try to troubleshoot the issue. After realizing that the mariadb was unable to connect to the database socket as well, I impersonated the mysql user and run the daemon mariadbd
manually.
I got the following error trace:
mysql@e77fde1f84a0:/$ mariadbd
2023-07-17 19:16:02 0 [Note] Starting MariaDB 10.11.3-MariaDB-1 source revision as process 1534
2023-07-17 19:16:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
2023-07-17 19:16:02 0 [Note] InnoDB: Number of transaction pools: 1
2023-07-17 19:16:02 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2023-07-17 19:16:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2023-07-17 19:16:02 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2023-07-17 19:16:02 0 [Note] InnoDB: Completed initialization of buffer pool
2023-07-17 19:16:02 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
**2023-07-17 19:16:02 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.5.15. You must start up and shut down MariaDB 10.7 or earlier.
2023-07-17 19:16:02 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error**
2023-07-17 19:16:02 0 [Note] InnoDB: Starting shutdown...
**2023-07-17 19:16:02 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023-07-17 19:16:02 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.**
2023-07-17 19:16:02 0 [Note] Plugin 'FEEDBACK' is disabled.
**2023-07-17 19:16:02 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2023-07-17 19:16:02 0 [ERROR] Aborting**
Apparently "Upgrade after a crash is not supported. The redo log was created with MariaDB 10.5.15. You must start up and shut down MariaDB 10.7 or earlier.". So I've gone back to ampache:5.6.1 and everything works again.
I don't know if this issue affects only my setup or if it's a bug with new changes, but I wanted to bring attention to it to shed some light.