Migration from Owncloud 9.1.6 to Nextcloud 10.0.6 fails


I want to migrate from my OwnCloud to the latest NextCloud Release, available as packages from OpenSuse (current is 12.0.2).

Following https://nextcloud.com/migration (“Note that ownCloud 9.1.6 breaks easy upgrading to Nextcloud 10.0.5. We will fix this in 10.0.6!”) I’ve started with downloading 10.0.6, and tried a manual upgrade.

Unfortunately this still breaks, with an issue similarly mentioned in several threads:

$ sudo -u wwwrun php occ upgrade
An unhandled exception has been thrown:
OC\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from to ()

Please advice how to solve this upgrade, hopefullly without “tweaking” versions in config.php or similar dirty tricks :slight_smile:

  • What exactly has been “fixed in 10.0.6”, I can’t find anything in the release notes.


I’m talking with Morris Jobke. I also think he broke something…

The only way to properly resolve this is to also update the version number in config/config.php from to right before the update script is triggered. Sadly fixing this on our side is a bit harder and this is the workaround.

1 Like

And additionally also the version.php needs to get this updated version in the line that starts with $OC_VERSION: Change the 9, 1, 6, 2 with an 9, 1, 6, 0. Then also this error should be gone:

Downloaded version is lower than installed version
1 Like

And I opened a PR to fix this situation and make the workarounds not needed anymore: https://github.com/nextcloud/server/pull/6492

1 Like

@MorrisJobke Thanks for your time today.