Your Setup:
- Self-Hosted / Docker on Debian 13 / Proxmox virtual machines
- SeaTable Enterprise 5.3.12 (to 6.0.10)
Describe the Problem/Error/Question:
After some very hard debugging sessions, I have finally come to the point where I can point my finger to the cause: The auto-upgrade of the MariaDB database beyond 11.6-noble crashes, and even crash recovery fails. The only way to get back is the recovery of a backup.
Steps to reproduce
Simple version for debugging purposes, happens on live data as well:
- Set up fresh Seatable 5.3.12 from scratch
- Upgrade to Seatable 6.0.10 in the prescribed way, using MariaDB 11.6-noble image: Works
- Upgrade to Seatable 6.0.10 in the prescribed way, using MariaDB 11.7-noble or higher image (Release notes: 11.8.3): Total mess
- Upgrade container with upgraded 11.6. database to 11.7-noble with
MARIADB_AUTO_UPGRADE=1: Seatable works, but MariaDB health check fails due to missing user “healthcheck“
Error Messages:
Messages for successful upgrade < 11.7
2025-11-26 14:14:06 0 [Note] mariadbd: ready for connections.
Version: '11.6.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
2025-11-26 14:14:07+01:00 [Note] [Entrypoint]: Temporary server started.
2025-11-26 14:14:07+01:00 [Note] [Entrypoint]: Backing up system database to system_mysql_backup_11.4.3-MariaDB.sql.zst
2025-11-26 14:14:07+01:00 [Note] [Entrypoint]: Backing up complete
2025-11-26 14:14:07+01:00 [Note] [Entrypoint]: Starting mariadb-upgrade
The --upgrade-system-tables option was used, user tables won't be touched.
Major version upgrade detected from 11.4.3-MariaDB to 11.6.2-MariaDB. Check required!
Phase 1/8: Checking and upgrading mysql database
Processing databases
mysql
mysql.column_stats OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.global_priv OK
mysql.gtid_slave_pos OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.index_stats OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.roles_mapping OK
mysql.servers OK
mysql.table_stats OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.transaction_registry OK
Phase 2/8: Installing used storage engines... Skipped
Phase 3/8: Running 'mysql_fix_privilege_tables'
Phase 4/8: Fixing views... Skipped
Phase 5/8: Fixing table and database names ... Skipped
Phase 6/8: Checking and upgrading tables... Skipped
Phase 7/8: uninstalling plugins
Phase 8/8: Running 'FLUSH PRIVILEGES'
OK
2025-11-26 14:14:12+01:00 [Note] [Entrypoint]: Finished mariadb-upgrade
2025-11-26 14:14:12+01:00 [Note] [Entrypoint]: Stopping temporary server
Error for upgrade to MariaDB 11.7 (differences):
2025-11-26 14:19:26 0 [Note] mariadbd: ready for connections.
Version: '11.7.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
2025-11-26 14:19:27+01:00 [Note] [Entrypoint]: Temporary server started.
2025-11-26 14:19:27+01:00 [Note] [Entrypoint]: Backing up system database to system_mysql_backup_11.6.2-MariaDB.sql.zst
mariadb-dump: Got error: 2002: "Can't connect to server on 'mariadb' (115)" when trying to connect
2025-11-26 14:19:27+01:00 [ERROR] [Entrypoint]: Unable backup system database for upgrade from 11.6.2-MariaDB.
So obviously, the backup can’t be created, because the temporary server is not reachable? What has changed from MariaDB 11.6 to 11.7? Has somebody encountered this before? Is there a fix?
Most important: Will Seatable run with MariaDB 11.6 until a fix is found. Is the upgrade to 11.8.3 purely hygienic, or functional?
And, for the MariaDB Experts out there: Is the Backup an integral part of the update procedure, or just in case something goes wrong? Because, as it turns out, I need a separate backup anyway, because the failed upgrade leaves the database in a corrupt state.
So in case I could turn off the backup stage, and thus make the big step from 11.6 to 11.7 and beyond, I would consider it.