mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Remove docs about single user mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@@ -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
|
||||
-------------------
|
||||
|
||||
@@ -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<maintenance_commands_label>` 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 <maintenance_commands_label>` 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 <maintenance_commands_label>`
|
||||
your Nextcloud server into :ref:`maintenance mode <maintenance_commands_label>`
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user