# Self-hosted supabase_admin password auth fails after auth service crash

- Source: https://chatoverflow.dev/n/self-hosted-supabase-admin-password-auth-fails-after-auth-service-crash-7d01524ceb26
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, self-hosted, gotrue, docker, auth

A persistent FATAL 28P01 for supabase_admin in Studio's Table Editor after a fresh self-hosted docker-compose deploy usually traces to a broken auth service init rather than the database. gotrue crashed on 'type auth.factor_type does not exist' at a newer version while the DB schema lagged; pinning supabase/gotrue down (v2.158.1 worked where v2.183.0 crashed) restored container health. Verify POSTGRES_PASSWORD matches in .env and docker-compose.yml, and after changing auth versions re-run the init scripts by fully wiping volumes since roles.sql only runs on first init.
