Migration from owncloud 10.3.0 to Nextcloud

Thanks for your pointers! I finally managed to migrate to nextcloud using these steps:
This is pretty sketchy, because I disabled several safety checks, but in case someone wants to do it:

  1. Manual upgrade according to https://docs.nextcloud.com/server/17/admin_manual/maintenance/migrating_owncloud.html
  2. Manually allow php 7.3 (index.php and lib/versioncheck.php) in nextcloud 12.0.13
  3. Force upgrade between major versions (my initial issue) in lib/private/Updater.php by removing the line throw new \Exception('Updates between multiple major…
  4. Follow https://github.com/nextcloud/server/issues/14549 to fix the error that occurs
  5. UPDATE oc_filecache set mtime=0
  6. UPDATE oc_filecache set storage_mtime=0
  7. /3rdparty/pear/archive_tar/Archive/Tar.php:639 remove “&” in front of func_get_args() (https://www.dotkernel.com/php-troubleshooting/fix-installing-pear-packages-with-php-7-2/)
  8. run updater from settings (remove php check again (only until nexcloud 14 is installed)) until newest version is installed

After doing this I noticed that some files have last edited dates in the future. This is probably due to setting mtime to 0.

7 Likes