Deleted Some Variables Now Running In To Errors
bbsidingandroofing
PROOP

7 months ago

Required Variables

Ensure that the following variables are configured

REDISHOST
REDISPORT
REDISUSER
REDISPASSWORD
REDIS_URL

Solved$10 Bounty

88 Replies

bbsidingandroofing
PROOP

7 months ago

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


uxuz
MODERATOR

7 months 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

7 months ago

thanks for the response. Let me check


bbsidingandroofing
PROOP

7 months ago

I think the redis has data


bbsidingandroofing
PROOP

7 months ago

what should I be looking for in Activity?


uxuz
MODERATOR

7 months ago

The changes to your service variables.


bbsidingandroofing
PROOP

7 months ago

I cant seem to go past 5 hours


uxuz
MODERATOR

7 months ago

Please show a screenshot.


bbsidingandroofing
PROOP

7 months ago

I found it


bbsidingandroofing
PROOP

7 months ago

1394388106534191400


bbsidingandroofing
PROOP

7 months ago

what should I do now


uxuz
MODERATOR

7 months 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

7 months ago

it was removed because the railway was failing


bbsidingandroofing
PROOP

7 months ago

it says too many listeners or workers


bbsidingandroofing
PROOP

7 months ago

how can I add them back?


uxuz
MODERATOR

7 months ago

By manually adding them to your n8n service.


bbsidingandroofing
PROOP

7 months ago

to the redis?


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

I cant even open n8n because the whole thing doesnt run


bbsidingandroofing
PROOP

7 months ago

my primary crashes every 10 seconds


bbsidingandroofing
PROOP

7 months ago

because of the missing variables


bbsidingandroofing
PROOP

7 months ago

1394389276447215900


uxuz
MODERATOR

7 months ago

Please add the service variables to your n8n service.


bbsidingandroofing
PROOP

7 months ago

sorry I dont follow


bbsidingandroofing
PROOP

7 months ago

can you be more specific


bbsidingandroofing
PROOP

7 months ago

n8n is being run by railway since its self hosted


uxuz
MODERATOR

7 months ago

Click on the + New Variable button


uxuz
MODERATOR

7 months ago

You should then insert the variables and their value back.


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

oh ok


bbsidingandroofing
PROOP

7 months ago

wait let me delete it


bbsidingandroofing
PROOP

7 months ago

is there anyway you guys can help hands on


bbsidingandroofing
PROOP

7 months ago

is there anyway I can just use a new redis


bbsidingandroofing
PROOP

7 months ago

like launch a new template of n8n


bbsidingandroofing
PROOP

7 months ago

because its not working


uxuz
MODERATOR

7 months ago

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


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

is there anyway to retain the workflows


bbsidingandroofing
PROOP

7 months ago

as of right now redis is the only problem


uxuz
MODERATOR

7 months ago

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


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

if you can try doing fixing the redis first


bbsidingandroofing
PROOP

7 months ago

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


uxuz
MODERATOR

7 months ago

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


uxuz
MODERATOR

7 months 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

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

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


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

I'm adding it


uxuz
MODERATOR

7 months 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}}

uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

ok its running now


bbsidingandroofing
PROOP

7 months ago

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


uxuz
MODERATOR

7 months ago

That would be an application level issue with n8n.


bbsidingandroofing
PROOP

7 months ago

what do you mean


uxuz
MODERATOR

7 months ago

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


bbsidingandroofing
PROOP

7 months ago

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


uxuz
MODERATOR

7 months ago

Can you show the error message?


uxuz
MODERATOR

7 months ago

You can find it in a previous deployment.


bbsidingandroofing
PROOP

7 months ago

yes, I'm checking now


bbsidingandroofing
PROOP

7 months ago

1394397590182822000


bbsidingandroofing
PROOP

7 months ago

a whole lot of this


bbsidingandroofing
PROOP

7 months ago

1394397744759570400


bbsidingandroofing
PROOP

7 months ago

you see how the workflow is just being enqueued


bbsidingandroofing
PROOP

7 months ago

it says something about concurrency


bbsidingandroofing
PROOP

7 months ago

any ideas about that?


uxuz
MODERATOR

7 months ago

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


uxuz
MODERATOR

7 months 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

7 months ago

got it


bbsidingandroofing
PROOP

7 months ago

if its something about the n8n


bbsidingandroofing
PROOP

7 months ago

where should I reach out?


bbsidingandroofing
PROOP

7 months ago

is this not with railway but with n8n itself?


uxuz
MODERATOR

7 months 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

7 months ago

got it


bbsidingandroofing
PROOP

7 months ago

so what does railway cover in terms of support?


bbsidingandroofing
PROOP

7 months ago

just so I know not to bother you guys


uxuz
MODERATOR

7 months 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

7 months ago

got it. thanks


bbsidingandroofing
PROOP

7 months ago

one last question


bbsidingandroofing
PROOP

7 months ago

can I run multiple self-hosted n8n in railway?


bbsidingandroofing
PROOP

7 months ago

with the current pro plan?


bbsidingandroofing
PROOP

7 months ago

can it handle that?


uxuz
MODERATOR

7 months 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

7 months ago

alright


bbsidingandroofing
PROOP

7 months ago

thanks


uxuz
MODERATOR

7 months ago

You are welcome!


uxuz
MODERATOR

7 months ago

!s


Status changed to Solved uxuz 7 months ago


Loading...