mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-06 05:24:37 +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
|
@ -212,6 +212,9 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
|
||||||
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