I’m trying to migrate from Owncloud 10.14 to Nextcloud.
According to the doc, when migrating from Owncloud above 10.13, I should opt for Nextcloud 25.0 (at least 25.0.2).
Owncloud 10.14 was running in a container based on a custom Docker image.
I’m using the Docker image for Nextcloud 25.0.13 (I assume there are no major database upgrades between 25.0.2 and 25.0.13).
The image is nextcloud:25-fpm
.
The container connects to the database ok and the data directory is mounted in Nextcloud.
When I browse to my nextcloud instance url, I get a message stating which apps are going to be upgraded and which are not, but when I hit the Upgrade button, I get this error message:
Exception: Updates between multiple major versions and downgrades are unsupported.
I get the same message when I try to upgrade in command line with the command occ upgrade
The version in config/config.php
is 25.0.13.2
, since I’m using a config.php
from a fresh install of Nextcloud (that is not trying to upgrade anything: new database and no data in data directory).
When I try occ maintenance:repair
, I get complaints about database discrepancies:
- missing column
argument_hash
in tableoc_jobs
(by far the most frequent) - missing column
c.calendarid
(the log message is trimmed in such a way that the table name doesn’t appear) - missing column
password
in tableoc_share
- missing table
oc_oauth2_access_tokens
- missing table
oc_flow_operations
So here are my questions:
- is there a major incompatibility issue between Owncloud 10.14 and Nextcloud 25.0.13 ?
- is there a way to upgrade manually ? since I have a fresh database for Nextcloud 25.0.13, can I just add the missing columns and tables in my older database ? (the process is quite time consuming, so I don’t want to engage for nothing…)
Thanks for your advice