From 27c68fdcae425093a242994351c7d672bbcd917c Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 22 Sep 2024 16:19:48 +0200 Subject: [PATCH] fix: skip the integrity check for nextcloud-init-sync.lock nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time. Ref: https://github.com/nextcloud/docker/issues/2299. Signed-off-by: Daniel Kesselberg --- .../Iterator/ExcludeFileByNameFilterIterator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php index 6d26a40aef435..31eb007e3d665 100644 --- a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php +++ b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php @@ -42,10 +42,11 @@ class ExcludeFileByNameFilterIterator extends \RecursiveFilterIterator { */ private $excludedFilenames = [ '.DS_Store', // Mac OS X - 'Thumbs.db', // Microsoft Windows '.directory', // Dolphin (KDE) - '.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps. '.rnd', + '.webapp', // Gentoo/Funtoo & derivatives use a tool known as webapp-config to manage web-apps. + 'Thumbs.db', // Microsoft Windows + 'nextcloud-init-sync.lock' // Used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time: https://github.com/nextcloud/docker/issues/2299. ]; /**