Deleted Some Variables Now Running In To Errors
bbsidingandroofing
PROOP

a year ago

Required Variables

Ensure that the following variables are configured

REDISHOST

REDISPORT

REDISUSER

REDISPASSWORD

REDIS_URL

Solved$10 Bounty

88 Replies

bbsidingandroofing
PROOP

a year ago

6983962e-dd60-47f1-9c74-070d742dad15


a year ago

Hey, you should be able to recover the variables through the activity tab, located at the bottom right part of your project's dashboard. You can also just deploy a new Redis database if the misconfigured Redis service didn't have data to begin with.


bbsidingandroofing
PROOP

a year ago

thanks for the response. Let me check


bbsidingandroofing
PROOP

a year ago

I think the redis has data


bbsidingandroofing
PROOP

a year ago

what should I be looking for in Activity?


a year ago

The changes to your service variables.


bbsidingandroofing
PROOP

a year ago

I cant seem to go past 5 hours


a year ago

Please show a screenshot.


bbsidingandroofing
PROOP

a year ago

I found it


bbsidingandroofing
PROOP

a year ago

1394388106534191274


bbsidingandroofing
PROOP

a year ago

what should I do now


a year ago

I would try readding these service variables back to your n8n instance so that it can use Redis again. Why did you remove them in the first place?


bbsidingandroofing
PROOP

a year ago

it was removed because the railway was failing


bbsidingandroofing
PROOP

a year ago

it says too many listeners or workers


bbsidingandroofing
PROOP

a year ago

how can I add them back?


a year ago

By manually adding them to your n8n service.


bbsidingandroofing
PROOP

a year ago

to the redis?


a year ago

To your n8n service, as it is referencing your Redis service via service variables.


bbsidingandroofing
PROOP

a year ago

I cant even open n8n because the whole thing doesnt run


bbsidingandroofing
PROOP

a year ago

my primary crashes every 10 seconds


bbsidingandroofing
PROOP

a year ago

because of the missing variables


bbsidingandroofing
PROOP

a year ago

1394389276447215808


a year ago

Please add the service variables to your n8n service.


bbsidingandroofing
PROOP

a year ago

sorry I dont follow


bbsidingandroofing
PROOP

a year ago

can you be more specific


bbsidingandroofing
PROOP

a year ago

n8n is being run by railway since its self hosted


a year ago

Click on the + New Variable button


a year ago

You should then insert the variables and their value back.


a year ago

Also, please do that with the actual primary n8n service and not the Redis database.


bbsidingandroofing
PROOP

a year ago

oh ok


bbsidingandroofing
PROOP

a year ago

wait let me delete it


bbsidingandroofing
PROOP

a year ago

is there anyway you guys can help hands on


bbsidingandroofing
PROOP

a year ago

is there anyway I can just use a new redis


bbsidingandroofing
PROOP

a year ago

like launch a new template of n8n


bbsidingandroofing
PROOP

a year ago

because its not working


a year ago

The team can access your project directly, however this isn't something that is done normally.


a year ago

You can deploy a completely new n8n instance and delete the old one if you wish.


bbsidingandroofing
PROOP

a year ago

is there anyway to retain the workflows


bbsidingandroofing
PROOP

a year ago

as of right now redis is the only problem


a year ago

I am not familiar with n8n, if all of the data in question are stored in the postgres database, then yes.


a year ago

You can deploy a new n8n instance and update the new instance's postgres variables to the old postgres database.


bbsidingandroofing
PROOP

a year ago

is there a way railway team can do that? I'll end up destroying everything I created at this point


bbsidingandroofing
PROOP

a year ago

if you can try doing fixing the redis first


bbsidingandroofing
PROOP

a year ago

if not then redeploying the other parts of the template is the last choice I guess


a year ago

The Railway team usually won't help you with user initiated issues.


a year ago

All you need to do is to add back the reference variables back to your primary n8n service, so please try this first.


bbsidingandroofing
PROOP

a year ago

I literally have no idea if I'm adding it correctly


bbsidingandroofing
PROOP

a year ago

I'm adding it to redis the n you told me primary


a year ago

You need to add it to the primary service as this where you deleted the service variables in the first place.


bbsidingandroofing
PROOP

a year ago

I'm adding it


a year ago

QUEUE_BULL_REDIS_DUALSTACK=true
QUEUE_BULL_REDIS_HOST=${{Redis.REDISHOST}}
QUEUE_BULL_REDIS_PASSWORD=${{Redis.REDIS_PASSWORD}}
QUEUE_BULL_REDIS_PORT=${{Redis.REDISPORT}}
QUEUE_BULL_REDIS_USERNAME=${{Redis.REDISUSER}}

a year ago

Great, these are the variables you need to add back to your primary n8n service.


bbsidingandroofing
PROOP

a year ago

ok its running now


bbsidingandroofing
PROOP

a year ago

I'll try to see if it will come with the error of max worker or listerner


a year ago

That would be an application level issue with n8n.


bbsidingandroofing
PROOP

a year ago

what do you mean


a year ago

You will have to configure n8n with more workers or something else, this is not an issue with Redis.


bbsidingandroofing
PROOP

a year ago

its someting server side for sure you can see other posts on the group


a year ago

Can you show the error message?


a year ago

You can find it in a previous deployment.


bbsidingandroofing
PROOP

a year ago

yes, I'm checking now


bbsidingandroofing
PROOP

a year ago

1394397590182821970


bbsidingandroofing
PROOP

a year ago

a whole lot of this


bbsidingandroofing
PROOP

a year ago

1394397744759570543


bbsidingandroofing
PROOP

a year ago

you see how the workflow is just being enqueued


bbsidingandroofing
PROOP

a year ago

it says something about concurrency


bbsidingandroofing
PROOP

a year ago

any ideas about that?


a year ago

Unfortunately, I have no idea regarding your primary n8n service enqueuing executions.


a year ago

Are the jobs just sitting there never getting executed or are the logs in question just info logs and are therefore just there to inform an action?


bbsidingandroofing
PROOP

a year ago

got it


bbsidingandroofing
PROOP

a year ago

if its something about the n8n


bbsidingandroofing
PROOP

a year ago

where should I reach out?


bbsidingandroofing
PROOP

a year ago

is this not with railway but with n8n itself?


a year ago

I suppose you can try asking in the n8n community if there is one, as you are technically responsible for it yourself since you are self hosting it. Again, I am not familiar with n8n so this could technically just be just some basic logging of n8n and not related to any errors at all.


bbsidingandroofing
PROOP

a year ago

got it


bbsidingandroofing
PROOP

a year ago

so what does railway cover in terms of support?


bbsidingandroofing
PROOP

a year ago

just so I know not to bother you guys


a year ago

Platform related issue or help, such as the dashboard not loading, new deployments not starting, etc. You can still post unrelated questions, however, in this case, it would most likely only answered by the community.


bbsidingandroofing
PROOP

a year ago

got it. thanks


bbsidingandroofing
PROOP

a year ago

one last question


bbsidingandroofing
PROOP

a year ago

can I run multiple self-hosted n8n in railway?


bbsidingandroofing
PROOP

a year ago

with the current pro plan?


bbsidingandroofing
PROOP

a year ago

can it handle that?


a year ago

Yes, you can deploy as many n8n templates as you want if you want to have multiple ones. Just keep in mind that there is a 100 service limit per project. Depending on how you want to organize it, you may want to have a different project for each or have them all in one.


bbsidingandroofing
PROOP

a year ago

alright


bbsidingandroofing
PROOP

a year ago

thanks


a year ago

You are welcome!


a year ago

!s


Status changed to Solved uxuz 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...