From 6e0812694a4f230ed97c0d94bc5c07858243cd4f Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Wed, 8 Feb 2023 09:36:22 -0800 Subject: [PATCH] move lockfile to /var/www/html /var/lock is not likely shared across Nextcloud app server containers Borrowed this idea from @remram44's patch in #1905. Signed-off-by: Adam Monsen --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index ff7210d054..d55e9a8465 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -234,7 +234,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi - ) 9> /var/lock/nextcloud-init-sync.lock + ) 9> /var/www/html/nextcloud-init-sync.lock fi # Update htaccess after init if requested