I have an issue with my mailcow instance. The mysql container does not start anymore.
So I see the webpage ‘502 Preparing’ all the time.
I tried to reset the mysql password from this posting: https://community.mailcow.email/d/126-waiting-for-database-to-come-up
Detailed: https://mailcow.github.io/mailcow-dockerized-docs/debug-reset_pw/
Overall it does not work because it tells me that the ‘./ibtmp1’ is with 12 MB too big and needs to be purged.
# docker-compose run --rm --entrypoint '/b in/sh -c "gosu mysql mysqld --skip-grant-tables & sleep 10 && mysql -hlocalhost -uroot && exit 0"' mysql-mailcow
Starting mailcowdockerized_unbound-mailcow_1 ... done
Creating mailcowdockerized_mysql-mailcow_run ... done
2020-10-14 18:01:27 0 [Note] mysqld (mysqld 10.4.15-MariaDB-1:10.4.15+maria~foca l) starting as process 6 ...
Cannot find checkpoint record at LSN (1,0x11c7fe2)
2020-10-14 18:01:27 0 [ERROR] mysqld: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files
2020-10-14 18:01:27 0 [ERROR] Plugin 'Aria' init function returned error.
2020-10-14 18:01:27 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE fai led.
2020-10-14 18:01:27 0 [Note] InnoDB: Using Linux native AIO
2020-10-14 18:01:27 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtin s
2020-10-14 18:01:27 0 [Note] InnoDB: Uses event mutexes
2020-10-14 18:01:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-10-14 18:01:27 0 [Note] InnoDB: Number of pools: 1
2020-10-14 18:01:27 0 [Note] InnoDB: Using generic crc32 instructions
2020-10-14 18:01:27 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabli ng future attempts)
2020-10-14 18:01:27 0 [Note] InnoDB: Initializing buffer pool, total size = 24M, instances = 1, chunk size = 24M
2020-10-14 18:01:27 0 [Note] InnoDB: Completed initialization of buffer pool
2020-10-14 18:01:27 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-10-14 18:01:29 0 [Note] InnoDB: 128 out of 128 rollback segments are active .
2020-10-14 18:01:29 0 [Note] InnoDB: Creating shared tablespace for temporary ta bles
2020-10-14 18:01:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Phys ically writing the file full; Please wait ...
2020-10-14 18:01:29 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-10-14 18:01:29 0 [Note] InnoDB: Waiting for purge to start
2020-10-14 18:01:29 0 [Note] InnoDB: 10.4.15 started; log sequence number 123213 933; transaction id 307118
2020-10-14 18:01:29 0 [ERROR] Failed to initialize plugins.
2020-10-14 18:01:29 0 [ERROR] Aborting
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run /mysqld/mysqld.sock' (2)
How to purge that file?