Check File Permissions:
ensure that the files in /config/secrets/ and their directories are readable by the user running the Authelia service
you can adjust the permissions using the chmod command. for example:
`chmod 644 /config/secrets/mariadb/`
`chmod 644 /config/secrets/session`
`chmod 644 /config/secrets/jwtsecret`
`chmod 644 /config/secrets/oidc.pem`
`chmod 644 /config/secrets/storage`
`chmod 644 /config/secrets/redis`
##additionally, ensure the directory /config/secrets/ is accessible:
`chmod 755 /config/secrets/`
Check File Ownership:
ensure that the files are owned by the user running the Authelia process. you can change the ownership using the chown command:
`chown authelia:authelia /config/secrets/mariadb/`
`chown authelia:authelia /config/secrets/session`
`chown authelia:authelia /config/secrets/jwtsecret`
`chown authelia:authelia /config/secrets/oidc.pem`
`chown authelia:authelia /config/secrets/storage`
`chown authelia:authelia /config/secrets/redis`
Verify the Path:
double-check that the paths provided in the Authelia configuration file match the actual file paths
services:
authelia:
image: authelia/authelia
user: "${PUID}:${PGID}"
secrets:
- authelia_jwt_secret
- authelia_session_secret