We’re in the process of migrating our old ownCloud instance (owncloud 9.0.1, Ubuntu 14.04.2, PHP 5.5.9, mysql Ver 14.14 Distrib 5.5.47), and have got as far as setting up a new host (Ubuntu 20.04.3, PHP 7.4, ownCloud 10.8.0, mysql Ver 15.1 Distrib 10.3.32-MariaDB).
The migration doc suggests we’re at the point where we could put the old server into maintenance mode and transfer the database, but I noticed that the database on our new instance contains slightly different tables, and that some of the tables have different schema. Can we go ahead with the migration despite the database differences, or do we need to upgrade our old instance first? It looks like we wouldn’t be able to go straight from 9.0.1 to 10.8.0, we’d need to go to 9.0.9 first, so would the upgrade from 9.0.1 to 9.0.9 make the changes to the database tables/schema that would allow us to migrate from there to 10.8.0, or would we need to take our old instance all the way to 10.8.0?
Alternatively, the data are NFS mounted so transferring them shouldn’t be an issue, and most users are LDAP, so would restoring from scratch be a better option? We do have some none-LDAP users, but the oc_users schema looks to be the same in both databases, so hopefully that shouldn’t pose a problem. On the other hand, there are quite a few shares (>1000) that we’d need to re-create, and the oc_shares table schemas do look different.
I’d be very interested to hear about other peoples experiences of combined upgrade/migration - I had a look at some of the previous posts on the subject, but they didn’t seem to cover quite the same ground.
Many thanks in advance - any advice on the best way forward would be greatly appreciated.