From 995e39e3027fdcee2965e7172141e304a284841d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 10 May 2017 11:08:04 +0200 Subject: [PATCH] Remove docs about single user mode Signed-off-by: Joas Schilling --- .../encryption_configuration.rst | 14 ++++----- .../configuration_server/occ_command.rst | 30 ++++++------------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/admin_manual/configuration_files/encryption_configuration.rst b/admin_manual/configuration_files/encryption_configuration.rst index c0cbd00dc..ff9ac5c5e 100644 --- a/admin_manual/configuration_files/encryption_configuration.rst +++ b/admin_manual/configuration_files/encryption_configuration.rst @@ -213,11 +213,11 @@ The [module ID] is taken from the ``encryption:list-modules`` command. Encrypt all data files for all users. For performance reasons, when you enable encryption on an Nextcloud server only new and changed files are encrypted. This command gives you the option to encrypt all files. You must first put your -Nextcloud server into single-user mode to prevent any user activity until +Nextcloud server into maintenance mode to prevent any user activity until encryption is completed:: - occ maintenance:singleuser --on - Single user mode is currently enabled + occ maintenance:maintenance --on + Maintenance mode is currently enabled Then run ``occ``:: @@ -267,14 +267,14 @@ Disabling Encryption You may disable encryption only with ``occ``. Make sure you have backups of all encryption keys, including users'. Put your Nextcloud server into -single-user mode, and then disable your encryption module with this command:: +maintenance mode, and then disable your encryption module with this command:: - occ maintenance:singleuser --on + occ maintenance:maintenance --on occ encryption:disable -Take it out of single-user mode when you are finished:: +Take it out of maintenance mode when you are finished:: - occ maintenance:singleuser --off + occ maintenance:maintenance --off Files Not Encrypted ------------------- diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index ac93c56d7..293d7d8d7 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -537,7 +537,7 @@ see a list of modules only if you have enabled the Encryption app. Use ``encryption:set-default-module [module name]`` to set your desired module. ``encryption:encrypt-all`` encrypts all data files for all users. You must first -put your Nextcloud server into :ref:`single-user +put your Nextcloud server into :ref:`maintenance mode` to prevent any user activity until encryption is completed. @@ -547,12 +547,12 @@ user:: sudo -u www-data php occ encryption:decrypt freda Users must have enabled recovery keys on their Personal pages. You must first -put your Nextcloud server into :ref:`single-user +put your Nextcloud server into :ref:`maintenance mode ` to prevent any user activity until decryption is completed. Use ``encryption:disable`` to disable your encryption module. You must first put -your Nextcloud server into :ref:`single-user mode ` +your Nextcloud server into :ref:`maintenance mode ` to prevent any user activity. ``encryption:enable-master-key`` creates a new master key, which is used for all @@ -863,12 +863,12 @@ Use these commands when you upgrade Nextcloud, manage encryption, perform backups and other tasks that require locking users out until you are finished:: maintenance - maintenance:mimetype:update-db Update database mimetypes and update - filecache - maintenance:mimetype:update-js Update mimetypelist.js - maintenance:mode set maintenance mode - maintenance:repair repair this installation - maintenance:singleuser set single user mode + maintenance:data-fingerprint update the systems data-fingerprint after a backup is restored + maintenance:mimetype:update-db Update database mimetypes and update filecache + maintenance:mimetype:update-js Update mimetypelist.js + maintenance:mode set maintenance mode + maintenance:repair repair this installation + maintenance:update:htaccess Updates the .htaccess file ``maintenance:mode`` locks the sessions of all logged-in users, including administrators, and displays a status screen warning that the server is in @@ -878,18 +878,6 @@ logged-in users must refresh their Web browsers to continue working:: sudo -u www-data php occ maintenance:mode --on sudo -u www-data php occ maintenance:mode --off - -Putting your Nextcloud server into single-user mode allows admins to log in and -work, but not ordinary users. This is useful for performing maintenance and -troubleshooting on a running server:: - - sudo -u www-data php occ maintenance:singleuser --on - Single user mode enabled - -Turn it off when you're finished:: - - sudo -u www-data php occ maintenance:singleuser --off - Single user mode disabled The ``maintenance:repair`` command runs automatically during upgrades to clean up the database, so while you can run it manually there usually isn't a need