config.php to a custom config: custom.config.phpConfig settings in custom.config.php should stay just in this file.
Nextcloud automatically duplicates all variables in custom.config.php into custom.php upon invocation of eg. maintenance mode (via occ).
Operating system: Ubuntu 16.04
Web server: Apache 2
Database: MariaDB
PHP version: 7.0
Nextcloud version: 15.0.5
Updated from an older Nextcloud/ownCloud or fresh install: both
Where did you install Nextcloud from: tar.bz2
This is actually a features. We merge this so you can have default config in place.
Just name it config.custom.php or config.php.custom. Just not *.config.php
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file
Hmm. Could you clarify? It looks wrong to me that these files are merged.
@rullzer
can you clarify?
comment/link by @kesselb make sense to me as well ... reading that, the files shouldn't be merged.
yet, with NC/head (atm v17), still seeing the same behavior @nblock reports
Most helpful comment
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file
Hmm. Could you clarify? It looks wrong to me that these files are merged.