Skip to content

"supabase db dump --local --schema '*' --data-only" fails with cloudfront.net error #4869

@utmostgames

Description

@utmostgames

I've been developing locally on supabase and am ready to export, but my migration files are not available. I'm simply trying to regenerate a schema.sql from local data, but I get this:

$ supabase db dump --local --schema '*' --data-only
Using workdir \source\repos  
Dumping data from local database...  
17.6.1.063: Pulling from supabase/postgres  
failed to display json stream: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://d5l0dvt14r5h8.cloudfront.net/v2/ec5129...

then it retries:

Retrying after 8s: public.ecr.aws/supabase/postgres:17.6.1.063
17.6.1.063: Pulling from supabase/postgres
32f38e7171bc: Pulling fs layer
be3b7989762c: Pulling fs layer
...
4f4fb700ef54: Already exists
1389d628abeb: Pulling fs layer
a0f5596cb70d: Pulling fs layer
4e577555a793: Pulling fs layer
...

then it does it again (ReadSeeker error and all) and ends with:

c51d86db7691: Pulling fs layer
f3dbb4cb5a79: Download complete
failed to display json stream: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://d5l0dvt14r5h8.cloudfront.net/v2/c9aad7...

then it stops trying.

It says "Download complete" in the middle there, but there's definitely no file being written.

I want to write a file with my create tables sql; I shouldn't have to go remote to dump a local schema. But here we are.

NOTE: I cannot do 'supabase db push' because the migrations are corrupted; that's why I'm trying to regenerate them.

Help?

  • Supabase CLI v.2.72.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions