-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update from 22 to 23 failed b/c of exception: Updates between multiple major versions are unsupported #1652
Comments
In my case setting config.php to version "23.0.0.10" helped. (this version was the output of occ version) |
You can try the following:
Then you can execute the following: And: Basically a normal manual upgrade. Note: this is less than ideal. It is bad practice and I would not recommend it. |
I ran into this coming from I followed the instructions in this blog post and was able to fix the version numbers and pull the latest |
worked for me. Full steps below: 1- |
I had the same problem from 22.1.1 to 23, but after upgrading to 22.2.3, then it goes ok to 23. |
I had the same problem, this fixed it for me, thank you! |
This also worked for me. The blog post does a good job of explaining it. |
So when will this be fixed? |
@waterdrop01's fix almost solved the problem for me. I had to downgrade MariaDB to 10.5 because I was getting:
Once I downgraded MariaDB through docker, I was able to perform the nextcloud upgrade successfully. I'll be staying on So far it is running great. Thank you @waterdrop01 and the nextcloud team! |
Hey, this article was exactly what I was looking for! Thank you, also if for whatever reason you can't get apt to work on the docker container (my nextcloud is running within a TrueNAS environment) don't forget you can always ALWAYS use curl to download the binaries (for nano) directly. https://packages.debian.org/bullseye/amd64/nano/download |
I can confirm this is still an issue, coming from 23-25. This is a common problem that's going to get even more common as more people run nextcloud in docker - the following steps would end in a broken state:
Or on https://hub.docker.com/_/nextcloud
Basically the recommended install instructions lead to this bug. And the top google result for how to resolve (https://help.nextcloud.com/t/cannot-upgrade-docker-based-nextcloud/133345/4) has a moderator dismissing anyone that didn't read the manual which isn't a good look either. |
The same steps mentioned above works for latest release as well 1- docker exect -it xxx bash (enter the running container) |
Fixed in #2018 |
Hey,
i can't update to 23, because when i try so, i got the exception: Updates between multiple major versions and downgrades are unsupported.
But i'm at 22.
Unfortunately this exception is also bugged, after it stops the upgrade process, you're stuck in maintenance mode and you can't go back to your former version, because now it says "version of the data is higher than the docker image version". So your installation is corrupted.
The text was updated successfully, but these errors were encountered: