Nextcloud Database Collation Version Mismatch After Debian Upgrade
A Nextcloud user encountered a collation version mismatch error after upgrading their Debian server from version 12 to 13.
Following a Debian distribution upgrade from version 12 to 13, a Nextcloud user experienced a warning regarding a mismatch in database collation versions, specifically affecting the `nextcloud_db` database. The error arose after enabling maintenance mode and appeared to be related to a change in the underlying system library version, such as glibc.
The user, running Nextcloud version 33.0.10 on a PostgreSQL database within a KVM/QEMU virtual machine, found that standard troubleshooting steps often suggested for Docker environments were not applicable. The server utilizes Nginx and PHP version 8.4.
The user is considering reindexing the database and refreshing the collation version using SQL commands, but is unsure if this is the correct solution. The suggested commands are `REINDEX DATABASE nextcloud_db;` and `ALTER DATABASE nextcloud_db REFRESH COLLATION VERSION;`.