Skip to content

Commit f7fb0f9

Browse files
authored
Merge pull request #376 from nextcloud/remove-migration-test-docs
Remove docs about migration simulation
2 parents 2e64d72 + 4a9297e commit f7fb0f9

3 files changed

Lines changed: 2 additions & 44 deletions

File tree

admin_manual/configuration_server/occ_command.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,13 +1223,9 @@ List all options, like this example on CentOS Linux::
12231223

12241224
sudo -u apache php occ upgrade -h
12251225
Usage:
1226-
upgrade [--skip-migration-test] [--dry-run] [--no-app-disable]
1226+
upgrade [--no-app-disable]
12271227

12281228
Options:
1229-
--skip-migration-test skips the database schema migration simulation and
1230-
update directly
1231-
--dry-run only runs the database schema migration simulation, do
1232-
not actually update
12331229
--no-app-disable skips the disable of third party apps
12341230
--help (-h) Display this help message.
12351231
--quiet (-q) Do not output any message.
@@ -1289,19 +1285,6 @@ or to use in a bug report::
12891285
Update failed
12901286
Turned off maintenance mode
12911287

1292-
Before completing the upgrade, Nextcloud first runs a simulation by copying all
1293-
database tables to new tables, and then performs the upgrade on them, to ensure
1294-
that the upgrade will complete correctly. The copied tables are deleted after
1295-
the upgrade. This takes twice as much time, which on large installations can be
1296-
many hours, so you can omit this step with the ``--skip-migration-test``
1297-
option::
1298-
1299-
sudo -u www-data php occ upgrade --skip-migration-test
1300-
1301-
You can perform this simulation manually with the ``--dry-run`` option::
1302-
1303-
sudo -u www-data php occ upgrade --dry-run
1304-
13051288
.. _two_factor_auth_label:
13061289

13071290
Two-factor Authentication

admin_manual/maintenance/package_upgrade.rst

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ using Snappy Base 16.04 as it's currently unreleased.
4747

4848
* Make a :doc:`fresh backup <backup>`.
4949
* Upgrade your Nextcloud snap: sudo snap refresh nextcloud
50-
* Run :ref:`occ upgrade <command_line_upgrade_label>` (optionally disabling the
51-
:ref:`migration test
52-
<migration_test_label>`).
50+
* Run :ref:`occ upgrade <command_line_upgrade_label>`.
5351
* :ref:`Apply strong permissions <strong_perms_label>` to your
5452
Nextcloud directories.
5553
* Take your Nextcloud server out of :ref:`maintenance mode
@@ -81,20 +79,6 @@ This example is for CentOS/RHEL/Fedora::
8179

8280
sudo -u apache php occ upgrade
8381

84-
.. _migration_test_label:
85-
86-
Migration Test
87-
--------------
88-
89-
Before completing the upgrade, Nextcloud first runs a simulation by copying all
90-
database tables to new tables, and then performs the upgrade on them, to ensure
91-
that the upgrade will complete correctly. The copied tables are deleted after
92-
the upgrade. This takes twice as much time, which on large installations can be
93-
many hours, so you can omit this step with the ``--skip-migration-test``
94-
option, like this example on CentOS::
95-
96-
$ sudo -u apache php occ upgrade --skip-migration-test
97-
9882
Setting Strong Directory Permissions
9983
------------------------------------
10084

admin_manual/maintenance/update.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@ steps:
7474
This example is for Ubuntu Linux::
7575

7676
$ sudo -u www-data php occ upgrade
77-
78-
Before completing the upgrade, Nextcloud first runs a simulation by copying all
79-
database tables to new tables, and then performs the upgrade on them, to ensure
80-
that the upgrade will complete correctly. The copied tables are deleted after
81-
the upgrade. This takes twice as much time, which on large installations can be
82-
many hours, so you can omit this step with the ``--skip-migration-test``
83-
option, like this example on Ubuntu::
84-
85-
$ sudo -u www-data php occ upgrade --skip-migration-test
8677

8778
See :doc:`../configuration_server/occ_command` to learn more.
8879

0 commit comments

Comments
 (0)