diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 16bc3fba0..3c40cbbea 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -30,18 +30,18 @@ Nextcloud, and the values in these files take precedence over :file:`config.php` Default Parameters ------------------ -These parameters are configured by the Nextcloud installer, and are required -for your Nextcloud server to operate. +These parameters are configured by the ownCloud installer, and are required +for your ownCloud server to operate. :: 'instanceid' => '', -This is a unique identifier for your Nextcloud installation, created +This is a unique identifier for your ownCloud installation, created 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. +is created when you install ownCloud. 'instanceid' => 'd3c944a9a', @@ -49,7 +49,7 @@ is created when you install Nextcloud. 'passwordsalt' => '', -The salt used to hash all passwords, auto-generated by the Nextcloud +The salt used to hash all passwords, auto-generated by the ownCloud installer. (There are also per-user salts.) If you lose this salt you lose all your passwords. This example is for documentation only, and you should never use it. @@ -68,18 +68,18 @@ necessary security checks. :: - 'datadirectory' => '/var/www/nextcloud/data', + 'datadirectory' => '/var/www/owncloud/data', -Where user files are stored; this defaults to ``data/`` in the Nextcloud +Where user files are stored; this defaults to ``data/`` in the ownCloud directory. The SQLite database is also stored here, when you use SQLite. -(SQLite is not available in Nextcloud Enterprise Edition) +(SQLite is not available in ownCloud Enterprise Edition) :: 'version' => '', -The current version number of your Nextcloud installation. This is set up +The current version number of your ownCloud installation. This is set up during installation and update, so you shouldn't need to change it. :: @@ -106,17 +106,17 @@ Your host server name, for example ``localhost``, ``hostname``, :: - 'dbname' => 'nextcloud', + 'dbname' => 'owncloud', -The name of the Nextcloud database, which is set during installation. You +The name of the ownCloud database, which is set during installation. You should not need to change this. :: 'dbuser' => '', -The user that Nextcloud uses to write to the database. This must be unique -across Nextcloud instances using the same SQL database. This is set up during +The user that ownCloud uses to write to the database. This must be unique +across ownCloud instances using the same SQL database. This is set up during installation, so you shouldn't need to change it. :: @@ -130,13 +130,13 @@ you shouldn't need to change it. 'dbtableprefix' => '', -Prefix for the Nextcloud tables in the database. +Prefix for the ownCloud tables in the database. :: 'installed' => false, -Indicates whether the Nextcloud instance was installed successfully; ``true`` +Indicates whether the ownCloud instance was installed successfully; ``true`` indicates a successful installation, and ``false`` indicates an unsuccessful installation. @@ -207,7 +207,7 @@ values, where present, are shown. 'default_language' => 'en', -This sets the default language on your Nextcloud server, using ISO_639-1 +This sets the default language on your ownCloud server, using ISO_639-1 language codes such as ``en`` for English, ``de`` for German, and ``fr`` for French. It overrides automatic language detection on public pages like login or shared items. User's language preferences configured under "personal -> @@ -220,7 +220,7 @@ language" override this setting after they have logged in. Set the default app to open on login. Use the app names as they appear in the URL after clicking them in the Apps menu, such as documents, calendar, and gallery. You can use a comma-separated list of app names, so if the first -app is not enabled for a user then Nextcloud will try the second one, and so +app is not enabled for a user then ownCloud will try the second one, and so on. If no enabled apps are found it defaults to the Files app. :: @@ -228,7 +228,7 @@ on. If no enabled apps are found it defaults to the Files app. 'knowledgebaseenabled' => true, ``true`` enables the Help menu item in the user menu (top right of the -Nextcloud Web interface). ``false`` removes the Help item. +ownCloud Web interface). ``false`` removes the Help item. :: @@ -270,7 +270,7 @@ Enabling this sends a "heartbeat" to the server to keep it from timing out. :: - 'skeletondirectory' => '/path/to/nextcloud/core/skeleton', + 'skeletondirectory' => '/path/to/owncloud/core/skeleton', The directory where the skeleton files are located. These files will be copied to the data directory of new users. Leave empty to not copy any @@ -301,7 +301,7 @@ login-attempt. Mail Parameters --------------- -These configure the email settings for Nextcloud notifications and password +These configure the email settings for ownCloud notifications and password resets. @@ -309,13 +309,13 @@ resets. 'mail_domain' => 'example.com', -The return address that you want to appear on emails sent by the Nextcloud -server, for example ``nextcloud-admin@example.com``, substituting your own domain, +The return address that you want to appear on emails sent by the ownCloud +server, for example ``oc-admin@example.com``, substituting your own domain, of course. :: - 'mail_from_address' => 'nextcloud', + 'mail_from_address' => 'owncloud', FROM address that overrides the built-in ``sharing-noreply`` and ``lostpassword-noreply`` FROM addresses. @@ -411,7 +411,7 @@ Proxy Configurations 'overwritehost' => '', -The automatic hostname detection of Nextcloud can fail in certain reverse +The automatic hostname detection of ownCloud can fail in certain reverse proxy and CLI/cron situations. This option allows you to manually override the automatic detection; for example ``www.example.com``, or specify the port ``www.example.com:8080``. @@ -420,9 +420,9 @@ the automatic detection; for example ``www.example.com``, or specify the port 'overwriteprotocol' => '', -When generating URLs, Nextcloud attempts to detect whether the server is -accessed via ``https`` or ``http``. However, if Nextcloud is behind a proxy -and the proxy handles the ``https`` calls, Nextcloud would not know that +When generating URLs, ownCloud attempts to detect whether the server is +accessed via ``https`` or ``http``. However, if ownCloud is behind a proxy +and the proxy handles the ``https`` calls, ownCloud would not know that ``ssl`` is in use, which would result in incorrect URLs being generated. Valid values are ``http`` and ``https``. @@ -431,11 +431,11 @@ Valid values are ``http`` and ``https``. 'overwritewebroot' => '', -Nextcloud attempts to detect the webroot for generating URLs automatically. +ownCloud attempts to detect the webroot for generating URLs automatically. -For example, if ``www.example.com/nextcloud`` is the URL pointing to the -Nextcloud instance, the webroot is ``/nextcloud``. When proxies are in use, it -may be difficult for Nextcloud to detect this parameter, resulting in invalid +For example, if ``www.example.com/owncloud`` is the URL pointing to the +ownCloud instance, the webroot is ``/owncloud``. When proxies are in use, it +may be difficult for ownCloud to detect this parameter, resulting in invalid URLs. :: @@ -452,9 +452,9 @@ addresses starting with ``10.0.0.`` and ending with 1 to 3: 'overwrite.cli.url' => '', Use this configuration parameter to specify the base URL for any URLs which -are generated within Nextcloud using any kind of command line tools (cron or +are generated within ownCloud using any kind of command line tools (cron or occ). The value should contain the full base URL: -``https://www.example.com/nextcloud`` +``https://www.example.com/owncloud`` :: @@ -463,13 +463,13 @@ occ). The value should contain the full base URL: To have clean URLs without `/index.php` this parameter needs to be configured. This parameter will be written as "RewriteBase" on update and installation of -Nextcloud to your `.htaccess` file. While this value is often simply the URL -path of the Nextcloud installation it cannot be set automatically properly in +ownCloud to your `.htaccess` file. While this value is often simply the URL +path of the ownCloud installation it cannot be set automatically properly in every scenario and needs thus some manual configuration. -In a standard Apache setup this usually equals the folder that Nextcloud is -accessible at. So if Nextcloud is accessible via "https://mycloud.org/nextcloud" -the correct value would most likely be "/nextcloud". If Nextcloud is running +In a standard Apache setup this usually equals the folder that ownCloud is +accessible at. So if ownCloud is accessible via "https://mycloud.org/owncloud" +the correct value would most likely be "/owncloud". If ownCloud is running under "https://mycloud.org/" then it would be "/". Note that above rule is not valid in every case, there are some rare setup @@ -477,7 +477,7 @@ cases where this may not apply. However, to avoid any update problems this configuration value is explicitly opt-in. After setting this value run `occ maintenance:update:htaccess` and when following -conditions are met Nextcloud uses URLs without index.php in it: +conditions are met ownCloud uses URLs without index.php in it: - `mod_rewrite` is installed - `mod_env` is installed @@ -517,7 +517,7 @@ to be deleted. Both minimum and maximum times can be set together to explicitly define file and folder deletion. For migration purposes, this setting is installed initially set to "auto", which is equivalent to the default setting in -Nextcloud 8.1 and before. +ownCloud 8.1 and before. Available values: @@ -558,7 +558,7 @@ to be deleted. Both minimum and maximum times can be set together to explicitly define version deletion. For migration purposes, this setting is installed initially set to "auto", which is equivalent to the default setting in -Nextcloud 8.1 and before. +ownCloud 8.1 and before. Available values: @@ -577,10 +577,10 @@ Available values: * ``disabled`` versions auto clean disabled, versions will be kept forever -Nextcloud Verifications ------------------------ +ownCloud Verifications +---------------------- -Nextcloud performs several verification checks. There are two options, +ownCloud performs several verification checks. There are two options, ``true`` and ``false``. @@ -596,7 +596,7 @@ enable apps that pass this check. 'updatechecker' => true, -Check if Nextcloud is up-to-date and shows a notification if a new version is +Check if ownCloud is up-to-date and shows a notification if a new version is available. :: @@ -609,20 +609,20 @@ URL that Nextcloud should use to look for updates 'has_internet_connection' => true, -Is Nextcloud connected to the Internet or running in a closed network? +Is ownCloud connected to the Internet or running in a closed network? :: 'check_for_working_webdav' => true, -Allows Nextcloud to verify a working WebDAV connection. This is done by +Allows ownCloud to verify a working WebDAV connection. This is done by attempting to make a WebDAV request from PHP. :: 'check_for_working_wellknown_setup' => true, -Allows Nextcloud to verify a working .well-known URL redirects. This is done +Allows ownCloud to verify a working .well-known URL redirects. This is done by attempting to make a request from JS to https://your-domain.com/.well-known/caldav/ @@ -643,9 +643,9 @@ which verifies that it can't be accessed directly through the Web server. In certain environments it is desired to have a read-only configuration file. -When this switch is set to ``true`` Nextcloud will not verify whether the +When this switch is set to ``true`` ownCloud will not verify whether the configuration is writable. However, it will not be possible to configure -all options via the Web interface. Furthermore, when updating Nextcloud +all options via the Web interface. Furthermore, when updating ownCloud it is required to make the configuration file writable again for the update process. @@ -657,8 +657,8 @@ Logging 'log_type' => 'owncloud', -By default the Nextcloud logs are sent to the ``owncloud.log`` file in the -default Nextcloud data directory. +By default the ownCloud logs are sent to the ``owncloud.log`` file in the +default ownCloud data directory. If syslogging is desired, set this parameter to ``syslog``. Setting this parameter to ``errorlog`` will use the PHP error_log function @@ -668,7 +668,7 @@ for logging. 'logfile' => '/var/log/owncloud.log', -Log file path for the Nextcloud logging type. +Log file path for the ownCloud logging type. Defaults to ``[datadirectory]/owncloud.log`` @@ -681,13 +681,13 @@ Warning, 3 = Error, and 4 = Fatal. The default value is Warning. :: - 'syslog_tag' => 'Nextcloud', + 'syslog_tag' => 'ownCloud', If you maintain different instances and aggregate the logs, you may want to distinguish between them. ``syslog_tag`` can be set per instance with a unique id. Only available if ``log_type`` is set to ``syslog``. -The default value is ``Nextcloud``. +The default value is ``ownCloud``. :: @@ -763,19 +763,19 @@ will be overwritten. Alternate Code Locations ------------------------ -Some of the Nextcloud code may be stored in alternate locations. +Some of the ownCloud code may be stored in alternate locations. :: '3rdpartyroot' => '', -Nextcloud uses some 3rd party PHP components to provide certain functionality. +ownCloud uses some 3rd party PHP components to provide certain functionality. These components are shipped as part of the software package and reside in -``nextcloud/3rdparty``. Use this option to configure a different location. -For example, if your location is /var/www/nextcloud/foo/3rdparty, then the -correct configuration is '3rdpartyroot' => '/var/www/nextcloud/foo/', +``owncloud/3rdparty``. Use this option to configure a different location. +For example, if your location is /var/www/owncloud/foo/3rdparty, then the +correct configuration is '3rdpartyroot' => '/var/www/owncloud/foo/', :: @@ -789,11 +789,11 @@ seen by a Web browser. 'customclient_desktop' => 'http://owncloud.org/sync-clients/', 'customclient_android' => - 'https://play.google.com/store/apps/details?id=com.nextcloud.client', + 'https://play.google.com/store/apps/details?id=com.owncloud.android', 'customclient_ios' => 'https://itunes.apple.com/us/app/owncloud/id543672169?mt=8', -This section is for configuring the download links for Nextcloud clients, as +This section is for configuring the download links for ownCloud clients, as seen in the first-run wizard and on Personal pages. Apps @@ -806,7 +806,7 @@ Options for the Apps folder, Apps store, and App code checker. 'appstoreenabled' => true, -When enabled, admins may install apps from the Nextcloud app store. +When enabled, admins may install apps from the ownCloud app store. :: @@ -828,7 +828,7 @@ loss or security breaches. 'apps_paths' => array( array( - 'path'=> '/var/www/nextcloud/apps', + 'path'=> '/var/www/owncloud/apps', 'url' => '/apps', 'writable' => true, ), @@ -838,7 +838,7 @@ Use the ``apps_paths`` parameter to set the location of the Apps directory, which should be scanned for available apps, and where user-specific apps should be installed from the Apps store. The ``path`` defines the absolute file system path to the app folder. The key ``url`` defines the HTTP Web path -to that folder, starting from the Nextcloud webroot. The key ``writable`` +to that folder, starting from the ownCloud webroot. The key ``writable`` indicates if a Web server can write files to that folder. :: @@ -856,7 +856,7 @@ enable apps that pass this check. Previews -------- -Nextcloud supports previews of image files, the covers of MP3 files, and text +ownCloud supports previews of image files, the covers of MP3 files, and text files. These options control enabling and disabling previews, and thumbnail size. @@ -865,7 +865,7 @@ size. 'enable_previews' => true, -By default, Nextcloud can generate previews for the following filetypes: +By default, ownCloud can generate previews for the following filetypes: - Image files - Covers of MP3 files @@ -892,7 +892,7 @@ is no limit. 'preview_max_scale_factor' => 10, -If a lot of small pictures are stored on the Nextcloud instance and the +If a lot of small pictures are stored on the ownCloud instance and the preview system generates blurry previews, you might want to consider setting a maximum scale factor. By default, pictures are upscaled to 10 times the original size. A value of ``1`` or ``null`` disables scaling. @@ -1028,18 +1028,18 @@ maintenance. 'maintenance' => false, -Enable maintenance mode to disable Nextcloud +Enable maintenance mode to disable ownCloud -If you want to prevent users from logging in to Nextcloud before you start +If you want to prevent users from logging in to ownCloud before you start doing some maintenance work, you need to set the value of the maintenance parameter to true. Please keep in mind that users who are already logged-in -are kicked out of Nextcloud instantly. +are kicked out of ownCloud instantly. :: 'singleuser' => false, -When set to ``true``, the Nextcloud instance will be unavailable for all users +When set to ``true``, the ownCloud instance will be unavailable for all users who are not in the ``admin`` group. SSL @@ -1134,8 +1134,8 @@ Location of the cache folder, defaults to ``data/$user/cache`` where ``$cache_path/$user`` where ``$cache_path`` is the configured cache directory and ``$user`` is the user. -Using Object Store with Nextcloud ---------------------------------- +Using Object Store with ownCloud +-------------------------------- :: @@ -1149,7 +1149,7 @@ Using Object Store with Nextcloud // generate a password 'password' => 'Secr3tPaSSWoRdt7', // must already exist in the objectstore, name can be different - 'container' => 'nextcloud', + 'container' => 'owncloud', // create the container if it does not exist. default is false 'autocreate' => true, // required, dev-/trystack defaults to 'RegionOne' @@ -1166,10 +1166,10 @@ Using Object Store with Nextcloud ), ), -This example shows how to configure Nextcloud to store all files in a +This example shows how to configure ownCloud to store all files in a swift object storage. -It is important to note that Nextcloud in object store mode will expect +It is important to note that ownCloud in object store mode will expect exclusive access to the object store container because it only stores the binary data for each file. The metadata is currently kept in the local database for performance reasons. @@ -1235,9 +1235,9 @@ Available: :: - 'tempdirectory' => '/tmp/nextcloudtemp', + 'tempdirectory' => '/tmp/owncloudtemp', -Override where Nextcloud stores temporary files. Useful in situations where +Override where ownCloud stores temporary files. Useful in situations where the system temporary directory is on a limited space ramdisk or is otherwise restricted, or if external storages which do not support streaming are in use. @@ -1248,7 +1248,7 @@ The Web server user must have write access to this directory. 'hashingCost' => 10, -The hashing cost used by hashes generated by Nextcloud +The hashing cost used by hashes generated by ownCloud Using a higher value requires more time and CPU power to calculate the hashes :: @@ -1270,9 +1270,9 @@ Define a default folder for shared files and folders other than root. 'theme' => '', -If you are applying a theme to Nextcloud, enter the name of the theme here. +If you are applying a theme to ownCloud, enter the name of the theme here. -The default location for themes is ``nextcloud/themes/``. +The default location for themes is ``owncloud/themes/``. :: @@ -1285,12 +1285,12 @@ AES-256-CFB are supported. 'minimum.supported.desktop.version' => '1.7.0', -The minimum Nextcloud desktop client version that will be allowed to sync with +The minimum ownCloud desktop client version that will be allowed to sync with this server instance. All connections made from earlier clients will be denied -by the server. Defaults to the minimum officially supported Nextcloud version at +by the server. Defaults to the minimum officially supported ownCloud version at the time of release of this server version. -When changing this, note that older unsupported versions of the Nextcloud desktop +When changing this, note that older unsupported versions of the ownCloud desktop client may not function as expected, and could lead to permanent data loss for clients or other unexpected results. @@ -1305,8 +1305,8 @@ calculation, defaults to false. 'filesystem_check_changes' => 0, -Specifies how often the local filesystem (the Nextcloud data/ directory, and -NFS mounts in data/) is checked for changes made outside Nextcloud. This +Specifies how often the local filesystem (the ownCloud data/ directory, and +NFS mounts in data/) is checked for changes made outside ownCloud. This does not apply to external storages. 0 -> Never check the filesystem for outside changes, provides a performance @@ -1320,7 +1320,7 @@ general use if outside changes might happen. 'part_file_in_storage' => true, -On default Nextcloud will store the part files created during upload in the +On default ownCloud will store the part files created during upload in the same storage as the upload target. Setting this to false will store the part files in the root of the users folder which might be required to work with certain external storage setups that have limited rename capabilities. @@ -1334,35 +1334,35 @@ file and one css file if this is set to ``true``. This improves performance. :: - 'assetdirectory' => '/var/www/nextcloud', + 'assetdirectory' => '/var/www/owncloud', The parent of the directory where css and js assets will be stored if -pipelining is enabled; this defaults to the Nextcloud directory. The assets +pipelining is enabled; this defaults to the ownCloud directory. The assets will be stored in a subdirectory of this directory named 'assets'. The server *must* be configured to serve that directory as $WEBROOT/assets. -You will only likely need to change this if the main Nextcloud directory +You will only likely need to change this if the main ownCloud directory is not writeable by the Web server in your configuration. :: - 'mount_file' => '/var/www/nextcloud/data/mount.json', + 'mount_file' => '/var/www/owncloud/data/mount.json', Where ``mount.json`` file should be stored, defaults to ``data/mount.json`` -in the Nextcloud directory. +in the ownCloud directory. :: 'filesystem_cache_readonly' => false, -When ``true``, prevent Nextcloud from changing the cache due to changes in the +When ``true``, prevent ownCloud from changing the cache due to changes in the filesystem for all storage. :: 'secret' => '', -Secret used by Nextcloud for various purposes, e.g. to encrypt data. If you +Secret used by ownCloud for various purposes, e.g. to encrypt data. If you lose this string there will be data corruption. :: @@ -1383,7 +1383,7 @@ Headers that should be trusted as client IP address in combination with 'HTTP_X_FORWARDED_FOR' here. If set incorrectly, a client can spoof their IP address as visible to -Nextcloud, bypassing access controls and making logs useless! +ownCloud, bypassing access controls and making logs useless! Defaults to 'HTTP_X_FORWARED_FOR' if unset @@ -1425,7 +1425,7 @@ is highly recommended to *avoid data loss*. 'debug' => false, -Set this Nextcloud instance to debugging mode +Set this ownCloud instance to debugging mode Only enable this for local development and not in production environments This will disable the minifier and outputs some additional debug information