Install from docker fails due to mariadb failure

I have installed OwnCloud using docker compose on my machine. I used the instructions provided in the URL:

https://doc.owncloud.com/server/admin_manual/installation/docker/

When running it, I do a docker ps and I am seeing that the owncloud_mariadb container keeps restarting.I check the log of the owncloud_mariadb container, and get the following:

2021-07-10 17:58:17 0 [Note] mysqld (mysqld 10.5.11-MariaDB-1:10.5.11+maria~focal) starting as process 1 …
2021-07-10 17:58:17 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32190)
2021-07-10 17:58:17 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
2021-07-10 17:58:17 0 [Note] InnoDB: Uses event mutexes
2021-07-10 17:58:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-07-10 17:58:17 0 [Note] InnoDB: Number of pools: 1
2021-07-10 17:58:17 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2021-07-10 17:58:17 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2021-07-10 17:58:17 0 [Note] InnoDB: Using Linux native AIO
2021-07-10 17:58:17 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2021-07-10 17:58:17 0 [Note] InnoDB: Completed initialization of buffer pool
2021-07-10 17:58:17 0 [ERROR] InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.4.8.
2021-07-10 17:58:17 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2021-07-10 17:58:17 0 [Note] InnoDB: Starting shutdown…
2021-07-10 17:58:17 0 [ERROR] Plugin ‘InnoDB’ init function returned error.
2021-07-10 17:58:17 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2021-07-10 17:58:17 0 [Note] Plugin ‘FEEDBACK’ is disabled.
2021-07-10 17:58:17 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-07-10 17:58:17 0 [ERROR] Aborting

It is looking like I found a bug in the docker setup.Can someone correct me if I am wrong? How can I get this installation to start up?

Reproducing this problem is easy. Just

  1. download the docker-compose.yml file as described in the instructions.
  2. Create the .env file as instructed
  3. Enter docker-compose up -d
  4. Enter docker ps a few times. See the owncloud_mariadb container in a perpetual restarting state
  5. Enter docker logs owncloud_mariadb. See the failure(s) in the database (the number of failures you see depends on the number of restarts that occurred).

What should happen: The owncloud system should start
What actually happens: The database container keeps shutting down and restarting

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.