Problems updating N8N (Heroku hosted)

Hi! I’m super new to deploying apps on my own VPS, but loving N8N so far!

I am however facing an issue trying to update the version, currently on 0.184.0 and I deployed to heroku using this one-click button here GitHub - sarveshpro/n8n-heroku: n8n docker implementation for heroku.. I followed the npm update instructions (see below) and getting the below response, with N8N still showing 9 updates available.

Appreciate this is a rather noob question, but keen to get updated to the latest version on my own VPS (rather than the cloud/SaaS version).

Response from update command as below:

npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to latest, [email protected] or [email protected]! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated [email protected]: [email protected]<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 7 packages, removed 40 packages, changed 501 packages, and audited 1351 packages in 4m

110 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (1 moderate, 7 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice 
npm notice New minor version of npm available! 8.15.0 -> 8.19.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.1
npm notice Run npm install -g [email protected] to update!
npm notice 

Appreciate any help! Thank you :pray:

Hey @jt7635,

Welcome to the community :tada:

I can’t see any errors in the output you posted, is there more to it?

Thanks Jon!

There isn’t any more to the output no (just process exited from Heroku console) - it seems an install process was carried out, but even after restarting my dyno and navigating back to the live link, N8N still showing as not updated (still 9 updates behind latest)

That is odd, I have not really used Heroku before. I have just looked at the link you posted though and it is using a container not npm.

When you run the command on Heroku is that running it in the custom container you deployed or on the Heroku instance?

It looks like you might need to update the Dockerfile to change the version then build and push the container again.

It looks someone has asked the same question about upgrading on the project itself here: How to update this to the new n8n version · Issue #48 · sarveshpro/n8n-heroku · GitHub

There is also a pull request on it to update it to 192.