# SqLite Errors (traefik-log-dashboard discussion #190)

**URL:** <https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651>\
**Category:** Traefik Log Dashboard\
**Tags:** discussion\
**Created:** [February 1, 2026, 11:13pm UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651 "2026-02-01T23:13:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 1, 2026, 11:13pm UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/1 "2026-02-01T23:13:41Z")

</div>

> 💬 **GitHub discussion [traefik-log-dashboard #190](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190)** in _Help_, started by **`partytimeexcellent`** on GitHub

I followed the exact instructions in the quick-start guide here:

> **[GitHub - hhftechnology/traefik-log-dashboard: A real-time dashboard for analyzing Traefik logs...](https://github.com/hhftechnology/traefik-log-dashboard)**
>
> A real-time dashboard for analyzing Traefik logs in UI with IP geolocation, status code analysis, and service metrics. Built with React (Shadcn UI) and Node.js.

Unfortunately when I launch the stack with `docker compose up`, I get the following errors and am unable to proceed. Are there more dependencies or prerequisites that aren’t listed? My environment is a Proxmox LXC of Debian 13. Docker files are stored in /home/user/docker/traefik-dashboard

```auto
 ✔ Container traefik-log-dashboard-agent Created 0.1s 
 ✔ Container traefik-log-dashboard Created 0.1s 
Attaching to traefik-log-dashboard, traefik-log-dashboard-agent
traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] 2026/02/01 23:14:29 config.go:40: No .env file found, using system environment variables
traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] 2026/02/01 23:14:29 main.go:22: Starting Traefik Log Dashboard Agent...
traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] 2026/02/01 23:14:29 main.go:23: Access Log Path: /logs/access.log
traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] 2026/02/01 23:14:29 …

---
💬 Join in here or [on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190).
<!-- hhf-forum-sync -->
```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 1, 2026, 11:17pm UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/2 "2026-02-01T23:17:35Z")

</div>

**`Po3Tato`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190#discussioncomment-15673342):

> Check if you already have the Sqlite database for traefik-log. Delete it then docler down and docker up -d --force-recreate --remove-orphans.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 1, 2026, 11:21pm UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/3 "2026-02-01T23:21:17Z")

</div>

**`partytimeexcellent`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190#discussioncomment-15673343):

> > Check if you already have the Sqlite database for traefik-log. Delete it then docler down and docker up -d --force-recreate --remove-orphans.
> 
> Thanks. This is on the same machine that I have a docker Traefik instance. Where is that database stored? Is there anything I need to do in my Traefik docker-compose to prevent further clashing?

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 2, 2026, 12:54am UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/4 "2026-02-02T00:54:20Z")

</div>

**`Po3Tato`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190#discussioncomment-15673344):

> Chat the data folder the dashboard created. It should be in there. \> \> Check if you already have the Sqlite database for traefik-log. Delete it then docler down and docker up -d --force-recreate --remove-orphans.
> 
> > Thanks. This is on the same machine that I have a docker Traefik instance. Where is that database stored? Is there anything I need to do in my Traefik docker-compose to prevent further clashing?

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 2, 2026, 1:44am UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/5 "2026-02-02T01:44:55Z")

</div>

**`partytimeexcellent`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190#discussioncomment-15673345):

> > Chat the data folder the dashboard created. It should be in there. \> \> Check if you already have the Sqlite database for traefik-log. Delete it then docler down and docker up -d --force-recreate --remove-orphans.
> 
> The folders that were created with this command `mkdir -p traefik-dashboard/data/{logs,positions,dashboard}`, are all empty. I exec’d into the container and the data folder inside it is also empty. Could be a permissions issue? I created this in the user folder and am running docker compose as a user, not root.
> 
> the permissions for the data folder is:  
> `drwxrwxr-x 5 user user 4096`
> 
> I tried to change permissions with:  
> `chmod -R 777 data`  
> …but no change.
> 
> These are the users running the processes inside the container:
> 
> ```auto
> $ docker exec -it traefik-log-dashboard ps -eaf
> PID USER TIME COMMAND
> 1 nodejs 0:00 next-server (v
> 60 nodejs 0:00 ps -eaf
> 
> ```
> 
> EDIT:  
> OK, so I just learned a bit about docker users. Inside the container I ran `id -u` and got `1001`
> 
> Outside the container, I am user `1000`
> 
> I tried to specify `user: "1000:1000"` in docker-compose.yml but that led to other issues:
> 
> ```auto
> traefik-log-dashboard | WARNING: geolite2-redist/dbs-tmp is not writable. GeoIP lookups may fail.
> traefik-log-dashboard | This is usually a Docker permission issue. Rebuild the image to fix.
> traefik-log-dashboard | ▲ Next.js 15.5.9
> traefik-log-dashboard | - Local: http://localhost:3000
> traefik-log-dashboard | - Network: http://0.0.0.0:3000
> traefik-log-dashboard | 
> traefik-log-dashboard | ✓ Starting...
> traefik-log-dashboard | ✓ Ready in 103ms
> traefik-log-dashboard-agent | [TRAEFIK-LOG-DASHBOARD] 2026/02/02 04:27:36 logger.go:36: GET /api/logs/access 500 38.755µs
> traefik-log-dashboard | [Scheduler] Failed to fetch logs from http://traefik-agent:5000: Failed to fetch logs: 500 Internal Server Error
> 
> ```
> 
> Next, I tried to change the ownership of the folders to “1001:1001” with:  
> `sudo chown -R 1001:1001 traefik-dashboard`  
> This finally allowed me to access the dashboard, but there is now a problem connecting to the agent:
> 
> `traefik-log-dashboard | [Scheduler] Failed to fetch logs from http://traefik-agent:5000: Failed to fetch logs: 500 Internal Server Error `
> 
> ```auto
> Connection Error
> API Error: 500 - {"error":"Agent error: {\"error\":\"stat /logs/access.log: no such file or directory\"}\n"}
> 
> Make sure the agent is running and accessible
> 
> ```
> 
> So it would appears this docker container should be changed to run as 1000 instead of 1001, or the documentation needs to be changed to give further instructions on changing the permissions of the data folder. Not sure which is more preferable from a usability and security standpoint.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 2, 2026, 2:21pm UTC](https://forum.hhf.technology/t/sqlite-errors-traefik-log-dashboard-discussion-190/4651/6 "2026-02-02T14:21:36Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/190#discussioncomment-15673389):

> @​partytimeexcellent hi there, you are mixing two thing. agent is watching log dir., which you can’t change perm, it belongs to traefik.  
> you just need to change perm for data dir, which agents uses to track position which last log was displayed. it doesn’t require change of perm. because it can be deployed anywhere .(not alone with dashboard)  
> in dashboard only needs  
> [External Image](https://github.com/user-attachments/assets/e8180790-d42f-40ee-a15d-567ee9944417 "Image hosted on another site. Click to open in a new tab.")  
> thats it.
> 
> ```auto
> services:
> # Traefik Log Dashboard Agent
> traefik-agent:
> image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
> container_name: traefik-log-dashboard-agent
> restart: unless-stopped
> ports:
> - "5000:5000"
> volumes:
> - /root/config/traefik/logs:/logs:ro
> - ./data/positions:/data
> environment:
> # Log Paths
> - TRAEFIK_LOG_DASHBOARD_ACCESS_PATH=/logs/access.log
> - TRAEFIK_LOG_DASHBOARD_ERROR_PATH=/logs/access.log
> # Authentication
> - TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN=d41d8cd98f00b204e9800998ecf8427e
> # System Monitoring
> - TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING=true      
> # Server Port
> - PORT=5000
> healthcheck:
> test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/api/logs/status"]
> interval: 30s
> timeout: 10s
> retries: 3
> start_period: 10s
> networks:
> - pangolin
> 
> # Traefik Log Dashboard - Next.js web UI
> traefik-dashboard:
> image: hhftechnology/traefik-log-dashboard:dev-dashboard
> container_name: traefik-log-dashboard
> restart: unless-stopped
> ports:
> - "3000:3000"
> volumes:
> - ./data/dashboard:/app/data
> - ./data/positions:/data
> environment:
> # Agent Configuration - REPLACE WITH YOUR TOKEN
> - AGENT_API_URL=http://traefik-agent:5000
> - AGENT_API_TOKEN=d41d8cd98f00b204e9800998ecf8427e
> - AGENT_NAME=Default Agent
>       
> # Node Environment
> - NODE_ENV=production
> - PORT=3000
>       
> # Display Configuration
> - NEXT_PUBLIC_SHOW_DEMO_PAGE=true
> - NEXT_PUBLIC_MAX_LOGS_DISPLAY=500
> depends_on:
> traefik-agent:
> condition: service_healthy
> networks:
> - pangolin
> 
> networks:
> pangolin:
> external: true
> ```
