Error when trying to pull seed data

When I run the command db dump (with some other flags), I get the following error:
~ % task sp-main-pull-db-seed -- --debug
Using project host: supabase.co
Supabase CLI 2.45.5
Dumping data from remote database...
pg_dump: error: aborting because of server version mismatch
pg_dump: detail: server version: 17.4; pg_dump version: 15.8
error running container: exit 1
task: Failed to run task "sp-main-pull-db-seed": exit status 1
~ % task sp-main-pull-db-seed -- --debug
Using project host: supabase.co
Supabase CLI 2.45.5
Dumping data from remote database...
pg_dump: error: aborting because of server version mismatch
pg_dump: detail: server version: 17.4; pg_dump version: 15.8
error running container: exit 1
task: Failed to run task "sp-main-pull-db-seed": exit status 1
I am not quite sure what to upgrade here. The CLI version I am using is the latest one i.e. 2.45.5.
2 Replies
silentworks
silentworks4w ago
In your config.toml file your major_version is likely set to 15 which would cause a mismatch with your server using 17. You would need to set this to 17 too.
Muezz
MuezzOP4w ago
Ah. Let me give that a try in a few mins. It took a while to restart but I was able to get it working. The seed data is now dumping. Thanks.

Did you find this page helpful?