mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-05 13:04:32 +08:00
try to fix initial install
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
847b285e41
commit
d7dc6bdea6
1 changed files with 4 additions and 1 deletions
|
@ -211,7 +211,10 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
|
||||||
touch "$NEXTCLOUD_DATA_DIR/install.failed"
|
touch "$NEXTCLOUD_DATA_DIR/install.failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Try to force generation of appdata dir:
|
||||||
|
php /var/www/html/occ maintenance:repair
|
||||||
|
|
||||||
max_retries=10
|
max_retries=10
|
||||||
try=0
|
try=0
|
||||||
while [ -z "$(find "$NEXTCLOUD_DATA_DIR/" -maxdepth 1 -mindepth 1 -type d -name "appdata_*")" ] && [ "$try" -lt "$max_retries" ]; do
|
while [ -z "$(find "$NEXTCLOUD_DATA_DIR/" -maxdepth 1 -mindepth 1 -type d -name "appdata_*")" ] && [ "$try" -lt "$max_retries" ]; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue