I’m trying to migrate from my existing owncloud 10.0.3 installation to Nextcloud 12.0.4.
As database I’m using postgresql 9.6.6
When I run the upgrade via occ, this is the result:
2017-12-05T19:39:21+00:00 Set log level to debug
2017-12-05T19:39:21+00:00 Repair step: Repair MySQL collation
2017-12-05T19:39:21+00:00 Repair info: Not a mysql database -> nothing to do
2017-12-05T19:39:21+00:00 Repair step: Repair SQLite autoincrement
2017-12-05T19:39:21+00:00 Repair step: Copy data from accounts table when migrating from ownCloud
2017-12-05T19:39:21+00:00 Repair step: Drop account terms table when migrating from ownCloud
2017-12-05T19:39:21+00:00 Updating database schema
2017-12-05T19:39:22+00:00 Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oc_filecache ALTER fileid TYPE SERIAL':
SQLSTATE[42704]: Undefined object: 7 ERROR: type "serial" does not exist
2017-12-05T19:39:22+00:00 Update failed
2017-12-05T19:39:22+00:00 Maintenance mode is kept active
2017-12-05T19:39:22+00:00 Reset log level
Did anyone successfully perform a migration like this? Is there any workaround available? I only found a suggestion to use a “–skip-migration-check” commandline switch - though that doesn’t seem to be implemented anymore.
For OC 10.0.3, it should work: https://nextcloud.com/migration/
I’m not sure if the migration app directly migrates to NC 13 or does a migration to NC 12 first.