Commit Graph
2 Commits
Author SHA1 Message Date
Leon TonhäuserandClaude e6baaddca6 fix(preflight): check /api/albums instead of removed /api/server-info/ping
Current Immich removed /api/server-info/ping (returns 404 'Cannot GET
/api/server-info/ping'), so the preflight IMMICH check always failed
even though the API and key are fine. /api/albums is the endpoint the
portal actually depends on and requires a valid key with album.read
scope, so a 200 there confirms reachability + auth.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-10 23:55:40 +02:00
Leon TonhäuserandClaude 6fc095a161 ops: add preflight smoke test for env + DB/SMTP/Immich connectivity
scripts/preflight.ts validates that every required env var is set, then
checks live connectivity to the database, the Better Auth adapter (instance
builds + user table readable), SMTP and Immich. Prints OK/FAIL per check
and exits non-zero on any failure. Run it when bringing up the box to catch
missing env vars and dead connections before going live.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-10 23:09:24 +02:00