Migrating from ownCloud 10.x to NextCloud 12.x - or not, and if so, how?

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?

1 Like

Not when you are using postgres :frowning:

Iā€™m not using postgres

@Georg_Klimm what would be a solution to migrate?

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

2 Likes

@Felix_Hohlwegler you have read https://nextcloud.com/migration/ ?

@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

The scheduled release date is March 14th:


However: if the developers find bad bugs that urgently need to be fixed before the release and donā€™t get this done and tested it in time, it might be delayed.

@e-raser: sorry, I donā€™t know whether issue #8256 will be fixed as well.

I donā€™t know. Maybe check the milestones on GitHub. But really: itā€™s just one file which needs to be modifiedā€¦ so only this Version.php change is no big deal on the one, no guarantee for a successful migration on the other handā€¦

This worked for me! I faked the version to 10.0.4.4 and could successfully upgrade from OC 10.0.7 to NC 12.0.4 and then to 13.0.

With Postgres? @eehmke

1 Like

No, MySql / MariaDb

@tflidd I have stopped upgrading my OC on 10.0.3 since a year hope that there comes a safe way to migrate to NC
Is there NOW a way for migrating with postgres? My last try ends in restoring DB and OC-installation :frowning:

I donā€™t follow closly all migration problems closely and I donā€™t know if yours was handled in a bug reportā€¦ but during the last year they fixed a couple of issues. There is a tag in the bug tracker to see the still open issues:

Since it has been a hassle the last time, you could use a copy of your setup (Iā€™m not sure how much is verified, perhaps itā€™s enough to use a copy of the database and give it a fake empty file system structure, or you delete a couple of users). This requires some work but you are relatively sure that it will work later on your real system as well and if there is an error, you can easily run tests, file a bug report, ā€¦

I had some problems with issues originating from ownCloud 6, and for current Nextclouds they donā€™t go back to old ownCloud setups with all possible configurations / apps and all errors you might have encountered, ā€¦ for that reason I take a similar/derived setup (same apps/features used but not all the user data) that I test with new beta versions. Iā€™m quite eager to find issues and get them fixed before I upgrade my productive system. For me itā€™s a way to check out the new version and giving something back to the community at the same time.

Migration oc 10.0.8.5 (SQLite) to 12.0.7.1 with migration tool is not possible: ā€œUpdates between multiple major versions and downgrades are unsupported. Update failedā€
Tried to migrate manual to 13.0 - same error.
Is there any other way to migrate to nc?

Probably the best is to open an issue here: https://github.com/nextcloud/owncloud-web-migrator/issues

@jospoortvliet and perhaps a good opportunity to review the migration stuff. Is this still tested?

I believe weā€™re going to do a new release to ensure upgrades are possible. Iā€™ll check with the guys.

1 Like