From 1bebeff72063aa8ce90698dfeac6019251df45f7 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 9 Feb 2025 10:06:24 +0100 Subject: [PATCH] Add further info message that building the tree may have failed because of too little RAM baing available. We have see this a few times, either with way too many domains on devices like a Pi Zero or, e.g., only 256 MB RAM being allocated to VMs Signed-off-by: DL6ER --- gravity.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gravity.sh b/gravity.sh index bd6285c5..0a34599b 100755 --- a/gravity.sh +++ b/gravity.sh @@ -97,6 +97,7 @@ gravity_build_tree() { if [[ "${status}" -ne 0 ]]; then echo -e "\\n ${CROSS} Unable to build gravity tree in ${gravityTEMPfile}\\n ${output}" + echo -e " ${INFO} If you have a large amount of domains, make sure your Pi-hole has enough RAM available\\n" return 1 fi echo -e "${OVER} ${TICK} ${str}"