From 69f5383abed1a1cf1c723af4a10792195f2c8e69 Mon Sep 17 00:00:00 2001 From: Kent Delante Date: Tue, 14 Apr 2026 13:19:06 +0800 Subject: [PATCH] fix(installer): throw an exception only if app store is also enabled Signed-off-by: Kent Delante --- lib/private/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(