N8N (w/ workers)

4 months ago

Description: A powerful workflow automation tool for technical people

Category: Automation

URL: https://railway.app/template/r2SNX_

Templates

35 Comments

3 months ago

Some time ago we discussed in discord that this template should be able to be used with the ai-beta image from n8n. However, i used to have it deployed and it is crashing now that i made updates to the images. However, i did try a fresh install of this template and then changed the image to the one with the ai tag and i am having the following error:

Any idea of what it can be?


yukyolol

PRO

3 months ago

Some time ago we discussed in discord that this template should be able to be used with the ai-beta image from n8n. However, i used to have it deployed and it is crashing now that i made updates to the images. However, i did try a fresh install of this template and then changed the image to the one with the ai tag and i am having the following error:

Any idea of what it can be?

Are you running the latest n8n version? Now, the stable n8n version includes AI features...


3 months ago

this was solved via discord, and indeed the solution was using the latest n8n image. thanks for the help!


jacksonm93

PRO

3 months ago

how to increase concurrency from 10 to 20?


yukyolol

PRO

3 months ago

how to increase concurrency from 10 to 20?

In the worker settings check the start command. You should be able to change it from there. Just a small tip: a high concurrency is not always the best solution. Sometimes if tasks are too intensive you want to add extra workers instead of increasing the concurrency.


jacksonm93

PRO

3 months ago

how to increase concurrency from 10 to 20?

In the worker settings check the start command. You should be able to change it from there. Just a small tip: a high concurrency is not always the best solution. Sometimes if tasks are too intensive you want to add extra workers instead of increasing the concurrency.

Thanks. I got it. My n8n reads and writes to a database and responds to the Telegram API. I believe it can handle a maximum of 20 concurrent requests since it is a light load. Feedbacks are welcome.


juanmart1981

HOBBY

3 months ago

Quick Question: what's the easiest way to change the webhooks and my whole app to myurl.mydomain.com instead of https://primary-production-xxxxx.up.railway.app/webhook-test/xxxxx ... I was able to add my name, but I can't seem to see where In the app I can change all the tests, webhooks and main URL of the app to myurl.mydomain.com .. thanks fo your help!


yukyolol

PRO

3 months ago

Quick Question: what's the easiest way to change the webhooks and my whole app to myurl.mydomain.com instead of https://primary-production-xxxxx.up.railway.app/webhook-test/xxxxx ... I was able to add my name, but I can't seem to see where In the app I can change all the tests, webhooks and main URL of the app to myurl.mydomain.com .. thanks fo your help!

Have you configured your domain first in the Main instance settings?


juanmart1981

HOBBY

3 months ago

Quick Question: what's the easiest way to change the webhooks and my whole app to myurl.mydomain.com instead of [https://primary-production-xxxxx.up.railway.app/webhook-test/xxxxx](https://primary-production-xxxxx.up.railway.app/webhook-test/xxxxx) ... I was able to add my name, but I can't seem to see where In the app I can change all the tests, webhooks and main URL of the app to myurl.mydomain.com .. thanks fo your help!

Have you configured your domain first in the Main instance settings?

thanks for your help... yes I have... In the main (which I believe is called "Primary" in the template) I see the variables: RAILWAY_PUBLIC_DOMAIN and WEBHOOK_URL set to myurl.mydomain.com (which is correct) ... but when I go to create a webhook I still see: https://primary-production-xxxxx.up.railway.app/webhook-test/xxx in the n8n interface

On the railway app under Public Networking I have both domains my custom domain + the one that the app used to install... should I delete that and leave only my custom domain ? Thanks for your help!


3 months ago

have you redeployed since adding the custom domain?


juanmart1981

HOBBY

3 months ago

that worked!! Thanks a lot !!!


danielkupka

HOBBY

3 months ago

hey, i get this error for both worker and application. happened after adding a new workflow:

Initializing n8n process

Error: There was an error initializing DB

DatabaseError: the database system is not yet accepting connections

User settings loaded from: /home/node/.n8n/config

Last session crashed

Any hints?


3 months ago

did the database crash?


danielkupka

HOBBY

3 months ago

did the database crash?

sort of, it's up but throws errors. see here: https://drive.google.com/uc?id=1zpZalc3HE5CuoCO6b7C9SgiHizBKtN1J


3 months ago

your database has no disk space left. check to see if you have an option to grow the volume in the volume's settings.

if you don't, you would need to upgrade your plan, and then grow the database.


danielkupka

HOBBY

3 months ago

that would make sense. I was downlaoding a bunch of pdfs and analysing them. Sorry not a developer, any pointers on where I do that? Note: my usage plan seems okay though.


3 months ago

you can find the volume's settings by clicking on the volume, this would be the little tab-like feature attached to the database service with "Postgres data" written on it.


danielkupka

HOBBY

3 months ago

got it thanks so much. Got now 5gb but it keeps throwing errors: https://drive.google.com/uc?id=15OXZqdt6bsszwUBgUUB1fAFa8lMjaBcp I did redeploy and restart.


3 months ago

try re-deploying the database again.


danielkupka

HOBBY

3 months ago

try re-deploying the database again.

it works! Cheers mate


3 months ago

no problem!


jacksmethurst

HOBBY

3 months ago

Sorry if this is a stupid question, how would I go about updating n8n using this? I've tried hosting on DO and I remember it being a nightmare.


lrrrrr

PRO

3 months ago

Have you tried just redeploying primary and worker? If that doesn't work, maybe change the source image to n8nio/n8n:latest


3 months ago

yep, what lrrrrr said, this template doesn't use the

:latest
tag but not specifying the
:latest
tag should for all intents and purposes use the latest image on redeploy


jacksmethurst

HOBBY

3 months ago

Absolute legends, thank you!


ericcapella

HOBBY

2 months ago

In n8n if I go to Settings>Workers I see it is only available on Enterprise plan. Using the community edition (the free one), should I Remove the active deployment of the "Worker" service of this template to cut unnecessary project usage? and the "Redis"? Or will the deployment stop working properly without these services? Thank you


danielkupka

HOBBY

2 months ago

just curious, what happens to the local files I downloaded? I'd like to delete the local files I download once the workflow is completed. Same for the files I downloaded in the past across workflows. Found this discussions on the forum: https://community.n8n.io/t/delete-downloaded-files-in-workflow-after-ran/33043/4 & https://community.n8n.io/t/how-to-automatically-clean-binarydata-in-self-hosted-n8n-tip-for-manually-delete-binarydata-inside/29440/7


2 months ago

They're stored in the 100gb of empherial storage that is not part of your operating costs (aka it's included in your plan)

A simple redeploy will wipe all those files.


johngyn

HOBBY

2 months ago

Hello, firstly I apologize if the English is not right, I am using the translator!

I'm using the Template and when I went to change the domain, my N8N stopped working, and I went to check and some variables were left empty, and I don't know where to find these variables and how to fill them in, as I'm new to both railway and postgress.

I'm attaching some prints and if you can help me!


2 months ago

Setting the

PGHOST_PRIVATE
variable in your Postgres service to
${{RAILWAY_PRIVATE_DOMAIN}}
should hopefully resolve the issue.


johngyn

HOBBY

2 months ago

Setting the

PGHOST_PRIVATE
variable in your Postgres service to
${{RAILWAY_PRIVATE_DOMAIN}}
should hopefully resolve the issue.

It worked, thank you very much!


johngyn

HOBBY

a month ago

Hello how are you? Maybe it's a little outside the scope of the template, but I didn't know where to ask this question.

I have my N8N on the railway and my client has shared hosting, and I need to connect to his mysql database so I can make changes and the system works, however his database asks for the IP to authorize third party access and I noticed that the railway does not provide a static IP, is there any configuration I can do or has anyone already faced a problem like this?


a month ago

You would need to whitelist all IPs or whitelist all CIDR ranges in the region your app is deployed to - https://utilities.up.railway.app/cidr-list?value=us-west1


dicasvisuais

HOBBY

24 days ago

Hello guys! I'm a totaly newbie in this terms and steps here... I just want to know how can i update my N8N deployed with this template with simple steps.

I have the 1.29.1 version and want to stay up to date!

Can some one try to make an fast tutorial how to do this? Can be in topics steps 1,2,3...

Will help a lot me and possible new users :)


24 days ago

You simply click redeploy from the active deployments 3-dot menu.