From 689292d440a4fbb4e1cb12493da73b99c40740e3 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 24 Oct 2024 20:08:05 +0600 Subject: [PATCH 1/2] feat: remove cli check condition on storageWrapper setup some cli commands (ex: fileScan & generateMetaData BG job) are using FS which is causing issue in minimal setup. We need to stop this access. issue: https://gitlab.e.foundation/e/infra/backlog/-/issues/3642 --- lib/AppInfo/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index ae455434..1beceac8 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -91,7 +91,7 @@ class Application extends App implements IBootstrap { public function addStorageWrapperCallback($mountPoint, IStorage $storage) { $instanceId = \OC::$server->getConfig()->getSystemValue('instanceid', ''); $appdataFolder = 'appdata_' . $instanceId; - if (!\OC::$CLI && $mountPoint !== '/' && strpos($mountPoint, '/' . $appdataFolder) !== 0) { + if ($mountPoint !== '/' && strpos($mountPoint, '/' . $appdataFolder) !== 0) { return new StorageWrapper([ 'storage' => $storage, 'mountPoint' => $mountPoint, -- GitLab From a338aa64cdd9da015798ed61a7c951a506249651 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 24 Oct 2024 20:14:57 +0600 Subject: [PATCH 2/2] chore: bump the version to 8.0.3 --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 90509703..35a9b216 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -10,7 +10,7 @@ - 8.0.2 + 8.0.3 agpl Murena SAS EcloudAccounts -- GitLab