PostgreSQLClickHouseDocker

Volume permission errors prevent service startup

critical
configurationUpdated Feb 16, 2026(via Exa)
How to detect:

PostgreSQL, ClickHouse, SeaweedFS, or GeoIP services fail to start with 'Permission denied' or 'chown: cannot access' errors when Docker volumes have incorrect ownership. Most common with bind mounts where host directory permissions don't match container user IDs.

Recommended action:

Ensure volumes are created with correct ownership before starting services. For explicit host mounts, verify directory permissions match container user IDs. Prefer named Docker volumes over bind mounts to avoid permission issues. Check affected volumes: sentry-postgres, sentry-clickhouse, sentry-kafka, sentry-redis.