aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2024-09-22 16:19:48 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-23 15:49:41 +0000
commite0933c0d8f092600920199c7e2d7ea55cca4ba74 (patch)
treeadf75abd8547bca213f422e1eaf911a5a9ba3552
parentcc0e1331678de8b22fed8401799462a402b5ac8e (diff)
downloadnextcloud-server-e0933c0d8f092600920199c7e2d7ea55cca4ba74.tar.gz
nextcloud-server-e0933c0d8f092600920199c7e2d7ea55cca4ba74.zip
fix: skip the integrity check for nextcloud-init-sync.lockbackport/48268/stable28
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 <mail@danielkesselberg.de>
-rw-r--r--lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php b/lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php
index 6d26a40aef4..31eb007e3d6 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.
];
/**