6 months ago
Hello Railway Community,
I deployed n8n on Railway, but I have forgotten the password I set for accessing the n8n editor. I am able to log into Railway with my email, but when I try to open the n8n page, I cannot log in because I don’t remember the password.
Could someone guide me on how to reset or update the N8N_BASIC_AUTH_PASSWORD environment variable (or any other method) so I can regain access to my n8n instance?
Thank you for your support 
— Paul Omondi
4 Replies
6 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!
6 months ago
run this n8n user-management:reset command to reset the password
6 months ago
How to run this command? I'm using hobby plan and I am not able to login either with my old password.
6 months ago
This command needs to be run on your service container. The simplest way of doing this is to right click on your service, select the "Copy SSH Command" and paste it into your terminal. This will connect you into your service where you can run the n8n user-management:reset command to reset the password. Note: that in order to be able to use the SSH command copied you have to install the Railway CLI first https://docs.railway.com/guides/cli and login into your Railway account as described on the docs