-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
Describe the bug
freshly started project, supabase start crashes on realtime. when I set realtime.enabled=false, everything works as expected. (including migrations and seeds)
To Reproduce
Steps to reproduce the behavior:
$ mkdir test && cd test
$ npm init
$ npx supabase init
$ npx supabase start --debug
Supabase CLI 2.34.3
2025/08/17 13:58:20 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
2025/08/17 13:58:20 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]}
2025/08/17 13:58:20 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=PwZdCiaB8WHs4ogLA8Z6wdv8"}
2025/08/17 13:58:20 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=PwZdCiaB8WHs4ogLA8Z6wdv8evJDY3jmVU7WdLWmcinwHsYu,s=TdRSUdg4tQVA7m0Drqb59g==,i=4096"}
2025/08/17 13:58:20 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=PwZdCiaB8WHs4ogLA8Z6wdv8evJDY3jmVU7WdLWmcinwHsYu,p=hsZRdsdSywMd44UNlU/PtPjc9iAj3YsWLljmxSsQS+Q="}
2025/08/17 13:58:20 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"v=zoppgeHUPhDukUgJztWvtu1rce+lw+z5Hf4punOZF/Q="}
2025/08/17 13:58:20 PG Recv: {"Type":"AuthenticationOK"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"in_hot_standby","Value":"off"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"integer_datetimes","Value":"on"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"TimeZone","Value":"UTC"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"IntervalStyle","Value":"postgres"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"is_superuser","Value":"off"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"application_name","Value":""}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"default_transaction_read_only","Value":"off"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"scram_iterations","Value":"4096"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"DateStyle","Value":"ISO, MDY"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"standard_conforming_strings","Value":"on"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"session_authorization","Value":"postgres"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"client_encoding","Value":"UTF8"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"server_version","Value":"17.4"}
2025/08/17 13:58:20 PG Recv: {"Type":"ParameterStatus","Name":"server_encoding","Value":"UTF8"}
2025/08/17 13:58:20 PG Recv: {"Type":"BackendKeyData","ProcessID":213,"SecretKey":3736317737}
2025/08/17 13:58:20 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
+ ulimit -ning schema...
+ '[' '!' -z '' ']'
+ export ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ '[' false = true ']'
+ echo 'Running migrations'
+ sudo -E -u nobody /app/bin/migrate
+ '[' true = true ']'...
+ echo 'Seeding selfhosted Realtime'
+ sudo -E -u nobody /app/bin/realtime eval 'Realtime.Release.seeds(Realtime.Repo)'
** (MatchError) no match of right hand side value: {:error, {:realtime, {{:shutdown, {:failed_to_start_child, RealtimeWeb.Endpoint, {:shutdown, {:failed_to_start_child, {:ranch_listener_sup, RealtimeWeb.Endpoint.HTTP}, {:shutdown, {:failed_to_start_child, :ranch_acceptors_sup, {:listen_error, RealtimeWeb.Endpoint.HTTP, :eafnosupport}}}}}}}, {Realtime.Application, :start, [:normal, []]}}}}
(realtime 2.41.23) lib/realtime/release.ex:23: Realtime.Release.seeds/1
nofile:1: (file)
(stdlib 6.1.2) erl_eval.erl:904: :erl_eval.do_apply/7
(elixir 1.17.3) lib/code.ex:572: Code.validated_eval_string/3
2025/08/17 13:58:28 PG Send: {"Type":"Terminate"}
Stopping containers...
System information
Rerun the failing command with --create-ticket
flag.
- Ticket ID: 7b4d134d84084ec0a8fc5aa9f01d5b91
- Version of OS: Fedora 42
- Version of CLI: 2.34.3
- Version of Docker: 28.3.3
- Versions of services:
SERVICE IMAGE | LOCAL | LINKED |
---|---|---|
supabase/postgres | 17.4.1.072 | - |
supabase/gotrue | v2.178.0 | - |
postgrest/postgrest | v13.0.4 | - |
supabase/realtime | v2.41.23 | - |
supabase/storage-api | v1.26.3 | - |
supabase/edge-runtime | v1.68.3 | - |
supabase/studio | 2025.08.04-sha-6e99ca6 | - |
supabase/postgres-meta | v0.91.5 | - |
supabase/logflare | 1.18.3 | - |
supabase/supavisor | 2.6.1 | - |
Metadata
Metadata
Assignees
Labels
No labels