Looking at the code I figured out that it actually uses the core.vendor
config + the version
config to determine whether the data is from an ownCloud instance (if core.vendor
is empty, it is assumed to be owncloud
). Hence what I was missing from the migration guide is that you are actually supposed to also use the config.php
from your ownCloud instance in the NextCloud instance - i.e. the version
in the config.php
needs to reflect the version of the ownCloud instance.
Even though I was on ownCloud 10.12, I forced the update anyway by updating the version.php
as shown above (conversely you could also just set the version
in your config.php
to 10.11
). I executed
occ upgrade
occ db:convert-filecache-bigint
occ db:add-missing-columns
occ db:add-missing-indices
occ db:add-missing-primary-keys
and the only error that I encountered was
Updating <oauth2> ...
Repair error: token is not a valid attribute
Updated <oauth2> to 1.14.0
during occ upgrade
(which I think I can ignore …).