Error on Deploying n8n
I'm trying to deploy n8n today, but I'm getting errors.
n8n-worker quickly approves, but after a few minutes, it appears as failed.
And the n8n takes about 5 minutes to deploy, and then the failure occurs.
I've already tried deleting the project, deleting the repositories in my github account, and doing it all again. But the problem continues.
46 Replies
Project ID:
N/A
I'm trying to use this template
it seems like both those templates need some love
@Jack do you think you could update your template to deploy from docker images only and add a worker service to the template, then i will ask the team to unpublish the other template
❤️ Thanks Brody
though i havent seen jack around for a while, he is going to be a pilot after all
wait for a few days since id want jack to keep his template, but if they arent able to maintain it thats okay too, and in that case i think i could take over the n8n template and get it working
i will try to install the "regular" version, without workers
dont think it would change anything, they basically use the same dockerfiles
It gets success on the deployment
But when you access it
have a little patience please lol
the domain hasnt propagated to railways router
🤣
You are right
cool
Thanks Brody!
no problem
of course, doesn’t seem overkill for performance and price though, no?
you mean running a docker image or adding the worker?
worker
plus redis
yes I think it would be worth it to be more feature complete
on it 👍
awesome, thank you
Will get to ASAP, extremely busy with school lately, haha. My apologies.
no worries
Done! So proud of my changes, completely redid the template to use the docker image (doesn’t require repo anymore), sets exact variables, uses new variable features, and includes worker queue with Redis; zero-configuration necessary. @Brody @silent
Not sure if it suppressed the ping correctly, apologies, besides the point, the other one, of which I noticed unreliability with, can be taken down now.
haha the @silent has to be first in the message
Ohh, haha, my bad.
it's the thought that counts 🙂
but let me check this out
Also noticed that you can’t edit two services in a template at a time, did so much work and made the same mistake twice, when you update one, it’ll erase the other’s changes.
yeah I've ran into that too
n8n doesn't require any volumes?
Sorry I’ve been so busy lately too and away from the community, schools been so time consuming lately, trying to get back into it.
Assumingely not, tried it once but was being problematic and haven’t had it in production.
Every template has been performing without, so unless it comes up with someone needing it or showing a positive to make it worth it.
Wouldn’t be opposed but if it’s not extremely necessary.
would you be opposed to adding postgres and redis as services? that way you can disable external access and use the internal network for n8n to database communication?
Can you edit that in templates?
I’d love to, wasn’t sure if you could customize that.
it would involve unchecking the default postgres and redis options and creating your own postgres and redis services like you did for both n8n services
I can do that, would that “data” tab still be available on the project page?
Would be nice to have an import and export for databases or volumes even actually.
in my templates that use postgres or redis I'm pretty sure I disabled that, I never recommend using the data tab anyway
Yeah that’s true.
You can toggle that?
Do you have a template I could reference as an example?
That either includes both or one of each by the top of your head?
not a toggle, but railway expects some variables set in order to use the data tab, and I just don't set them (disable was a bad term lol)
Ohh, that’s helpful.
typebot has a custom postgres service https://railway.app/template/CUZ7Dz
it has the tcp proxy turned off, but all the variables are in place so that you could turn it back on and grab the credentials so that you can still connect to it externally
One more wish, when deploying a docker image service, expecting similar functionality as a repo service, it’ll want you to click Modify and then Save, but if it doesn’t require configuration as a docker image, it’ll still have you do it.
noticed that too, very annoying, but there will soon be a big template overhaul so I'm betting all these shortcomings will just be fixed
my chatwoot template has both custom postgres and redis services, both of course with their TCP proxys disabled by default
https://railway.app/template/ZBnDBU
for postgres you need a custom start command
without this, when you disable the the tcp proxy the PGPORT environment variable is set to an empty string and postgres doesn't like that, even though the port flag is always used, then it crash loops, so that start command just unsets that variable
I’ll need the TCP proxy though, right?
And out of all the variables you have on your chatwoot Postgres, what are the only ones I need?
Got it I believe, thought the TCP was the private internal dns. Huge bug though, sometimes services you’re editing in the template will replace others in the front end, so you won’t see one but it’ll still exist. Scared me so bad when I pressed save and noticed it wasn’t there, but it was when I went back.
Just made the transition and tried deploying yours and got a database couldn’t be accessed or whatever error, tried mine and got the same with the same configuration.
https://discord.com/channels/713503345364697088/1169725066439827516
I think it's safe to say, all of them
does the n8n image use alpine?
Not sure, but others are experiencing it too, is it not a platform issue?
DM me please