Skip to main content
Photo of DeepakNess DeepakNess

Self-hosted n8n password reset

Unproofread notes

For some reason, my self-hosted n8n instance is not remembering the password and wasn't letting me log in using the same credentials I created the account with. And all the docs about resetting passwords are very confusing, either deliberately or otherwise.

But I was finally able to reset mine after spending almost an hour.

First, I logged into my server via SSH by running ssh root@<your-ip-address> and then ran the following command:

docker exec -u node -it n8n-docker-caddy-n8n-1 n8n user-management:reset

After that I restarted by Hetzner server (where it's hosted) and then the user was reset and I could reset my password.

And yes, all my n8n scenarios did not get deleted after the process.

Comment via email