Great to hear! Thank you. Currently backing up OC and preparing manual update. Finger´s crossed. I´m trying to go from OC v10.0.6 to NC v.12.0.5 first, maybe later to NC v13.
Wanted to first use the Nextcloud migration tool. Downloads v12.0.4 and works great (everything green) until I trigger the migration using “occ upgrade”. Output here:
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
Exception: Updates between multiple major versions and downgrades are unsupported.
Maintenance mode is kept active
Reset log level
What´s wrong here? Unsupported OC-Version (v10.0.6) or another issue? As the server now is in some kind of “inbetween status” I´m looking forward to get help asap please (e. g. @Bernie_O).
Update: Regarding https://github.com/nextcloud/server/issues/6532#issuecomment-366469795 and https://github.com/nextcloud/server/issues/8256 I restored all backups and am now back on OwnCloud v10.0.6.1… waiting to get an upgrade path finally (!).
Sorry to hear, it did not work.
Do you use oauth2? Did you get the same error when upgrading as described here?
Edit: I just noticed that the upgrade paths from owncloud are completely missing in Nextcloud 13 and opened an issue for that:
After each release, all the migration paths need to be checked and for NC 13, the priorities were probably to make it run and fix the first issues before providing migration paths. If you can easily duplicate your setup for test, this might help to identify issues and report them to the developers.
I asked on github, to update the status of the possible migrations paths: https://github.com/nextcloud/nextcloud.com/issues/800
Yes I use Oauth2, even its implementation is some kind of buggy in OwnCloud (https://github.com/owncloud/client/issues/6258#issuecomment-364923944).
I get the same error yes. I didn’t try to migrate manually yet because I bet the result will be the same as with the migration tool which performs the same steps but in a much more convenient way.
Thanks for creating those issues on GitHub (that fast response is next to the almost seamless upgrade process one of the main reasons I want to leave OwnCloud after 5 years). I will wait and monitor the activities in those issue reports.
Testing in general is difficult. The migration stuff is even harder, you come a long way with owncloud and things might be broken at some point and it’s just impossible to check for everything. If you can spin up a copy (perhaps reduce the number of users and data), you can run some tests before migrating your productive system.
I would remove them, then install what you need from the Nextcloud app store.
WRT migrating to Nc 13, this hasn’t been tested yet. ownCloud is backporting a LOT of disruptive changes to their “stable” tree, which risks stability issues and makes migration harder - this really needs some real testing so it will take a while. I would suggest to upgrade to the latest Nextcloud sooner rather than later, as in - don’t upgrade ownCloud to newer versions but stay where you are until migration is possible.
That´s my plan. I accidentally upgraded to OC v10.0.6.1. I don´t think I can downgrade OC… so I won´t upgarde anymore and wait for a tested migration path to any NC version (12 is fine, from there it´s only a small step to NC v13 I guess).
I checked the apps against an unpacked release and found no differences. Disabling ldap and running the update then proceeded. I was able to configure ldap via the web interface and all is well. I am planning on staying at owncloud 10.0.4 until my final migration to nextcloud in the coming days.
I’m running owncloud 10.0.7 is there a way to migrate to nexcloud?
Not when you are using postgres
I’m not using postgres
Currently there is no official migration path from ownCloud 10.0.7 to Nextcloud. Maybe there will be when 13.0.1 is released (planned in March).
Migration might work though, if you change the version in your ownClouds config.php to one mentioned here: https://github.com/nextcloud/server/blob/v12.0.5/version.php#L40-L44 and then upgrade to Nextcloud 12.0.5
That is very likely to work, but no guarantee. Backup is urgently adviced before doing so! Backup-instructions for ownCloud can be found here: https://doc.owncloud.org/server/latest/admin_manual/maintenance/backup.html
Migration from oc 10.0.7.2 to nextcloud 12.0.5 fails
@Felix_Hohlwegler: you could change the version numbers in version.php from Nextcloud 12.0.5 to those: https://github.com/nextcloud/server/pull/8544/files
Also have a look at this comment:
EDIT: or wait for Nextcloud 12.0.6 to be released (planned in 2-3 weeks) which will make migration from ownCloud <= 10.0.7 to Nextcloud 12.0.6 possible.
What about https://github.com/nextcloud/server/issues/8256 - will this also be „fixed“ by the version.php hack?!?
is that sure that it will be released in 2-3 weeks and will the migration really works? if so I will wait