@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 18.104.22.168
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.
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?
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.
Strategy question: Migration from Owncloud to Nextcloud
Dear Nextcloud community,
I am new to Nextcloud and currently running an Owncloud server.
I would like to migrate to Nextcloud - however, I do not fully understand what is the best strategy here.
I am looking at this issue for quite a while now, and if I got this right there is/was never a way to migrate from the current (stable) version of Owncloud (e.g. 10.0.6) to Nextcloud, right?
Even for the new Nextcloud 13 it does not work to migrate from Owncloud 10.0.6.
The Migration Tool works, but after that I get the error that the upgrade is not supported.
To the Nextcloud Team: What is the current strategy here: Do I have to stop updating Owncloud and then wait until Nextcloud supports the migration to the outdated Owncloud version or are there any plans to support an migration from a current release?
That’s the only strategy for similar internal versions of NC and OC (NC 12 and OC 10). For NC 13, this should be easier and a bit less dependend on the actual version. However, the migration app requires a specific migration path to be added.
For NC 13, the best is to ask a migration path in the repo of the migration tool:
If you want to test migration and check for problems before, I’d use a small test setup with similar config to your real setup. Manual migration should work (like a manual major upgrade: delete everything but the config and data folder, place code from NC 13, fix permissions and run occ upgrade from terminal).
We currently have a working OC-10.x with users and data I’m looking to replace with Nexcloud instead.
Problem is this OC-server initially started out as a test-server and a show-case - just a plain vanilla setup using sqlite, and was received with clamor by the users. It follows I never got the chance to tweak it properly with mysql or mariadb instead of test-casing it with sqlite…
I’m now between the proverbial rock and the hard place and torn between options.
Basically, is there a easy-ish way to have NC using mysql and also retain the current users and data?
Is there a way to do this at all?
Is there any possibility to migrate from OwnCloud 10.7.4 I tried to automatically upgrade through web interface tool, everything went good exect that after all I got message:
This version of Nextcloud is not compatible with > PHP 7.2.
You are currently running 7.3.6.
Than I tried manually (from CLI) migrate to Nextcloud 12 with the same result, and to Nextcloud 21 and that I got message: Migration between maior version…
I also tried to upgrade to 20.0.4 but got the same message:
Updates between multiple major versions and downgrades are unsupported.