aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index d445afaa092..c4606383666 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -970,7 +970,7 @@ class OC_Util {
}
foreach (['secret', 'instanceid', 'passwordsalt'] as $requiredConfig) {
- if ($config->getValue($requiredConfig, '') === '' && !\OC::$CLI) {
+ if ($config->getValue($requiredConfig, '') === '' && !\OC::$CLI && $config->getValue('installed', false)) {
$errors[] = [
'error' => $l->t('The required \'' . $requiredConfig . '\' config variable is not configued in the config.php file.'),
'hint' => $l->t('Please ask your server administrator to check the Nextcloud configuration.')