Merge pull request #378 from nextcloud/stable11-376

Remove docs about migration simulation
This commit is contained in:
Morris Jobke 2017-03-06 12:18:28 -06:00 committed by GitHub
commit 2260ecce68
3 changed files with 2 additions and 44 deletions

View File

@ -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

View File

@ -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
------------------------------------

View File

@ -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.