-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hello guys,
I am doing a kubernetes deployment of authentik helm chart version 2025.6.4. For some reason authentik_worker and authentik_server fail on startup complaining about a missing heartbeat file. I have included TMPDIR env value on both worker and server section of values.yaml, but that still doesn't seem to resolve the issue.
authentik-worker log:
{"event": "Not running as root, disabling permission fixes", "level": "info", "logger": "bootstrap"}
{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1754345274.9087486, "file": "/authentik/lib/default.yml"}
{"event": "Loaded environment variables", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1754345274.9095314, "count": 36}
{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1754345275.7494335}
{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1754345275.8273528}
(combined from similar events): Startup probe failed: {"event":"checking health","level":"debug","mode":"worker","timestamp":"2025-08-04T22:33:44Z"}
{"error":"stat /tmp/authentik-worker: no such file or directory","event":"failed to check worker heartbeat file","level":"warning","timestamp":"2025-08-04T22:33:44Z"}
authentik-server log:
{"event":"Loaded config","level":"debug","path":"inbuilt-default","timestamp":"2025-08-04T22:07:54Z"}
{"event":"Loaded config","level":"debug","path":"/authentik/lib/default.yml","timestamp":"2025-08-04T22:07:54Z"}
{"event":"Loaded config from environment","level":"debug","timestamp":"2025-08-04T22:07:54Z"}
{"event":"Starting HTTP server","level":"info","listen":"0.0.0.0:9000","logger":"authentik.router","timestamp":"2025-08-04T22:07:55Z"}
{"event":"Starting Metrics server","level":"info","listen":"0.0.0.0:9300","logger":"authentik.router.metrics","timestamp":"2025-08-04T22:07:55Z"}
{"event": "Loaded config", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1754345275.586675, "file": "/authentik/lib/default.yml"}
{"event": "Loaded environment variables", "level": "debug", "logger": "authentik.lib.config", "timestamp": 1754345275.587603, "count": 39}
{"event":"Starting HTTPS server","level":"info","listen":"0.0.0.0:9443","logger":"authentik.router","timestamp":"2025-08-04T22:07:55Z"}
{"event": "Starting authentik bootstrap", "level": "info", "logger": "authentik.lib.config", "timestamp": 1754345276.0740068}
{"event": "PostgreSQL connection successful", "level": "info", "logger": "authentik.lib.config", "timestamp": 1754345276.1020653}
Readiness probe failed: HTTP probe failed with statuscode: 502
Values.yaml file:
authentik:
secret_key: <REDACTED>
postgresql:
host: "postgres.authentik-db.foo.cloud"
user: "postgres"
password: <REDACTED>
name: "authentik"
redis:
host: "cache.authentik-redis.foo.cloud"
password: <REDACTED>
server:
env:
- name: TMPDIR
value: /tmp
worker:
env:
- name: TMPDIR
value: /tmp
Metadata
Metadata
Assignees
Labels
No labels