We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b0f072 + 833eb96 commit 76de27aCopy full SHA for 76de27a
lib/private/Http/Client/Client.php
@@ -69,7 +69,7 @@ private function setDefaultOptions() {
69
// If the instance is not yet setup we need to use the static path as
70
// $this->certificateManager->getAbsoluteBundlePath() tries to instantiiate
71
// a view
72
- if ($this->config->getSystemValue('installed', false)) {
+ if ($this->config->getSystemValue('installed', false) && !\OCP\Util::needUpgrade()) {
73
$this->client->setDefaultOption('verify', $this->certificateManager->getAbsoluteBundlePath(null));
74
} else {
75
$this->client->setDefaultOption('verify', \OC::$SERVERROOT . '/resources/config/ca-bundle.crt');
0 commit comments