Skip to content

Commit cfc85c1

Browse files
authored
Update n8n.sh (#8004)
1 parent e7d41fe commit cfc85c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ct/n8n.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ EOF
4141
NODE_VERSION="22" setup_nodejs
4242

4343
msg_info "Updating ${APP} LXC"
44-
$STD npm update -g n8n
44+
rm -rf /usr/lib/node_modules/.n8n-* /usr/lib/node_modules/n8n
45+
$STD npm install -g n8n --force
4546
systemctl restart n8n
4647
msg_ok "Updated Successfully"
4748
exit

0 commit comments

Comments
 (0)