mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Add note about migrations run by background jobs
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
@@ -28,6 +28,14 @@ Nextcloud must be upgraded step by step:
|
||||
* **You cannot skip major releases.** Please re-run the upgrade until you have reached the highest available (or applicable) release.
|
||||
* Example: 18.0.5 -> 18.0.11 -> 19.0.5 -> 20.0.2
|
||||
|
||||
**Wait for background migrations to finish after major upgrades**. After upgrading to a new major version, some migrations are scheduled to run
|
||||
as a background job. If you plan to upgrade directly to another major version (e.g. 24 -> 25 -> 26) you need to make sure these
|
||||
migrations were executed before starting the next upgrade. To do so you should run the ``cron.php`` file 2-3 times, for example::
|
||||
|
||||
$ sudo -u www-data php -f /var/www/nextcloud/cron.php
|
||||
|
||||
For more information about background jobs see :doc:`../configuration_server/background_jobs_configuration`.
|
||||
|
||||
**Upgrading is disruptive**. Your Nextcloud server will be put into maintenance
|
||||
mode, so your users will be locked out until the upgrade is completed. Large
|
||||
installations may take several hours to complete the upgrade. Nevertheless usual
|
||||
|
||||
Reference in New Issue
Block a user