Merge pull request #2080 from nextcloud/fix/2077/fix-datadir-permission-check

fix datadir permission check
This commit is contained in:
Simon L
2023-03-02 11:49:42 +01:00
committed by GitHub
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