From 0fd46b860a16e6560e3fba57b703e8c2aa5dd0a7 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 6 Nov 2024 14:37:04 +0100 Subject: [PATCH] fix json-validator workflow Signed-off-by: Simon L. --- .github/workflows/json-validator.yml | 2 +- Containers/nextcloud/entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/json-validator.yml b/.github/workflows/json-validator.yml index 86e269e981a1..35f4e8e667c5 100644 --- a/.github/workflows/json-validator.yml +++ b/.github/workflows/json-validator.yml @@ -21,7 +21,7 @@ jobs: run: | sudo apt-get update sudo apt-get install python3-pip -y --no-install-recommends - sudo pip3 install json-spec + sudo pip3 install json-spec --break-system-packages if ! json validate --schema-file=php/containers-schema.json --document-file=php/containers.json; then exit 1 fi diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index ae57767977d3..99517dde8249 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -115,6 +115,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then exit 1 fi rm "$NEXTCLOUD_DATA_DIR/update.failed" + php /var/www/html/occ maintenance:repair --include-expensive # shellcheck disable=SC2016 installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')" INSTALLED_MAJOR="${installed_version%%.*}"