supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.07k stars 209 forks source link

could not access file \"$libdir/wrappers-0.1.19\": No such file or directory #2492

Closed magick93 closed 4 months ago

magick93 commented 4 months ago

Describe the bug Running supabase start fails and results in could not access file \"$libdir/wrappers-0.1.19\": No such file or directory from the pg container.

To Reproduce Steps to reproduce the behavior:

  1. Run supabase start
  2. See error

Expected behavior Should start local sb environment

System information Rerun the failing command with --create-ticket flag.

sweatybridge commented 4 months ago

I'm not sure how your local db ends up in this state, but it could be due to a corrupt docker volume for your local db. Perhaps you upgraded cli while your local database is still running? We specifically advised against it.

But all hope is not lost, you can try restarting from scratch. For eg.

supabase stop --no-backup
supabase start
magick93 commented 4 months ago

Thanks. I managed to fix it by deleting the docker volumes, which I think is similar to your suggestion.