Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions admin_manual/maintenance/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,22 @@ Maintenance
package_upgrade
migrating
migrating_owncloud


Simulating maintenance mode for clients
---------------------------------------

When Nextcloud is fully stopped or taken offline for infrastructure work, it can
no longer serve its normal status payload that tells desktop and mobile clients
the instance is in maintenance mode.

In that situation, configure the reverse proxy or load balancer to answer
client-facing Nextcloud endpoints with **HTTP 503 Service Unavailable**. Clients
treat a 503 the same way as Nextcloud's built-in maintenance mode and will back
off instead of surfacing hard sync errors.

Examples of endpoints clients hit include ``status.php``, ``index.php``, and
WebDAV / OCS URLs under your Nextcloud base path.

For application-level maintenance while PHP is still running, prefer
``occ maintenance:mode --on`` (see :doc:`../configuration_server/config_sample_php_parameters`).
Loading