R
Railway13mo ago
el9900

n8n template

The template: https://github.com/railwayapp-templates/n8n is not working. the button to "deploy on Railway" ends in a 404 page and deploying from template ends in an error "Failed to fetch". Is this something I can fix on my end or is there an error on the template? Thanks!
GitHub
GitHub - railwayapp-templates/n8n: Self-hosted Workflow Automation ...
Self-hosted Workflow Automation Tool. Contribute to railwayapp-templates/n8n development by creating an account on GitHub.
Solution:
The template: https://github.com/railwayapp-templates/n8n is not working. the button to "deploy on Railway" ends in a 404 page and deploying from template ends in an error "Failed to fetch". Is this something I can fix on my end or is there an error on the template? Thanks!
GitHub
GitHub - railwayapp-templates/n8n: Self-hosted Workflow Automation ...
Self-hosted Workflow Automation Tool. Contribute to railwayapp-templates/n8n development by creating an account on GitHub.
Jump to solution
27 Replies
Percy
Percy13mo ago
Project ID: N/A
el9900
el990013mo ago
N/A
Brody
Brody13mo ago
this would be an issue with the template, I will notify the right people when the time is right
Jack
Jack13mo ago
I’ll check this out, I’ve made frequent use of n8n on multiple different services. Try to restart your deployment, this issue could relate to it starting before the Postgres database is ready, diagnosing the issue.
Brody
Brody13mo ago
the button to deploy the template in that repo's readme is broken
Jack
Jack13mo ago
Ah, odd. Worked for me but noticed very outdated and deprecated pieces of it; also introduced integrated a volume. Redeployed the template as a new one with the new template system and suggesting the archive of the old one. https://railway.app/template/r2SNX_
Railway
Deploy N8N on Railway
A powerful workflow automation tool for technical people
Brody
Brody13mo ago
sounds good to me, I'll ask fp if he wants to take down his n8m template in favour of yours, thank you!
Jack
Jack13mo ago
Perfect, thank you so much! I'll make sure to check out other dated templates and make sure everything's up to date. Not sure if FP even made it, he probably just uploaded it because the last commit was two years ago and the template was created a year ago when the new template system came out, so I’m sure he wouldn’t mind.
Brody
Brody13mo ago
that's true, he didn't make it, I just saw that he was the last I'm the comment history and ran with that lol but I did ask him @fp 🙂
Jack
Jack13mo ago
Also making mention if its possible, could I be added to the railwayapp-templates organization and given org-repo-write/admin access, I could just update everything there and reupload them if that would be easier for organization purposes, otherwise I can do it how I'm doing it now, theres just a lot of outdated templates.
Brody
Brody13mo ago
you can submit pull requests?
Jack
Jack13mo ago
Oh true, just wasn't sure if there was a more efficent way of doing it. Also wish there could be some sort of way I could modify the templates internally to reflect any necessary template changes in the GitHub, however I don't own the other templates.
Brody
Brody13mo ago
yeah youd need to be owner for that
Jack
Jack13mo ago
Maybe a possible template railway-template config file for the org repos so that they don't need to have an owner and can be internally modified and are represented as "Verified" or "Official" templates as compared to "Community" templates? I know this is getting off-topic now and turning into feedback, haha, should migrate this into a feedback thread, my apologies.
Brody
Brody13mo ago
sounds like a good idea, maybe slap that in https://feedback.railway.app/ also, this might be asking too much of you, but n8n says basic auth is being deprecated, would you have any interest in updating the auth to the current recommended method?
Jack
Jack13mo ago
Already did, that was one of the major changes in the template update.
Brody
Brody13mo ago
damn youre good
Jack
Jack13mo ago
Any knowing what'll happen if someone whos not priority boarding uses a template with a volume in it? Whether it returns nothing for the env variable or undefined? Not sure it would be app-breaking but I'd assume its planned to release in the next month.
Brody
Brody13mo ago
good question, it simply prompts them with an option to join beta
Jack
Jack13mo ago
Its self-sufficent without the volume variable as well, just provides more structure. Ah, perfect.
Jack
Jack13mo ago
Official/verified templates | Feature Requests | Railway
Currently, all templates require to be uploaded by a user, which makes updating and configuration incredibly easy if managed and updated, however, there are
Brody
Brody13mo ago
upvoted!
Faraz
Faraz13mo ago
Unpublished mine. 🫡
el9900
el990013mo ago
thanks a lot! the new one is working great! Thanks again for the super fast support!!
el9900
el990013mo ago
Hi @jtmaveryk! I checked the template and it worked, however I did not deployed, I tried today and got stuck at: "Remove extra start command"; in the logs the error reads: "Attempt #1 failed with service unavailable". I deleted my repo and started from scratch, same issue several times. I'm sorry to bother again, but could you maybe point me in the right direction? Thanks!
Jack
Jack13mo ago
My apologies! Just looked into it and believe I found a fix, you can either redeploy the template or change the start command to simply “n8n start” and it should automatically redeploy, setup the database tables, and you should be all set!
el9900
el990013mo ago
That did the trick, thanks again!!