Files
TimeTracker/docker
Dries Peeters c07aaa77fc Fix data directory permission errors in Docker container
- Change CONFIG_DIR from relative 'data' to absolute '/data' path in installation.py
  This fixes PermissionError when trying to create /app/data instead of using
  the mounted volume at /data

- Update telemetry marker file paths to use absolute /data path for consistency

- Add ensure_data_directory() function to entrypoint_fixed.sh to:
  - Create /data directory if it doesn't exist
  - Set proper permissions (755) on /data
  - Attempt to set ownership to current user
  - Create /data/uploads subdirectory

This resolves the 'Permission denied: data' errors when accessing /admin/settings
and ensures the data volume is properly initialized at container startup.
2025-11-28 22:47:55 +01:00
..
2025-08-30 11:32:03 +02:00
2025-08-30 11:32:03 +02:00
2025-09-02 15:42:32 +02:00
2025-08-27 14:37:18 +02:00