I have an owncloud 8.2.11 server and want to migrate to a new server with the latest 12.0.4 nextcloud. This new server will take over general file serving from the original machine and many of the data files have already been copied over. The original machine is running redhat 6.6, php 5.6.25, and mariadb 5.5.
The new server already has nextcloud 12.0.4 running on redhat 7.4, php 7.1.8 and mariadb 10.2 and works fine with the existing datafiles for users (authenticating via ldap). A post about 11 months ago mentioned a comparable situation and wondered if there were a way to just get the database of what has been shared updated as a separate operation, thus making the transition quicker. Alternatively, I could just tell users they will need to reshare files and we are starting over. I’d like to minimize downtime.
The answer then (and perhaps the same answer now) was to migrate the database via a series of versions of owncloud and nextcloud until one gets to the version desired. The update process as described elsewhere depends on having a working earlier version already running. How do I export from one machine and import to another? Can I even run owncloud 8.2 on the new server with newer versions of php and mariadb? There are instructions online for migrating owncloud from one server to another and these proceed by backing up owncloud and then restoring it. There are a plethora of options and I’d appreciate suggestions.
The current repos I have on the old system would allow an in place update from owncloud 8.2 to 10.0.4 Does that make sense as a first step? On the newer system, rpms are tied to older versions of php and don’t seem useful. But it seems I could get the 8.2.11 owncloud tarball, get that running on the new system and proceed from there. So:
OC 8.2 -> NewSystem OC 8.2 -> (via updater) NC 12
OC 8.2 -> OC 10 -> NewSystem OC 10 -> (via updater) NC 12