FS#71549 - [nextcloud] nextcloud is currently not compatible with mariadb 10.6.x
Attached to Project:
Community Packages
Opened by Gunnar Bretthauer (Taijian) - Monday, 19 July 2021, 20:42 GMT
Last edited by David Runge (dvzrv) - Sunday, 20 February 2022, 13:47 GMT
Opened by Gunnar Bretthauer (Taijian) - Monday, 19 July 2021, 20:42 GMT
Last edited by David Runge (dvzrv) - Sunday, 20 February 2022, 13:47 GMT
|
Details
Description:
After the upgrade of mariadb to 10.6.3 today, nextcloud refused to update to 22.0.0-2. I have tracked this down to this issue [1] with the following solution [2]. Users should be encouraged to create a drop-in config snippet in /etc/my.cnf.d/ setting innodb_read_only_compressed=OFF. Ideally, this could be part of this package. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1. Upgrade mariadb to 10.6.x 2. Try to invoke the occ script. [1] https://github.com/nextcloud/server/issues/27085 [2] https://help.nextcloud.com/t/new-setup-docker-compose-not-working/115673/5 |
This task depends upon
Closed by David Runge (dvzrv)
Sunday, 20 February 2022, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with mariadb >= 10.6.6 (by mariadb upstream not hard-deprecating the feature)
Sunday, 20 February 2022, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with mariadb >= 10.6.6 (by mariadb upstream not hard-deprecating the feature)
EDIT: I also read that the incompatibility will probably not be fixed until Nextcloud 23, so a proper fix would probably be preferrable compared to everybody being hit by this issue.
```
[mariadb-10.6]
innodb_read_only_compressed=OFF
```
It seems there is not much we can do about it for now.
I have added a section in the troubleshooting section to address this: https://wiki.archlinux.org/title/Nextcloud#Issues_with_mariadb_%3E=_10.6
mariadb seems to have switched their position on the deprecation and removal. The release notes[1] for 10.6.6 states the following: Allow seamless upgrade despite ROW_FORMAT=COMPRESSED[2]
It was also mentioned in the issue of the nextcloud server repo[3]
So as of mariadb 10.6.6 and above (in repos) this should not be of concern anymore.
_____________
[1] https://mariadb.com/kb/en/mariadb-1066-changelog/
[2] https://jira.mariadb.org/browse/MDEV-27736
[3] https://github.com/nextcloud/server/issues/25436#issuecomment-1029160363