0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-18 02:56:42 +01:00

Runs update.sh

This commit is contained in:
GitHub Workflow 2022-06-07 12:26:59 +00:00
parent ec3f7e55c4
commit 00d88733d0
9 changed files with 27 additions and 18 deletions

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))

View file

@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi fi
# If another process is syncing the html folder, wait for # If another process is syncing the html folder, wait for
# it to be done, then escape initalization # it to be done, then escape initalization.
# You need to define the NEXTCLOUD_INIT_LOCK environment variable
lock=/var/www/html/nextcloud-init-sync.lock lock=/var/www/html/nextcloud-init-sync.lock
count=0 count=0
limit=10 limit=10
if [ -f "$lock" ]; then if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then
until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ]
do do
count=$((count+1)) count=$((count+1))