# N8n Docker SQLite - Cannot access dashboard after password reset/issue

**URL:** <https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588>\
**Category:** Questions\
**Created:** [July 1, 2026, 4:32am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588 "2026-07-01T04:32:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ageng\_Prayogi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ageng_prayogi/32/97286_2.png) [@Ageng\_Prayogi](https://community.n8n.io/u/Ageng_Prayogi)\
**Post date:** [July 1, 2026, 4:32am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588/1 "2026-07-01T04:32:54Z")

</div>

## Describe the problem/error/question

Hi all,  
I’m currently running n8n via Docker using a local SQLite database (/home/ageng/n8n-data/database.sqlite). I seem to have lost access to my dashboard after a setup issue.  
Here is what I have tried so far:  
Verified that my docker-compose.yml is pointing to the correct volume.  
Attempted to reset the password via the user-management CLI, but I encountered “Command not found” issues.  
Manually edited the user table in database.sqlite using DB Browser for SQLite (clearing the password column).  
Added N8N\_BASIC\_AUTH\_ACTIVE=false and N8N\_AUTH\_CORE\_ENABLED=false to my environment variables, but I am still being prompted for authentication.

## What is the error message (if any)?

## Please share your workflow

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:** Version: 2.27.4
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): docker**
- **Operating system: Linux mint**

---

<div class="post-metadata">

**Author:** ![Anshul\_Namdev](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anshul_namdev/32/178229_2.png) [@Anshul\_Namdev](https://community.n8n.io/u/Anshul_Namdev)\
**Post date:** [July 1, 2026, 4:47am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588/2 "2026-07-01T04:47:43Z")

</div>

Hi @Ageng_Prayogi  
I think you can try these as the “Command not found” issue likely means you need to run the command _inside_ the container correctly. First, find your container name:

```auto
docker-compose ps

```

Then run the reset with the full correct syntax:

```auto
docker exec -u node -it <your-n8n-container-name> n8n user-management:reset

```

After that, restart Docker and visit your n8n URL you should be presented with a fresh signup screen to create a new owner account. Your workflows will not be affected, but all user accounts will be wiped.

See this:

> [@How to reset password when SelfHosting?](https://community.n8n.io/t/how-to-reset-password-when-selfhosting/145549):
>
> Hi, We recently went self hosted, and yes! we lost the admin password frowning Is there any way to reset the password ? when I try to perform the password recovery, it says: Please contact your admin. n8n isn’t set up to send email right now.

---

<div class="post-metadata">

**Author:** ![Ageng\_Prayogi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ageng_prayogi/32/97286_2.png) [@Ageng\_Prayogi](https://community.n8n.io/u/Ageng_Prayogi)\
**Post date:** [July 1, 2026, 7:03am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588/3 "2026-07-01T07:03:37Z")

</div>

thank you very much

---

<div class="post-metadata">

**Author:** ![Swapnil\_Mandloi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/swapnil_mandloi/32/174348_2.png) [@Swapnil\_Mandloi](https://community.n8n.io/u/Swapnil_Mandloi)\
**Post date:** [July 1, 2026, 7:35am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588/4 "2026-07-01T07:35:10Z")

</div>

Hi Ageng,

The “Command not found” error typically happens because the `n8n` command isn’t in the path of the user you are executing as, or the container environment isn’t initialized for that specific command.

To resolve this and bypass the authentication lock, follow these steps exactly:

1. **Identify your container name:** Run `docker ps` to find the exact name of your running n8n container.

2. **Execute the reset command properly:** Run this command from your host machine, ensuring you target the n8n binary path explicitly:

3. **Clean up Environment Variables:** Remove the `N8N_BASIC_AUTH_ACTIVE` and `N8N_AUTH_CORE_ENABLED` flags from your `docker-compose.yml`. Manually forcing these to `false` while the database is expecting an owner account often creates a conflict that keeps you locked out.

4. **Restart:** After running the reset, perform a `docker-compose down` and `docker-compose up -d` to ensure the instance picks up the changes cleanly. You should then be greeted by the new owner setup screen.

As a best practice for self-hosted instances, I always recommend keeping a secure backup of your `database.sqlite` file before performing CLI-based user management.

Hope this gets you back into your dashboard!

Best, Swapnil  
[swapnilailabs.com](https://www.google.com/search?q=https://swapnilailabs.com)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 8, 2026, 7:35am UTC](https://community.n8n.io/t/n8n-docker-sqlite-cannot-access-dashboard-after-password-reset-issue/301588/5 "2026-07-08T07:35:29Z")

</div>

Closed on July 8, 2026, 7:35am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
