Stuck on version 1.75.2, won't auto upgrade to latest

Describe the problem/error/question

I’m currently on 1.75.2 community edition. Until recently, npm upgrade -g n8n has always done the right thing. For some reason, I cannot upgrade beyond 1.75.2.

I’ve tried uninstalling (globally) and installing (globally) again; also tried explicitly installing @latest or @1.84.1 but in each case the version that is seemingly installed is 1.75.2.

Any ideas what I’m missing here?

What is the error message (if any)?

There’s no error message as such, the npm install or upgrade processes completed with no errors, but I just remain stuck on the same version

Information on your n8n setup

  • n8n version: 1.75.2
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Debian bookworm amd64
  • n8n N8N_RELEASE_TYPE setting: stable

So at some point in history on my particular system, v1.75.2 was installed to /usr/local rather than /usr

My particular PATH environment variable gives precedence to /usr/local over /usr, hence my /usr/local/lib/node_modules and binaries in /usr/local/bin were being used in preference.

The global install / upgrade was of course acting on /usr not /usr/local, so the upgrade was actually happening correctly, only I wasn’t calling the correct set of binaries.

Which is nice.

Anyway, problem solved - check for stray installations of n8n in /usr/local if you’re having a similar problem.

2 Likes

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