From cf515ca175b6c20c7ed4d4ffdf65cc17b9ea2a7f Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Wed, 5 Nov 2025 02:52:24 +0000 Subject: [PATCH] chore(administration): Generate system config documentation from config.sample.php --- .../config_sample_php_parameters.rst | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index b85915ded..a4293783d 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -228,6 +228,26 @@ automatically by the installer. This example is for documentation only, and you should never use it because it will not work. A valid ``instanceid`` is created when you install Nextcloud. +serverid +^^^^^^^^ + + +:: + + 'serverid' => -1, + +This is a unique identifier for your server. + +It is useful when your Nextcloud instance is using different PHP servers. +Once it's set it shouldn't be changed. + +Value must be an integer, comprised between 0 and 1023. + +When config.php is shared between different servers, this value should be overriden with "NC_serverid=" on each server. +Note that it must be overriden for CLI and for your webserver. + +Example for CLI: NC_serverid=42 occ config:list system + passwordsalt ^^^^^^^^^^^^