question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when deploying Hasura on Render.com

See original GitHub issue

Hey 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:closed
  • Created 3 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Ciboulettecommented, Sep 11, 2020

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

1reaction
anuragcommented, Sep 20, 2020

@kwiss we’ll follow up in Render chat. @Ciboulette are you seeing the issue as well?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found