Issue when deploying Hasura on Render.com
See original GitHub issueHey guys,
I’m trying to deploy my hasura on render.com and I have the following error:
Sep 6 07:39:55 PM time="2020-09-06T17:39:55Z" level=fatal msg="failed to apply metadata: cannot apply metadata on the database: [unexpected] database query error ($.args[0].args)\r\n[23503] FatalError: update or delete on table \"hdb_table\" violates foreign key constraint \"hdb_permission_table_schema_fkey\" on table \"hdb_permission\"\r\nDescription: Key (table_schema, table_name)=(public, workspaces) is still referenced from table \"hdb_permission\"."
Here is my dockerFile:
FROM hasura/graphql-engine:v1.3.1.cli-migrations-v2
COPY migrations /hasura-migrations
COPY metadata /hasura-metadata
CMD graphql-engine serve --server-port $PORT
I have only 1 migration file.
In terms of metadata, I have a remote schema, 1 remote relationship, 1 role with 3 permissions
Do you have any idea?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Deploy Hasura GraphQL Engine - Render
If you would like to use Hasura GraphQL Engine with an existing database containing your application data, you can use the Deploy to...
Read more >Deploying Hasura GraphQL engine on Render
Once you're logged into your Render account, click the button below to deploy Hasura and a new managed PostgreSQL database wired up to...
Read more >Hasura GraphQL Engine
Hasura's GraphQL engine on Postgres. ... Render, Deploy to Render ... The documentation and community will help you troubleshoot most issues.
Read more >Deploying hasura on Kubernetes - Plural.sh
Use Plural to deploy and manage hasura on Kubernetes, in your cloud. ... hasura. Plural. An open-source product that gives you GraphQL or...
Read more >How to Build Your Backend with Hasura and PostgreSQL
Render · Azure. You can also deploy Hasura on any Kubernetes platform such as Google Cloud. AWS is also supported, but you have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @tirumaraiselvan,
Hope you’re well!
I’ve tried with Hasura Cloud and it works without any trouble. It’s good, but I’m curious why it doesn’t work in Render, do you have any clues?
Because I would like to keep all my infra on a same service
@kwiss we’ll follow up in Render chat. @Ciboulette are you seeing the issue as well?