From 60fdb1334f9f34435b843ed60e4c7bc181e5630a Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Sat, 21 Mar 2015 17:19:05 -0700 Subject: [PATCH] correct typos maintenance mode --- admin_manual/maintenance/enable_maintenance.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/admin_manual/maintenance/enable_maintenance.rst b/admin_manual/maintenance/enable_maintenance.rst index 83f26a9b7..40a34d534 100644 --- a/admin_manual/maintenance/enable_maintenance.rst +++ b/admin_manual/maintenance/enable_maintenance.rst @@ -3,13 +3,18 @@ Maintenance Mode Configuration ============================== You must put your ownCloud server into maintenance mode before performing -updates or upgrades, and for performing troubleshooting and maintenance. Please +upgrades, and for performing troubleshooting and maintenance. Please see :doc:`../configuration_server/occ_command` to learn how to put your server into the various maintenance modes (``maintenance:mode, maintenance:singleuser``, and ``maintenance:repair``) with the ``occ`` command. ``maintenance:mode`` locks the sessions of logged-in users and prevents new -logins. This is the mode to use for updates and upgrades. You may also put your +logins. This is the mode to use for upgrades. You must run ``occ`` as the HTTP user, +like this example on Ubuntu Linux:: + + $ sudo -u www-data php occ maintenance:mode --on + +You may also put your server into this mode by editing :file:`config/config.php`. Change ``"maintenance" => false`` to ``"maintenance" => true``: