setting for recursive extra config.php search - #40413
Conversation
|
💥 Acceptance tests pipeline cliEncryption-mariadb10.2-php7.4 failed. The build has been cancelled. |
|
SonarCloud Quality Gate failed. |
|
@phil-davis has something changed to SonarCloud? I have full coverage for the code, and sonar says 0%. Somehow my unit test was not detected? |
Thanks for letting me know. Should be fixed by #40415 |
|
@mrow4a the new config parameter |
|
@mmattel not true, check description. it is not possible to add this to any of *.config.php, it can only be enabled using ENV variable however, I am not sure if we ever merge this PR.. seems no longer needed for related deployment |
|
@d7oc is this still needed? |
|
Not from my side. See my comment in https://github.com/owncloud/enterprise/issues/5406#issuecomment-1274719083 |








Description
Feature: setting for recursive extra config.php search
Before this change extra config.php files were required to be placed directly in the config folder.
This change allows to have nested folders configuration structure, enabled by config value OC_CONFIG_EXTRA_RECURSIVE_SEARCH, that can be useful in some deployments.
NOTE: due to the fact that this configuration control setting the configuration itself, it is only possible to enable this setting with environment variable, it is not possible to enable it with *.config.php file.
Related Issue
How Has This Been Tested?
-> add nested config
-> Update entry in
/etc/apache2/sites-available/owncloud.confwithSetEnv OC_CONFIG_EXTRA_RECURSIVE_SEARCH true@d7oc NOTE: probably in your case it needs to be Dockefile env, but you would need to test this. In owncloud code we do not care how env is provided, as soon as it is provided by methods allowed by deployment (docker, apache2, etc..).
-> check that config is applied
Types of changes
Checklist: