When trying to switch fom Owncloud 9.1.6 to Nextcloud I get the following error:
Current version is 9.1.6.
Migration to Nextcloud 10.0.5 available.
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-10.0.5.zip
Check for expected files
Check for write permissions
Enable maintenance mode
Downloaded version is lower than installed version
I tried to make the upgrade manually with the same problem…
When I Try to manually upgrade to Nextcloud 11 I get the Error:
Exception: Updates between multiple major versions and downgrades are unsupported.
In my case it was the same problem. As a workaround I modified the version of my owncloud virtually to 18.104.22.168. This can be done by modifying the file config/config.php in your owncloud installation directory (modify the string ‘version’ => ‘22.214.171.124’ to ‘version’ => ‘126.96.36.199’). After this you are able to manually install nextcloud (haven’t tried this with the installer method).
Maybe you are right and it was luck. But in my case the written down method worked fine. All apps (Calendar, Contacts, Files) are running without problems. The update to newest NextCloud 11.0.3 after checking NextCloud 10.0.5 went also fine.
Anyway thanks you for your hint … this could be a problem on other installations.
I’m also interested in how this is going to be addressed… I didn’t even know about Nextcloud last week when I updated ownCloud through my package manager to 9.1.6 as usual, and suddenly the calendar app was throwing an error. I Googled that and found out it’s probably not being supported for ownCloud. So I looked at Nextcloud migration and it told me that it can upgrade 9.1.* to Nextcloud 10, and even the update script told me that an upgrade from 9.1.6 to 10.0.5 is possible, and created a backup. Then it failed in the middle of it, and I couldn’t find any information on whether there’ll even be a Nextcloud 10.0.6 or if I somehow need to fix this manually.
Some sort of statement or link to current plans would be appreciated, because now my calendar hasn’t been working for a week because the app was left in a broken state.
Searching this forum i see this problem in this thread is not new, it have happened for other users for an earlier version too.
The bug here is in your instructions, that clearly say the latest point releases should be used when migrating:
… Nextcloud 10.0.x as an upgrade to ownCloud 9.1.x
These are some examples of an upgrade path. The minor release (.x below) should always be the latest bugfix release.
So you (accidentally) fool admins to update ownCloud to latest point release even when it is known not to be compatible when NC point release is behind!
What it really should add is something like: the Nextcloud point release must not be lower than the ownCloud point release. Exampe: Nextcloud 10.0.5 is NOT compatible with ownCloud 9.1.6.
Please correct your migration guide ASAP before more people get fooled!
@Morgano thanks for filing the issues. The Nextcloud updater should ignore minor versions (the .5 vs .6) on migration between different products (oC to Nc), but apparently something is wrong. It might be that oC didn’t properly set the vendor on install or update, there was a bug with that. Once 10.0.6 is out it should of course work but this isn’t nice so we have to look if we can work around it…
I modified version.php to refer to 188.8.131.52 which worked for me but didn’t work for a user on twitter. We have to fix the migration script… The upgrade itself, if you manually replace the files that is, does work.