Local Dev Container fails to launch since version supabase/postgres:15.6.1.120 #1219
Closed
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
I used to be able to run a local supabase/postgres using the postgres user and setting a password. This is helpful for running backend tests against an actual supabase instance.
However, since supabase/postgres:15.6.1.120 this does not work anymore and fails with the following error:
The same works just fine using supabase/postgres:15.6.1.119
While I can get supabase/postgres:15.6.1.120 to start just fine using
-e POSTGRES_USER=supabase_admin
this does not work for me as the postgres user then has no right to write to the public schema inmy-backend
and I am not able to login with the supabase_adminTo Reproduce
This fails to start:
This runs just fine:
Expected behavior
I would expect the container to start without errors and be able to write to the public schema of
my-backend
using the postgres userScreenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
I used to have a similar issue in the supabase cloud recently which led to this incident (https://status.supabase.com/incidents/5b1z81cjm3lt). This happened when I upgraded from .119 to .121 and while I obviously do not run docker in the supabase cloud I had a similar problem, not being able to connect to supabase using psql since it could not authenticate with supabase_admin.
The text was updated successfully, but these errors were encountered: