From f8e8feea8726269d7a8017107131d0f6639453e0 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 16:01:13 +0100 Subject: [PATCH] fix(erpnext): link supervisor config and load process groups bench setup production generates supervisor.conf but doesn't symlink it into /etc/supervisor/conf.d/. Without the link, supervisord has no programs and gunicorn never starts (502). Add: symlink + supervisorctl reread/update after bench setup. --- install/erpnext-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/erpnext-install.sh b/install/erpnext-install.sh index fbe73187..62cc4acf 100644 --- a/install/erpnext-install.sh +++ b/install/erpnext-install.sh @@ -87,6 +87,9 @@ $STD curl -fsSL https://bootstrap.pypa.io/get-pip.py | "${BENCH_VENV}/bin/python $STD "${BENCH_VENV}/bin/python" -m pip install ansible ln -sf "${BENCH_VENV}"/bin/ansible* /usr/local/bin/ $STD bash -c 'export PATH="/home/frappe/.local/bin:$PATH"; cd /opt/frappe-bench && bench setup production frappe --yes' +ln -sf /opt/frappe-bench/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench.conf +$STD supervisorctl reread +$STD supervisorctl update $STD systemctl enable --now supervisor msg_ok "Set up Production"