From 86386eb959ed3dcdee9ddda33e446ea55c70cb2e Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 13 Aug 2024 17:01:32 +0200 Subject: [PATCH] debug: display current value of occ status --- hooks/gx.before-starting.www.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/gx.before-starting.www.sh b/hooks/gx.before-starting.www.sh index 8a0f7b1..ca8a57b 100755 --- a/hooks/gx.before-starting.www.sh +++ b/hooks/gx.before-starting.www.sh @@ -18,6 +18,8 @@ cd "$WORKDIR" || exit 1 echo "GX:BEFORE-STARTING:START ($(pwd))" # find . -maxdepth 1 echo "GX:BEFORE-STARTING:STATUS" + +php -d memory_limit=-1 occ status |jq -r '.installed' INSTALLED="$(php -d memory_limit=-1 occ status |jq -r '.installed')" if [ "$INSTALLED" != "true" ]; then echo "WARNING: Not installed yet. Exiting."