Configuration File
The Nextcloud Client reads a configuration file. You can locate this configuration file as follows:
- On Linux distributions:
$HOME/.config/Nextcloud/nextcloud.cfg- On Microsoft Windows systems:
%APPDATA%\Nextcloud\nextcloud.cfg- On macOS systems:
Starting with version 33.0.0:
$HOME/Library/Containers/com.nextcloud.desktopclient/Data/Library/Preferences/Nextcloud/nextcloud.cfgOn older versions:
$HOME/Library/Preferences/Nextcloud/nextcloud.cfg
Note
In a Citrix workspace, the user’s Roaming profile need to be persisted between sessions. The failure on doing so will result in users having to set up their account again in every new session.
The configuration file contains settings using the Microsoft Windows .ini file format. You can overwrite changes using the Nextcloud configuration dialog.
Note
Use caution when making changes to the Nextcloud Client configuration file. Incorrect settings can produce unintended results.
The configuration file also contains account details, sync folder state, window geometry, cache values, migration markers, and updater state. Those values are managed by the client and are not documented here for manual editing.
Some interesting values that can be set on the configuration file are:
[Nextcloud] section
Variable |
Default |
Meaning |
|---|---|---|
|
|
Specifies the poll time for the remote repository in milliseconds. Values below |
|
|
The duration of no activity after which a synchronization run shall be triggered automatically. If this value is lower than |
|
|
The interval after which the next synchronization will perform a full local discovery. Set this to |
|
|
Specifies the default interval of checking for new server notifications in milliseconds. Values below |
|
|
Disables update checks and hides the updater user interface. |
|
|
Enables automatic update checks when update checks are not skipped. |
|
|
Specifies the interval for automatic update checks in milliseconds. Values below |
[General] section
Variable |
Default |
Meaning |
|---|---|---|
|
|
Specifies the initial chunk size of uploaded files in bytes. The client can dynamically adjust this size within the maximum and minimum bounds. Server capabilities and environment variables can also affect the effective chunk size. |
|
|
Specifies the minimum configured chunk size of uploaded files in bytes. Values below the protocol minimum are raised by the sync engine. |
|
|
Specifies the maximum configured chunk size of uploaded files in bytes. Server capabilities can override this value at runtime. |
|
|
If the client should force the new login flow, even though some circumstances might need the old flow. |
|
|
If a UI prompt should ask for confirmation when all files are detected as deleted or when the number of deleted files exceeds |
|
|
The number of deleted files above which |
|
|
The timeout for network connections in seconds. The |
|
|
If files deleted on the server should be moved to the local trash instead of being deleted permanently. |
|
|
Whether to show experimental options that are still undergoing testing in the user interface. Turning this on does not enable experimental behavior on its own. It enables user interface options that can be used to opt in to experimental features. |
|
|
Whether the main dialog should be shown as a normal window even if tray icons are available. |
|
|
Whether monochrome tray icons should be used. On macOS, the official Nextcloud client defaults this to |
|
|
Whether optional server notifications should be shown. |
|
|
Whether chat notifications should be shown when optional server notifications are enabled. |
|
|
Whether call notifications should be shown when optional server notifications are enabled. |
|
|
Whether quota warning notifications should be shown when optional server notifications are enabled. |
|
Platform dependent |
Whether synced folders should be shown in the Windows Explorer navigation pane. The default is |
|
|
Stores whether the option to launch the client on system startup is enabled. |
|
empty |
Enforces a specific language for the user interface. An empty value uses the operating system language. |
|
Build dependent |
The selected update channel. Invalid values are ignored. Branded clients may only support their default channel. |
|
|
Folder size limit in MB used when asking before synchronizing large folders. |
|
|
Enables the large-folder confirmation limit. |
|
|
Ask before synchronizing external storages. |
|
|
Notify when existing synced folders grow beyond |
|
Follows |
Stop syncing existing folders that exceed the configured folder size limit. |
|
|
Write logs to a temporary log directory. |
|
|
Directory for client log files. |
|
|
Enable debug logging. |
|
|
Log retention time in hours. |
|
|
Flush log output immediately. |
Note
Upload sync options can also be overridden by environment variables.
OWNCLOUD_CHUNK_SIZE, OWNCLOUD_MIN_CHUNK_SIZE,
OWNCLOUD_MAX_CHUNK_SIZE, and OWNCLOUD_MAX_PARALLEL are applied
after configuration values and server capabilities. The dynamic chunk target
duration can be overridden with OWNCLOUD_TARGET_CHUNK_UPLOAD_DURATION.
The targetChunkUploadDuration key in nextcloud.cfg is currently not
applied by GUI sync.
Legacy [Proxy] section
The top-level [Proxy] section is the legacy/global proxy configuration.
Current account proxy settings are stored per account in the [Accounts]
section. Proxy passwords are stored in the system keychain where possible.
Variable |
Default |
Meaning |
|---|---|---|
|
empty |
The address of the proxy server. |
|
|
The port where the proxy is listening. The settings dialog may show |
|
|
Whether the proxy requires authentication. |
|
empty |
Proxy username. |
|
|
|
|
||
|
||
|
Per-account network settings
Current proxy and bandwidth settings are stored below the individual account
group in the [Accounts] section.
Variable |
Default |
Meaning |
|---|---|---|
|
|
Account proxy type. |
|
empty |
Account proxy hostname. |
|
|
Account proxy port. |
|
|
Whether the account proxy requires authentication. |
|
empty |
Account proxy username. |
|
|
Upload bandwidth limit mode. |
|
|
Download bandwidth limit mode. |
|
|
Manual upload limit in KB/s. |
|
|
Manual download limit in KB/s. |