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