Carbonio Docs and Files#
This page contains a few tables that list the Key names and the default values of some Carbonio Docs and Carbonio Files configuration values that you can modify. You can take these tables into account in case you want to revert some values to their default after some unsatisfactory change.
How to Modify Values#
Values can be changed by using, from any Node, the Carbonio Mesh kv interface: you can access it using the consul command from the CLI.
-
To verify the current value of any key, use command
# consul kv get -token="$CONSUL_TOKEN_PATH" "$KEY"
-
To modify one of the values reported in the tables below, use command
# consul kv put -token="$CONSUL_TOKEN_PATH" "$KEY" "$VALUE"
When changing any of this values, they are immediately picked up by the system, without the need to restart any services.
In the commands, $CONSUL_TOKEN_PATH
is the Carbonio Mesh secret stored on
the Directory Service server, while $KEY
and $VALUE
are
the key name and the new value, respectively, as written in the
tables.
Hint
The Carbonio Mesh token can be retrieved using the procedure described in section Retrieve Token.
Docs Configuration tables#
The following table shows the keys and their default values to configure the maximum file size of documents that Carbonio Docs can manage and open.
The following values can be modified via the Carbonio Mesh interface (see Section Carbonio Mesh Administration Interface) or via the CLI, using the commands presented in the previous section.
Key name |
Default value |
---|---|
carbonio-docs-connector/max-file-size-in-mb/document |
50 |
carbonio-docs-connector/max-file-size-in-mb/presentation |
100 |
carbonio-docs-connector/max-file-size-in-mb/spreadsheet |
10 |
Files Configuration#
The following table shows how to modify the maximum number of versions for each document stored in Carbonio Files.
Using the Carbonio Mesh kv interface, it is possible to change the maximum number of versions stored for each supported file (text and word processor documents, spreadsheets, presentations).
Key name |
Default value |
---|---|
carbonio-files/max-number-of-versions |
3 |
You can raise the default 3 number, but keep in mind that this implies that you need more storage to keep all versions.