Skip to content

Cannot start supabase after stopping #135

@leesus

Description

@leesus

Bug report

Describe the bug

After stopping local supabase with Ctrl+C, subsequent supabase start calls fail with the error: Error starting database: ERROR: database "main" does not exist.

There is a SQL dump inside supabase/.branches/main directory.

I then have to nuke my supabase directory, then re-init.

To Reproduce

  1. supabase init
  2. supabase start
  3. Ctrl+C once instance is up
  4. supabase start
  5. See error

Expected behavior

supabase start restarts the instance once stopped.

System information

  • OS: macOS
  • Version of supabase-js: 0.15.14
  • Version of Node.js: 14.18.1

Additional context

Fairly new to the Go CLI, I was using the old Docker setup without incident, so possibly I'm missing something simple.

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