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 <mail@danielkesselberg.de>
pull/48268/head
Daniel Kesselberg 7 months ago
parent 77c1db0cd6
commit 6e870c0206
No known key found for this signature in database
GPG Key ID: 4A81C29F63464E8F
  1. 5
      lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php

@ -24,10 +24,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.
];
/**

Loading…
Cancel
Save