ITADN

unable to open database file

#222Closedsurajsharma 创建于 2025-10-08
a:bug
S
surajsharmacommented
I was just playing around with the docker installation and after a fresh start the command `docker compose -f traggo.yml up` gives the following output: ``` master :: 29m :: ⬡ WARN[0000] /home/suraj/Portfolios/.dtf/random/traggo.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 3/3 ✔ traggo Pulled 38.3s ✔ aaa0ded49b23 Pull complete 2.9s ✔ 8fe06a6625cc Pull complete 32.5s [+] Running 1/1 ✔ Container random-traggo-1 Created 0.1s Attaching to traggo-1 traggo-1 | 2025-10-08T08:26:36Z INF Traggo buildDate=2025-04-28T15:21:13Z buildMode=prod commit=4aa48b385abb1728e46881964ce90a420a25f590 version=0.7.1 traggo-1 | 2025-10-08T08:26:36Z FTL Failed to connect to the database error="unable to open database file" traggo-1 exited with code 1 ``` where the `traggo.yml` is as follows: ```yaml version: "3.7" services: traggo: image: traggo/server:latest ports: - 3030:3030 environment: TRAGGO_DEFAULT_USER_NAME: "suraj" TRAGGO_DEFAULT_USER_PASS: "password" user: "1000:100" volumes: - ./traggodata:/opt/traggo/data ``` it creates the `traggodata` folder but unlike first run the sqllite file does not get created, i was trying to change permissions on the `traggodata` folder to make it remotely accessible edit: if i remove `user: "1000:100"` it works fine so this is a permissions issue
关闭于 2025-10-08 4 条评论