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
commit 6463ea368a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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