From b794e0b7d4502e560d845aabf08896beb6df90a3 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 20 Sep 2023 21:26:58 +0200 Subject: [PATCH] block iob node fix command --- debian12/scripts/iobroker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian12/scripts/iobroker.sh b/debian12/scripts/iobroker.sh index 96ee5f4..fdc55c2 100644 --- a/debian12/scripts/iobroker.sh +++ b/debian12/scripts/iobroker.sh @@ -41,6 +41,9 @@ iob_diag () { if [ "$1" = "fix" ]; then # call iobroker fixer iob_fix +elif [ "$1" = "node fix" ]; then # call iobroker node fixer + echo "The execution of this command is blocked as your ioBroker is running inside a Docker container!" + echo "To fix any issues with nodejs, please pull the latest version of the Docker image and recreate your container." elif [ "$1" = "diag" ]; then # call iobroker diag script iob_diag elif [ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]; then # block execution of iobroker start | stop | restart