Skip to content

Commit

Permalink
try to fix initial install
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Feb 6, 2023
1 parent 847b285 commit d7dc6bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
touch "$NEXTCLOUD_DATA_DIR/install.failed"
exit 1
fi


# Try to force generation of appdata dir:
php /var/www/html/occ maintenance:repair

max_retries=10
try=0
while [ -z "$(find "$NEXTCLOUD_DATA_DIR/" -maxdepth 1 -mindepth 1 -type d -name "appdata_*")" ] && [ "$try" -lt "$max_retries" ]; do
Expand Down

0 comments on commit d7dc6bd

Please sign in to comment.