Error column 9827483463398fbb7d6b96916fe451d8bdefa0e8.role does not exist
melaguiar09
HOBBYOP

7 months ago

Hi everyone 👋

I'm having an issue deploying n8n on Railway. During the startup, I keep getting this error:

column 9827483463398fbb7d6b96916fe451d8bdefa0e8.role does not exist

I've tried several things but haven't been able to fix it yet. It seems related to database migrations or a missing column in PostgreSQL.

If anyone has experienced this before, could you please share a step-by-step guide or solution to fix it?

I’ve seen some mentions of setting N8N_RUN_MIGRATIONS=true, but I’m not sure where exactly to add that or if that’s the correct fix in Railway.

Any help would be greatly appreciated

Thanks in advance!

— Melvin

$10 Bounty

3 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


7 months ago

imageHave you tried adding that variable here?

Attachments


samgordon

![image](https://community.n8n.io/uploads/default/optimized/3X/8/4/841a9655ab5b21d5345ad5ff515c41cd6a260734_2_690x425.png)Have you tried adding that variable here?

melaguiar09
HOBBYOP

7 months ago

Yes, I've added it to both the primary and Postgress nodes. I'm still getting the error. When I edit a node and save it to the output of the previous node, it returns null.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...