mirror of
https://github.com/nextcloud/documentation.git
synced 2026-04-12 06:09:39 +07:00
Remove docs about migration simulation
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
committed by
Morris Jobke
parent
9d85a41fb0
commit
fee9d6a59e
@@ -1238,13 +1238,9 @@ List all options, like this example on CentOS Linux::
|
||||
|
||||
sudo -u apache php occ upgrade -h
|
||||
Usage:
|
||||
upgrade [--skip-migration-test] [--dry-run] [--no-app-disable]
|
||||
upgrade [--no-app-disable]
|
||||
|
||||
Options:
|
||||
--skip-migration-test skips the database schema migration simulation and
|
||||
update directly
|
||||
--dry-run only runs the database schema migration simulation, do
|
||||
not actually update
|
||||
--no-app-disable skips the disable of third party apps
|
||||
--help (-h) Display this help message.
|
||||
--quiet (-q) Do not output any message.
|
||||
@@ -1304,19 +1300,6 @@ or to use in a bug report::
|
||||
Update failed
|
||||
Turned off maintenance mode
|
||||
|
||||
Before completing the upgrade, Nextcloud first runs a simulation by copying all
|
||||
database tables to new tables, and then performs the upgrade on them, to ensure
|
||||
that the upgrade will complete correctly. The copied tables are deleted after
|
||||
the upgrade. This takes twice as much time, which on large installations can be
|
||||
many hours, so you can omit this step with the ``--skip-migration-test``
|
||||
option::
|
||||
|
||||
sudo -u www-data php occ upgrade --skip-migration-test
|
||||
|
||||
You can perform this simulation manually with the ``--dry-run`` option::
|
||||
|
||||
sudo -u www-data php occ upgrade --dry-run
|
||||
|
||||
.. _two_factor_auth_label:
|
||||
|
||||
Two-factor Authentication
|
||||
|
||||
@@ -47,9 +47,7 @@ using Snappy Base 16.04 as it's currently unreleased.
|
||||
|
||||
* Make a :doc:`fresh backup <backup>`.
|
||||
* Upgrade your Nextcloud snap: sudo snap refresh nextcloud
|
||||
* Run :ref:`occ upgrade <command_line_upgrade_label>` (optionally disabling the
|
||||
:ref:`migration test
|
||||
<migration_test_label>`).
|
||||
* Run :ref:`occ upgrade <command_line_upgrade_label>`.
|
||||
* :ref:`Apply strong permissions <strong_perms_label>` to your
|
||||
Nextcloud directories.
|
||||
* Take your Nextcloud server out of :ref:`maintenance mode
|
||||
@@ -81,20 +79,6 @@ This example is for CentOS/RHEL/Fedora::
|
||||
|
||||
sudo -u apache php occ upgrade
|
||||
|
||||
.. _migration_test_label:
|
||||
|
||||
Migration Test
|
||||
--------------
|
||||
|
||||
Before completing the upgrade, Nextcloud first runs a simulation by copying all
|
||||
database tables to new tables, and then performs the upgrade on them, to ensure
|
||||
that the upgrade will complete correctly. The copied tables are deleted after
|
||||
the upgrade. This takes twice as much time, which on large installations can be
|
||||
many hours, so you can omit this step with the ``--skip-migration-test``
|
||||
option, like this example on CentOS::
|
||||
|
||||
$ sudo -u apache php occ upgrade --skip-migration-test
|
||||
|
||||
Setting Strong Directory Permissions
|
||||
------------------------------------
|
||||
|
||||
|
||||
@@ -74,15 +74,6 @@ steps:
|
||||
This example is for Ubuntu Linux::
|
||||
|
||||
$ sudo -u www-data php occ upgrade
|
||||
|
||||
Before completing the upgrade, Nextcloud first runs a simulation by copying all
|
||||
database tables to new tables, and then performs the upgrade on them, to ensure
|
||||
that the upgrade will complete correctly. The copied tables are deleted after
|
||||
the upgrade. This takes twice as much time, which on large installations can be
|
||||
many hours, so you can omit this step with the ``--skip-migration-test``
|
||||
option, like this example on Ubuntu::
|
||||
|
||||
$ sudo -u www-data php occ upgrade --skip-migration-test
|
||||
|
||||
See :doc:`../configuration_server/occ_command` to learn more.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user