fix datadir permission check

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-02-27 14:48:49 +01:00
parent bcdb692dd1
commit ee06a04f51
5 changed files with 21 additions and 1 deletions

View file

@ -212,6 +212,10 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
exit 1
fi
if [ "$SKIP_DATA_DIRECTORY_PERMISSION_CHECK" = yes ]; then
php /var/www/html/occ config:system:set check_data_directory_permissions --value=false --type=bool
fi
# Try to force generation of appdata dir:
php /var/www/html/occ maintenance:repair