Issues starting Pingvin Share docker container, database locked? reddit / selfhosted ---------------------------------------------------------------------- the_zaftig · 2023-11-06 03:07 Pingvin Share looks to be a perfect fit for my use case, so I tried to deploy it via docker compose. The docker compose file I used: version: '3.8' services: pingvin-share: container_name: pingvin image: stonith404/pingvin-share restart: unless-stopped ports: - 3100:3000 volumes: - "/mnt/prism/pingvin:/opt/app/backend/data" - "/mnt/prism/pingvin/images:/opt/app/frontend/public/img" I added the container name, changed the port as my port 3000 is already in use, and changed the volumes to use the location on my NAS where I keep docker data. I'm a beginner with docker, but these are edits I've made before on other containers. It deploys seemingly fine, and then on startup it seems to loop and restart. Logs show the application try and work on the SQLite db but it shows as locked. I've tried redeploying the container, rebooting the docker host, all to no avail. > pingvin-share-backend@0.20.1 prod > prisma migrate deploy && prisma db seed && node dist/src/main Environment variables loaded from prisma/.env Prisma schema loaded from prisma/schema.prisma Datasource "db": SQLite database "pingvin-share.db" at "file:../data/pingvin-share.db" Listening on port 3333 url: http://0.0.0.0:3333 17 migrations found in prisma/migrations Error: SQLite database error database is locked 0: sql_schema_connector::sql_migration_persistence::initialize with namespaces=None at schema-engine/connectors/sql-schema- connector/src/sql_migration_persistence.rs:14 1: schema_core::state::ApplyMigrations at schema-engine/core/src/state.rs:197 Hate to bother @/u/GeneralXHD, but I dont know what else to try. I'm at wits end. ---------------------------------------------------------------------- thekrautboy · 2023-11-06 03:26 Why ask here and not simply /r/Docker, or even better, ask the creator of that software? ---------------------------------------------------------------------- blaine07 · 2023-11-06 03:57 It’s had a few updates today; are you on latest? ---------------------------------------------------------------------- Kooky_Percentage3687 · 2023-11-06 03:57 Fix permissions on the share, or mount the volume by docket via smb or nfs ---------------------------------------------------------------------- arcadianarcadian · 2023-11-06 09:40 Are you getting the same error when mounting the DB data folder on the local filesystem ?? If you're not, you may found the problem :)