Update not working - PM2

Hello!
I am running on AWS EC2, with Postgress DB.
Currently V 1.45.1
Node 18.17 with NVM

I have always been able to update following this process. But now, the process runds correctly however the instance remains on 1.45.1. Update flow image below.

pm2 stop n8n
npm install -g n8n@latest
pm2 restart n8n

Please help

Thanks!
Andres

  • n8n version: 1.45.1
  • Database (default: SQLite): Postgress
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): PM2, on AWS EC2
  • Operating system: Ubuntu

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

updated. thanks

1 Like

Hey @pradilla

We don’t officially support pm2 however as it is just an npm install if npm isn’t grabbing the latest version for you this is not likely to be an n8n issue.

Looking at the output you have shared it shows you are using node 18 and we require 20 so I would start by updating your version of node and see if that helps.

I would also recommend using Docker over pm2 as it makes life easier and you don’t need to worry about keeping the dependencies up to date.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.