From 273df540d6dabe08ebbf94ba2e30b725b48fb6f0 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 18 Feb 2026 13:43:22 +0100 Subject: [PATCH] fix(Propagator): Skip groupfolders root entries Signed-off-by: provokateurin --- lib/private/Files/Cache/Propagator.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/private/Files/Cache/Propagator.php b/lib/private/Files/Cache/Propagator.php index a6ba87896f4de..2b580686ba288 100644 --- a/lib/private/Files/Cache/Propagator.php +++ b/lib/private/Files/Cache/Propagator.php @@ -8,6 +8,7 @@ namespace OC\Files\Cache; use OC\DB\Exceptions\DbalException; +use OC\Files\Storage\LocalRootStorage; use OC\Files\Storage\Wrapper\Encryption; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\Files\Cache\IPropagator; @@ -68,6 +69,10 @@ public function propagateChange($internalPath, $time, $sizeDifference = 0) { $storageId = $this->storage->getStorageCache()->getNumericId(); $parents = $this->getParents($internalPath); + if ($this->storage->instanceOfStorage(LocalRootStorage::class) && str_starts_with($internalPath, '__groupfolders')) { + // Remove '' and '__groupfolders' + $parents = array_slice($parents, 2); + } if ($this->inBatch) { foreach ($parents as $parent) {