Unable to login to n8n Desktop app on Mac (no password recovery)

Hello Community,
I’m really desperate. I did several automations using the N8N desktop version and now it asks for login access, but simply all my passwords I use (like my default ones they always use) don’t work.
Worse, the password set does not help.
And now? Is there anything that can be done to fix my access?

Capture d’écran 2022-05-20 004613

Important information, I use Macbook and I am a basic programming user.

Information on your n8n setup

  • n8n version: 1.6.0
  • Database you’re using (default: SQLite): default
  • Running n8n with the execution process [own(default), main]: default
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: desktop app

Hi @Rodrigo_Maciel

I am not a mac user, but do you know where n8n is installed? There should be an SQLite database there. If you can find this you can try and open it. It should at least give you your workflows back.
And in this database, there should also be some user info.

2 Likes

You could try running the n8n user-management:reset command…

You can find how to run the command here: CLI commands - n8n Documentation

I would maybe make a copy of the ~/.n8n folder first so that you have a backup.

3 Likes

Hello @BramKn and @Jon
I have no words to thank you for your support. After discovering a world that I had never used (the terminal one), I found out how to show the hidden files (I typed in the Terminal):

defaults write com.apple.finder AppleShowAllFiles TRUE 
killall Finder

(TRUE list all and FALSE disable)

Then, I just found the .n8n folder and the SQLite file, and when I opened it I could find the email used.
No words to thank you! You really were amazing.
Thank you very much! :sparkling_heart:

4 Likes

Hey @Rodrigo_Maciel,

You can also press cmd shift . At the same time to show them in finder :slightly_smiling_face:

It is one of the more useful shortcuts I use.

1 Like

Hey all, I know this is now solved. But for future users it might be helpful to know the desktop app also has a UI option for this.

You should be able to reset the password by selecting Auth from the menu and then “Reset password…”:

image
(This is a Windows screenshot, but the Mac version has this option too)

4 Likes

that’s a lot easier idd. :sweat_smile: