From 8a1b05ccac67cf9f1119ce948d2975ee635e1945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sun, 1 Feb 2026 19:35:19 +0100 Subject: [PATCH] n8n: Fix dependencies (#11429) * Fix dependencies * Update ct/n8n.sh Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --------- Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com> Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- ct/n8n.sh | 2 ++ install/n8n-install.sh | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ct/n8n.sh b/ct/n8n.sh index 3e668b305..799f88aab 100644 --- a/ct/n8n.sh +++ b/ct/n8n.sh @@ -27,6 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi +ensure_dependencies graphicsmagick if [ ! -f /opt/n8n.env ]; then sed -i 's|^Environment="N8N_SECURE_COOKIE=false"$|EnvironmentFile=/opt/n8n.env|' /etc/systemd/system/n8n.service mkdir -p /opt @@ -37,6 +38,7 @@ N8N_PROTOCOL=http N8N_HOST=$LOCAL_IP EOF fi + NODE_VERSION="22" setup_nodejs msg_info "Updating ${APP} LXC" diff --git a/install/n8n-install.sh b/install/n8n-install.sh index c95806739..29cf08d4e 100644 --- a/install/n8n-install.sh +++ b/install/n8n-install.sh @@ -18,7 +18,8 @@ $STD apt install -y \ ca-certificates \ build-essential \ python3 \ - python3-setuptools + python3-setuptools \ + graphicsmagick msg_ok "Installed Dependencies" NODE_VERSION="22" setup_nodejs