documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Owncloud migration documentation: Add hints to edit version.php, and to trigger background migrations after each upgrade step

Open altruizine opened this issue 8 months ago • 3 comments

The Owncloud migration documentation is helpful and mostly works, but it is missing two crucial hints:

  1. The migration documentation advertises compatibility with Owncloud versions 10.13.x, 10.14.x, and 10.15.x, but only works out of the box with Owncloud version 10.13.x. The reason is that Nextcloud 25.0.13 declares itself compatible with Owncloud 10.13.x only in version.php. Changing this file allows the migration to proceed. As it's impossible to file bugs against this unsupported old Nextcloud version, the migration documentation should explain how to change the version.php file.

  2. As documented in How to upgrade, we must wait for all background migrations to complete before taking the next upgrade step. The Owncloud migration documentation neither advises to pause and wait for background migrations to happen (or to trigger them manually), nor does it link to the latter page that explains the matter. Thus, it's easy to miss when going through the 25 → 26 → 27 → 28 → 29 → 30 → 31 upgrades. This is in fact what happened to me during a recent upgrade: Several background migrations were missed or aborted, leading to an inconsistent database schema. I suggest adding an explicit hint to the migration documentation.

altruizine avatar May 05 '25 13:05 altruizine

Agreed:

https://github.com/nextcloud/server/blob/30fb8a53b04c623db368d29a83e8e1153a2d6b07/version.php#L43-L45

joshtrichards avatar May 15 '25 21:05 joshtrichards

Regression from #13026

joshtrichards avatar May 15 '25 21:05 joshtrichards

Synology has relased a new version of the DSM System (7.3) which does not support PHP7.4 anymore. So maybe many other users need to switch from owncloud to nextcloud which still used owncloud as ist worked a long time with the webstation on synology. Maybe the documentation could be updated so other users do not need to search for the workaround for that problem.

holgergrote avatar Dec 05 '25 21:12 holgergrote