I am using n8n self-hosted using docker-compose. I upgraded n8n from the terminal and it moved to the latest image, v1.0.1. My issue is that I never setup a user before (as in email/password), I only used basic Auth.
Now I can’t login to my n8n dashboard.
After searching a bit, I followed this guide User management | n8n Docs and added the following variables to my .env file (with the info from my SMTP provider):
N8N_SMTP_PORT your_SMTP_server_port Default is 465.
N8N_SMTP_SENDER Sender email address.
I also commented out these vars:
After this, the guide says
“If your n8n instance is already running, you need to restart it to enable the new SMTP settings.”
I stopped the docker container and then restarted it. Then, the guide says to move to step 2:
“When you set up user management for the first time, you create an owner account.”
However, when I open n8n again. the app doesn’t display a signup screen. It only displays the Sign in page. I tried to change the url path from
signup but nothing.
After I did everything above, I tried to use the 'Forgot Password on the Login screen (in case I had created a user before and didn’t remember) and it just says:
“Please contact your admin. n8n isn’t set up to send email right now.”
- n8n version: 1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting: main
- Running n8n via Docker Compose
- Operating system: Ubuntu 20.04.6 LTS