Skip to content

supabase db start error: role "pgbouncer" already exists (SQLSTATE 42710) #919

@probablykasper

Description

@probablykasper

Bug report

Describe the bug

I'm getting this error when running supabase db start in CI (using supabase/setup-cli):

[...]
bd676e6cd7b2: Pull complete
Digest: sha256:5407d1da475c2ea8c87dec6069ef046995b26b19a7baf97a2f8feae5ea3cb605
Status: Downloaded newer image for ghcr.io/supabase/postgres:14.1.0.89
Error: ERROR: role "pgbouncer" already exists (SQLSTATE 42710)
At statement 11: CREATE ROLE pgbouncer
Try rerunning the command with --debug to troubleshoot the error.
Error: Process completed with exit code 1.

My SQL migrations have nothing mentioning pgbouncer. It started happening without any schema changes

This started in v1.42.3

To Reproduce

Run supabase db start

System information

  • OS: GitHub action ubuntu-latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions