Version upgrade from 22.2.10 to Nextcloud 23.0.12 according to admin page possible creates the error
You may use your browser or the occ upgrade command to do the upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Way is this?
it dons not make sence to me and I can also not find any clear instructions way this message appears on the Web
Thanks for the help
Can you clarify what you did immediately before trying to run occ upgrade on the command line? That is, how did you deploy the code update? Or, better yet, post your updater.log file (unless you did a manual update).
Please also post the contents of your config.php (make sure to censor your passwords and secret).
I downloaded the package nextcloud-23.0.12.zip from the internet and unpacked it on the server.
renamed the old installation to old-nextcould moved the unpacked code in nextcloud to the place of the installation location, and copied the config.php file from the old installation into the new one
then I executed the frollowing connads
/usr/local/php80/bin/php occ maintenance:mode --on
/usr/local/php80/bin/php -c …/.user.ini occ upgrade
and this is giving me the error message after few seconds
I can not upload the file so here the content of the config.php file
Hope this is helping
PS: The updater.log is used by the updater.phar file correct?
I can not use this then it always runs on case 5 verify in a error, so I switched to occ command, that worked on the update from 22.0.x to 22.2.10. but the next update will not run and I would like to update until the latest version.
Thanks a lot for the help
Installation method is full manual then I’m on a OS: FreeBSD 13.2
I inherit this installation from a previous maintainer, I’m not sure nextcloud officially support FreeBSD 13.2.
But it run until now very stable, but know I have to upgrade because of losing PHP 8.0 support
PS: I fixed the apps issue thanks for the hint:
Now I still have this messages what dos this mean?
Where do I have to fix them Apache or nextcloud installation?
Security & setup warnings
It is important for the security and performance of your instance that everything is configured correctly. To help you with this, we carry out some automatic checks. You can find more information in the linked documentation.
There are some warnings in your system configuration.
The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For more security, it is recommended to enable HSTS as explained in the security notes.
Your web server is not configured correctly to resolve “/.well-known/webfinger”. You can find more information on this in our documentation .
Your web server is not configured correctly to resolve “/.well-known/nodeinfo”. You can find more information on this in our documentation .
No PHP memory cache has been configured. If available, configure a memory cache to increase performance. Further information can be found in our documentation .
Well this is the issue, when ever I tray to start the 23.0.12 upgrade I do not get very far.
Exception: Updates between multiple major versions and downgrades are unsupported.
And I have no clue way, especially it pops up just immediate after I start occ.
Dos occ write some logs?
And where can I find this logs?
Thanks for the help
I took over the nextcloud Installation at version 22.1.1
then I could upgrade the installation to version 22.2.10 with success.
then I tried the upgrade to 23.0.12, then I run in this wired error message.
So I went back to the 22.2.10 and then your advice helped to fix the issues that I overlooked.
then I tried again to upgrade the installation to 23.0.12, but I still have the same error.
So I still try to figure way, until now I could not find a message with more information way I get this error:
Exception: Updates between multiple major versions and downgrades are unsupported.
So how can I find out what is the reason for this message
So thanks for any pointers