Update n8n.sh (#8004)
This commit is contained in:
parent
e7d41fecdc
commit
cfc85c1b79
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user