Upgrade from 22.1.11 to 23.0.7 in docker failed

Hi there,

I wanted to upgrade my nextcloud running in docker. The last time I did this, i got burned because the upgrade skipped over major versionsā€¦ so I was cautious this time around.

Checked currently running version: 22.1.11
Newest version available: 24 !

So I added

a version number to my docker compose file

 nextcloud-app:
     image: nextcloud:23.0.7

then ran

docker-compose down
docker-compose pull
docker-compose up -d

Back online but in maintenance mode, looked online found others with the same issue. Solution:

sudo docker exec -it -u www-data 55090da6a189 bash -c ā€˜./occ maintenance:mode --offā€™

Nextcloud will be updated to version 23.0.7

Time to click ā€¦

Exception: Updates between multiple major versions and downgrades are unsupported.

Isnā€™t 22 ā†’ 23 the major version change I tried? What did I do wrong here?

1 Like

Similar issue holds for me. Did you found a solution yet?

please donā€™t post to ancient topics.
create new topic and provide relevant information according to support template, referencing similar issues you found.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.