diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 33ac13c83a769..2beb739abc863 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -136,7 +136,7 @@ public function getInstallPath(): ?string { foreach (\OC::$APPSROOTS as $dir) { if (isset($dir['writable']) && $dir['writable'] === true) { // Check if there is a writable install folder. - if (!is_writable($dir['path']) + if ((!is_writable($dir['path']) && $this->config->getSystemValueBool('appstoreenabled', true)) || !is_readable($dir['path']) ) { throw new \RuntimeException(