Hi, after upgrading from Kubuntu 24.04 to 25.04 (plasma-desktop 5.27.11 to 6.3.4) I can not start akonadi (using akonadiserver 6.3.3)
The terminal output is:
akonadictl start
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl: done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: QList("--defaults-file=/home/nkoepke/.local/share/akonadi/mysql.conf", "--datadir=/home/nkoepke/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: ""
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: See "/home/nkoepke/.local/share/akonadi/db_data/mysql.err" for more details
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
The contents of mysql.err are:
2025-05-25T18:21:11.782707Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-05-25T18:21:12.005299Z 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2025-05-25T18:21:12.005351Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.5-0ubuntu0.1) starting as process 17922
2025-05-25T18:21:12.007955Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2025-05-25T18:21:12.007966Z 0 [Warning] [MY-013244] [Server] --collation-server: 'utf8mb3_general_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
2025-05-25T18:21:12.011303Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=134217728. Please use innodb_redo_log_capacity instead.
2025-05-25T18:21:12.012618Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-05-25T18:21:12.038874Z 1 [ERROR] [MY-012224] [InnoDB] Tablespace flags are invalid in datafile: ./ibdata1, Space ID:0, Flags: 21. Please refer to http://dev.mysql.com/doc/refman/8.4/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2025-05-25T18:21:12.038930Z 1 [ERROR] [MY-012237] [InnoDB] Corrupted page [page id: space=0, page number=0] of datafile './ibdata1' could not be found in the doublewrite buffer.
2025-05-25T18:21:12.038958Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Data structure corruption.
2025-05-25T18:21:12.537993Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-05-25T18:21:12.538207Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-05-25T18:21:12.538235Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-05-25T18:21:12.538967Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.5-0ubuntu0.1) (Ubuntu).
2025-05-25T18:21:12.538987Z 0 [System] [MY-015016] [Server] MySQL Server - end.
So there seems to be a problem with ibdata1 but I am not sure how to apply the steps described in http://dev.mysql.com/doc/refman/8.4/en/innodb-troubleshooting-datadict.html here.
Any help would be greatly appreciated and if any more information is needed or this should rather be filed as a bug report I would be happy to provide that/do so.