Unable to upgrade to 17.0.2

I am running 17.0.1 via a docker on an unRaid. Recently, while trying to upgrade to 17.0.2 I ran into some server issues that triggered an unplanned reboot and parity check. Now, if I try to upgrade to the next version I am getting similar messages:

Update to 17.0.2

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

Detailed logs

The update was unsuccessful. For more information check our forum post covering this issue.

I tried both the GUI and command line upgrade with no change. From the Command Line I get the following:

root@Tower:~# docker restart nextcloud
nextcloud
root@Tower:~# docker exec -it nextcloud bash
root@57b811f8c60c:/# sudo -u abc php7 /config/www/nextcloud/occ 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
Set log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level

Is there anything that I can do to get out of this loop and go though a successful upgrade?

And what’s the output on a occ repair ?

I am terribly sorry, but I am novice. How do I issue that?

To use the Nextcloud command-line interface (aka. occ command):

$ docker exec --user www-data CONTAINER_ID php occ

or for docker-compose:

$ docker-compose exec --user www-data app php occ

I am going to try. Thank you.

Tried. Really not sure how to get that command through… in the CLI I am getting:

root@675618a756fb:/# docker-compose exec --user www-data app php occ
bash: docker-compose: command not found

try smthg like this
docker exec --user www-data nextcloud php occ maintenance:repair

I will give it a shot later today. Thank you very much!