mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
763 B
763 B
Fix Docker Database Permissions
Context
SQLite database in Docker container is read-only due to volume permissions mismatch between root and xtremuser.
Current Focus
Implementation complete - ready for rebuild and deploy.
Master Plan
- Analyze the error and identify root cause
- Create entrypoint.sh script to fix permissions at startup
- Update Dockerfile to use entrypoint script with gosu
- Rebuild and deploy to test
Progress Log
- Identified
SqliteException(8): attempt to write a readonly databaseerror - Root cause: Docker volume created with different permissions than xtremuser
- Created
entrypoint.shwith chown fix and gosu privilege drop - Updated Dockerfile: added gosu, ENTRYPOINT, removed USER directive