hungten
February 28, 2025, 9:46am
1
Hi! I’m super new to deploying apps on heroku. I deployed to heroku using this one-click button here GitHub - n8n-io/n8n-heroku .
I am however facing an issue trying to update the version (i’m running on 1.72.1 ), i run command "npm install -g n8n@latest"but it run and stuck at this image.
Appreciate any help! Thank you
n8n
February 28, 2025, 9:46am
2
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:
How long have you waited? It seems like npm is still trying to download n8n.
I would never every recommend using npm directly with heroku, i
Heroku uses a different deployment model:
Clone the n8n-heroku repository locally:
git clone https://github.com/n8n-io/n8n-heroku.git
cd n8n-heroku
Update the package.json file to specify the latest n8n version:
"dependencies": {
"n8n": "^1.81.0",
...
}
Connect to your Heroku app and push the changes:
heroku git:remote -a your-app-name
git add .
git commit -m "Update n8n to latest version"
git push heroku master
→ -> → Recommended:
Use the Heroku Dashboard to connect your GitHub repository and enable automatic deploys from the updated repository.
2 Likes
hungten
February 28, 2025, 12:28pm
7
Yo_its_prakash:
git push heroku master
really awesome. thank you so much. both solutions worked and it helped me understand github better
1 Like
Please Consider marking the previous comment as Solution if it solved you problem.
1 Like
hungten
February 28, 2025, 2:28pm
10
I have updated to version 1.80.5. This is probably the latest version for docker.
Always update to the latest version, if you can handel update to next version but beware of bugs.
Have Fun Full time with N8N
system
Closed
March 7, 2025, 2:30pm
12
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.