Describe the problem/error/question
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_EMAIL_MODE smtp
N8N_SMTP_HOST your_SMTP_server_name
N8N_SMTP_PORT your_SMTP_server_port Default is 465.
N8N_SMTP_USER your_SMTP_username
N8N_SMTP_PASS your_SMTP_password
N8N_SMTP_SENDER Sender email address.
I also commented out these vars:
N8N_BASIC_AUT_USER
N8N_BASIC_AUTH_PASSWORD
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 signin to signup but nothing.
What is the error message (if any)?
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.”
Please share your workflow
LOGIN ISSUES
Information on your n8n setup
- n8n version: 1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting: main
- Running n8n via Docker Compose
- Operating system: Ubuntu 20.04.6 LTS