-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault on db pull #2998
Comments
This is a bit strange. Could you try the following command to help rule out potential issues with the postgres image echo '15.6.1.143' > supabase/.temp/postgres-version
npx supabase db pull --linked |
@sweatybridge Same issue still unfortunately. |
Seeing this same segfault message, on CLI version 2.2.1, macOS ARM binary. I also rolled back to 2.0.0 and manually ran the I didn't see this problem earlier today. |
Seems to be resolved by pushing a empty new migration to the remote DB from a clean local instance (no existing schemas/tables/migrations) via |
For future reference, another alternative you can try is to dump the schema without docker
This creates a bash script that you can then run to fetch the remote schema. |
Describe the bug
I've had no luck getting supabase set up for local development with an existing project. All the containers start fine but I end up with a blank file
migrations/20241229224617_remote_schema.sql
file and a segmentation fault error. I've tried db reset multiple times as well but with no luck.To Reproduce
Steps to reproduce the behavior:
Expected behavior
New file in /migrations that contains the init script for the database.
Screenshots
System information
The text was updated successfully, but these errors were encountered: