Skip to content

MariaDB not starting with ampache:5.6.2 #102

@theTendo

Description

@theTendo

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.

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions