Update n8n.sh (#8004)

This commit is contained in:
Slaviša Arežina
2025-09-30 14:17:00 +02:00
committed by GitHub
parent e7d41fecdc
commit cfc85c1b79

View File

@@ -41,7 +41,8 @@ EOF
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
$STD npm update -g n8n rm -rf /usr/lib/node_modules/.n8n-* /usr/lib/node_modules/n8n
$STD npm install -g n8n --force
systemctl restart n8n systemctl restart n8n
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit