-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gather upgrade hoelle/nextcloud howto's #54
Comments
I never needed such things to do. my
no |
I am uncertain what mariadb:10 is exactly pointing at. But I could very possibly be the latest of version 10, which is 10.6 - Maria-DB Description on Docker-Hub |
I also have my instances still on |
See nextcloud/server#25436. You should stay at |
Add documentation how to upgrade major version
tldr; I've found the solution to the specific problem. It would be nice to gather more documentation to help other users.
Description
I've been happily using hoellen/nextcloud with mariadb:10 since at least Version 19.
The only thing that bugs me is the uncertainty with switching versions. I've just yesterday upgraded from 20.0 to 21.0 (worked fine) and from 21.0 to 22.0 (Login worked but failed to show dashboard showing a error msg)
Running
docker-compose exec --user 991 nextcloud php /nextcloud/occ update:check
returned some messages and the first error wasSearching with google I've found https://www.reddit.com/r/NextCloud/comments/ncz7t6/error_when_upgrading/ with the mention to add
innodb_read_only_compressed=OFF
tomysql.cnf
Which I translated with https://mariadb.com/kb/en/innodb-system-variables/ to the command-line argument
--skip-innodb-read-only-compressed
So I've added the command to the
docker-compose.yml
which now looks like this:Adding this command and calling
docker-compose up -d
gave me working 22.0 (yay!).Looking back
Looking at the file I already had added the two other commands
probably (can't remember exactly) they where needed for the 19.0 to 20.0 upgrade.
Conclusion
Finding those commands did take some time and it would be nice for other users if there was a place to gather them.
The text was updated successfully, but these errors were encountered: