I’m running n8n via Docker on Railway. After a recent server update, I was logged out of the instance, and now I’m unable to log back in using the original email and password I set up.
When I try to log in, I get the following message: “Problem logging in – Wrong username or password. Do you have caps lock on?”
And when I click on “Forgot my password”, I get: “Recover password – Please contact your admin. n8n isn’t set up to send email right now.”
The issue is that I’m the admin, and now I can’t access the system to continue working on my automations.
I’d really appreciate any help on how to regain access. Thanks in advance!
I din’t manage to solve this through CLI.
It demanded lots of steps trhough Prompt ou WSL.exe, and I simply didn’t get success at any tries. Noobie here..
BUT, I solved this configuring some variables at Railway instance of N8N “Primary” and mirrorring them to “Workers”.
Thsi way, I could receive the “Reset your password” email and now I can sleep in peace
For the record and to help other noobs like me, the variables are:
N8N_EMAIL_MODE = “smtp”
N8N_SMTP_HOST = “smtp.gmail.com” (in my case)
N8N_SMTP_PORT = “465” (if you use TLS is 587)
N8N_SMTP_USER = [your email here] (can be a personal one)
N8N_SMTP_PASS = [your mail ou app password]