Which file contains the user password and in which directory

Hi, I’ve installed n8n on a self-hosted server but forgot the sign-in password and did not configure SMTP for password recovery. Could you please tell me which file contains the user password and in which directory I can find it to make changes using FileZilla?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hye @ahmed,

Welcome to the community :raised_hands:

The username and password is kept in the sqlite database which will be under /home/node/.n8n/database.sqlite in the container but the password is hashed so you can’t just change it.

Instead you will need to reset it using the cli command here: CLI commands | n8n Docs

thanks alot Jon