From d59fcf34591dc2585dc26fc497e1022ddb88200a Mon Sep 17 00:00:00 2001 From: rztrainlocal Date: Mon, 6 Apr 2026 18:18:19 +0200 Subject: [PATCH] fix(9656): Use absolute paths for a2enmod, a2enconf for debain setup script (#9815) Reason: On debian, it does not have `/usr/sbin` in the path environment variable anymore. Co-authored-by: rztrainlocal --- pkg/linux/setup-web.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/linux/setup-web.sh b/pkg/linux/setup-web.sh index a575db752..4fd075fb5 100755 --- a/pkg/linux/setup-web.sh +++ b/pkg/linux/setup-web.sh @@ -112,8 +112,8 @@ if [ ${IS_DEBIAN} == 1 ]; then case ${RESPONSE} in y|Y ) - a2enmod wsgi 1> /dev/null - a2enconf pgadmin4 1> /dev/null + /usr/sbin/a2enmod wsgi 1> /dev/null + /usr/sbin/a2enconf pgadmin4 1> /dev/null ;; * ) exit 1;;