jtr
May 15, 2025, 9:41pm
22
Looks like the last revision or two to the Owncloud migration docs may need some adjusting. v25 is hardcarded to expect 10.13.x.
Looks like someone just reported this last week:
opened 01:11PM - 05 May 25 UTC
bug
0. Needs triage
manual: admin
The [Owncloud migration documentation](https://docs.nextcloud.com/server/latest/… admin_manual/maintenance/migrating_owncloud.html) 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](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html#approaching-upgrades), 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.
nemo87
May 17, 2025, 5:05pm
23
I reinstalled owncloud version 10.13.2, and re-ran the migration, at the beginning via web same error message previously indicated, I tried from terminal to give the command: sudo -E -u www-data php occ upgrade
pi@raspberrypi :/var/www/nextcloud $ sudo -E -u www-data php occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Disabled incompatible app: diagnostics
Disabled incompatible app: files_texteditor
Disabled incompatible app: market
Updating …
Updated to 1.20.1
Updating …
Updated to 2.17.0
Updating …
Fix broken values of calendar objects
Done
0/0 [->--------------------------] 0%
Clean up old calendar subscriptions from deleted users that were not cleaned-up
Done
0/0 [----->----------------------] 0%
Updated to 1.24.0
Updating …
Updated to 1.15.0
Updating <files_pdfviewer> …
Updated <files_pdfviewer> to 2.6.0
Updating <provisioning_api> …
Updated <provisioning_api> to 1.15.0
Starting code integrity check…
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
now via wbe i can log in and i have all my data
system
Closed
August 15, 2025, 5:05pm
24
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.