Migrating from ownCloud
Currently migrating from ownCloud is like performing a manual update. So it is quite easy, to migrate from one ownCloud version to at least one Nextcloud version. However this does only work with versions that are sufficiently compatible in database schema and codebase. See the table below for a version map, where migrating is easily possible:
ownCloud |
Nextcloud |
|---|---|
10.13.x 10.14.x 10.15.x 10.16.x |
34.0.0 34.0.0 34.0.0 34.0.0 |
First download the correct version of Nextcloud from our releases page,
Make sure to have do a :doc:`backup<backup>` before migrating.
Upgrade PHP to a version supported by the downloaded Nextcloud version.
Follow the upgrade instructions described in the :doc:`manual_upgrade` manual.
Run the following commands after occ upgrade:
occ db:convert-filecache-bigint
occ db:add-missing-columns
occ db:add-missing-indices
occ db:add-missing-primary-keys
If system cron was used, please verify if crontab entry was using the command occ system:cron. If yes, please adjust it to use the php command instead according to :ref:`the background jobs configuration documentation<system-cron-configuration-label>`
In case, use the :doc:`Nextcloud built-in updater<update>` to update your instance to the newest version. This must be done for every major version, since updates between multiple major versions are not supported.
If multiple major version upgrades are done, it might be needed to upgrade PHP again in between.
Make sure to also verify the "Security & setup warnings" in the "Overview" section on the settings page.
In some cases, apps installed from the ownCloud Market might have been disabled as incompatible (ex: calendar and contacts), so you should reinstall the Nextcloud ones using occ app:enable calendar, occ app:enable contacts, etc