Hi! I am running mailcow version 2023-05a. It was working fine until the last update. After the last update, I am unable to start the server.
All of the docker containers start successfully, but after they have all started, all of the containers are spamming “Waiting for database/SQL server”.
The error messages:
mailcowdockerized-php-fpm-mailcow-1 | Waiting for SQL...
mailcowdockerized-postfix-mailcow-1 | Waiting for database to come up...
mailcowdockerized-watchdog-mailcow-1 | Waiting for SQL...
mailcowdockerized-rspamd-mailcow-1 | Waiting for PHP on port 9001...
mailcowdockerized-sogo-mailcow-1 | Waiting for database to come up...
mailcowdockerized-dovecot-mailcow-1 | Waiting for database to come up...
Now the weird thing is that the database docker container starts fine, and does not throw any exceptions or errors into the log.
SQL log:
2023-06-29 11:10:58+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.21+mariaubu2004 started.
2023-06-29 11:10:59+02:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2023-06-29 11:10:59+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.21+mariaubu2004 started.
2023-06-29 11:11:00+02:00 [Note] [Entrypoint]: MariaDB upgrade not required
2023-06-29 11:11:00 0 [Note] Starting MariaDB 10.5.21-MariaDB-1:10.5.21+mariaubu2004 source revision bed70468ea08c2820647f5e3ac006a9ff88144ac as process 1
2023-06-29 11:11:00 0 [Note] InnoDB: Uses event mutexes
2023-06-29 11:11:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2023-06-29 11:11:00 0 [Note] InnoDB: Number of pools: 1
2023-06-29 11:11:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2023-06-29 11:11:00 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2023-06-29 11:11:01 0 [Note] InnoDB: Using Linux native AIO
2023-06-29 11:11:01 0 [Note] InnoDB: Initializing buffer pool, total size = 25165824, chunk size = 25165824
2023-06-29 11:11:01 0 [Note] InnoDB: Completed initialization of buffer pool
2023-06-29 11:11:01 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=57167829,57167829
2023-06-29 11:11:01 0 [Note] InnoDB: 128 rollback segments are active.
2023-06-29 11:11:01 0 [Note] InnoDB: Removed temporary tablespace data file: “ibtmp1”
2023-06-29 11:11:01 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-06-29 11:11:01 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
2023-06-29 11:11:01 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.
2023-06-29 11:11:01 0 [Note] InnoDB: 10.5.21 started; log sequence number 57167841; transaction id 565394
2023-06-29 11:11:01 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2023-06-29 11:11:01 0 [Note] InnoDB: Buffer pool(s) load completed at 230629 11:11:01
2023-06-29 11:11:02 0 [Note] Server socket created on IP: ‘::’.
2023-06-29 11:11:02 0 [Note] mysqld: ready for connections.
Version: ‘10.5.21-MariaDB-1:10.5.21+mariaubu2004’ socket: ‘/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
2023-06-29 11:11:02 1 [Note] Event Scheduler: scheduler thread started with id 1
Please help me with this. I need to resolve this quickly.
Thanks in advance!
Edit: Marked SQL log as quote because it was hard to read as code.