I edited the version string in the config.php file from 9.1.6 to 9.1.5 and the update to 10.0.5 went through without a problem. I then updated from 10 to 11 and finally Nextcloud 12 with the internal updater which worked without a problem.
That may work, but Iâm not prepared to potentially screw up my database in more or less subtle ways by doing this hacky workaround. Thus, Iâm requesting an officially tested migration process.
I also get the error "NC11: âException: Updates between multiple major versions and downgrades are unsupported. Update failed.â I am migrating from OwnCloud 9.1 to NextCloud 11.0.3.
This thread also discusses that error:
Also see this bug:
Is there any new information from the NextCloud development team on this?
@alfred Thanks, I guess itâs practically deemed safe to upgrade by changing the version info in config.php then (and, from what I gather, possibly in the version.php file too). I will test this within the next few days.
Make a dump of the database before upgrading and make a backup of everything important (config and data folder most of the time) in case something goes wrong. Staying on the safe side is always a good practice.
So I successfully migrated to Nextcloud 11.0.3 using the version modification trick in config.php. My process was:
From Owncloud 9.1.6 -> Nextcloud 10.0.5
download/verify/unpack Nextcloud 10.0.5
copy config.php from /owncloud/config and change version to 9.1.5.1
run occ upgrade
From Nextcloud 10.0.5 -> 11.0.3
download/verify/unpack Nextcloud 11.0.3
copy config once more
run occ upgrade
The only hiccup I got was nextcloud not redirecting properly, particularly when typing https://example.com/nextcloudwithout the slash at the end. On my other server also running nextcloud, the apache access.log revealed two 302 redirects when accessing the nextcloud instance in the same way: one from /nextcloud to /nextcloud/, and one more from /nextcloud/ to /nextcloud/login.
Turns out I had forgotten to modify the âoverwrite.cli.urlâ and âhtaccess.RewriteBaseâ settings in config.php to reflect the move from /owncloud to /nextcloud. Afterwards I ran âocc maintenance:update:htaccessâ and it all seems to work as expected.
So now Nexctcloud 10.0.6 is out and as mentioned here, upgrade from Owncloud 9.1.6 should work with that. But there ist no hint in the changelog. Does anybody know if it works out of the box now?
Hi Lukas Reschke, Iâm thinking of migrating from ownCloud 10.0.3 to nextCloud 12.0.3
Is this a supported migration path and if so should I just follow the usual upgrading steps as shown in your post?
Thanks,
Cliff
12.0.4 is in RC2, we thought there was an issue but we canât reproduce so while we will make a RC3 (better safe than sorry), we are 99% sure going to publish it on Monday.
This version will allow upgrading from oC 10.0.4 and earlier to Nextcloud.
Still seems like the migration script in https://nextcloud.com/migration/ is broken for owncloud 10.0.3.
Any suggestions how to migrate to nextcloud 12.0.4?
Iâm trying to migrate from ownCloud 10.0.3.3 to Nextcloud 12.0.4 but get the error:
Current version is 10.0.3.
Could not determine migration path to Nextcloud.
I have been waiting for Nextcloud 12.0.4 as I understood this would support migration from ownCloud 10.0.3.
Am I wrong or am I doing something wrong?
Thanks,
Cliff