I’m having an issue similar to what is shown here but the solution listed doesn’t appear to solve the problem I’m having.
The docker container is outputting this on repeat
cat: /var/run/mysqld/mysqld.pid: No such file or directory
mysqld_safe Logging to '/config/databases/1d082ea97aca.err'.
mysqld_safe Starting mariadbd daemon with databases from /config/databases
Caught SIGTERM signal!
This is the error in the specific .err file
240509 18:57:47 mysqld_safe Starting mariadbd daemon with databases from /config/databases
2024-05-09 18:57:47 0 [Note] Starting MariaDB 10.11.6-MariaDB-log source revision fecd78b83785d5ae96f2c6ff340375be803cd299 as process 23275
2024-05-09 18:57:47 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
2024-05-09 18:57:47 0 [Note] InnoDB: Number of transaction pools: 1
2024-05-09 18:57:47 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2024-05-09 18:57:47 0 [Note] InnoDB: Using Linux native AIO
2024-05-09 18:57:47 0 [Note] InnoDB: Initializing buffer pool, total size = 256.000MiB, chunk size = 4.000MiB
2024-05-09 18:57:47 0 [Note] InnoDB: Completed initialization of buffer pool
2024-05-09 18:57:47 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
2024-05-09 18:57:47 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=31102774935
2024-05-09 18:57:47 0 [Note] InnoDB: End of log at LSN=31118098697
2024-05-09 18:57:47 0 [ERROR] InnoDB: Cannot apply log to [page id: space=561, page number=3] of corrupted file './nextcloud/oc_appconfig.ibd'
2024-05-09 18:57:47 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2024-05-09 18:57:47 0 [Note] InnoDB: Starting shutdown...
2024-05-09 18:57:48 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-05-09 18:57:48 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-05-09 18:57:48 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-05-09 18:57:48 0 [ERROR] Aborting
240509 18:57:48 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
It seems like a file in my nextcloud database is corrupted and preventing the start. Can it be repaired or deleted or something along those lines to be recreated for the database as a whole to start up again?