Hi there,
I’m following this YT tutorial https://www.youtube.com/watch?v=V_0dNE-H2gw
It recommend adding passwords for the 2 last lines of the .env file.
When I’m running docker compose --profile cpu up (I have an AMD basic graphic card)
I get this error:
n8n | (node:7) Warning: Error
n8n | module: @oclif/core@4.0.7
n8n | task: findCommand (audit)
n8n | plugin: n8n
n8n | root: /usr/local/lib/node_modules/n8n
n8n | message: Mismatching encryption keys. The encryption key in the settings file /home/node/.n8n/config does not match the N8N_ENCRYPTION_KEY env var. Please make sure both keys match. More information: https://docs.n8n.io/hosting/environment-variables/configuration-methods/#encryption-key
n8n | See more details with DEBUG=*
n8n | (Use `node --trace-warnings ...` to show where the warning was created)
n8n | message: Mismatching encryption keys. The encryption key in the settings file /home/node/.n8n/config does not match the N8N_ENCRYPTION_KEY env var. Please make sure both keys match. More information: https://docs.n8n.io/hosting/environment-variables/configuration-methods/#encryption-key
n8n | See more details with DEBUG=*
n8n | (node:7) Warning: Error
n8n | module: @oclif/core@4.0.7
n8n | task: findCommand (user-management:reset)
n8n | plugin: n8n
- n8n version:
- Database (default: SQLite): PostgreSQL
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24.04
Does someone has an idea of the problem?
Thanks!


