hasura / hasura/graphql-engine
migrations inop for gcp postgres
Open
Nobody has claimed this yet.
k/bug
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
Version Information
Server Version:
CLI Version (for CLI related issue):
version=v2.8.1
Environment
gcp postgres
wsl2
v2.7.0-cloud.1
What is the expected behaviour?
hasura init <> --endpoint <> --admin-secret <> should work
Produces this error
* applying migrations on source: glass-hasura-test: cannot fetch schema dump: pg_dump request: 500
{
"path": "$",
"error": "internal exception while executing pg_dump",
"code": "unexpected"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing hasura init <> --endpoint <> --admin-secret <> against the reported GCP Postgres environment and trace the migration step that requests the schema dump. Investigate the pg_dump request returning HTTP 500, then verify that initialization applies migrations successfully without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, postgres
- Domain
- cli, cloud, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100