Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to get last block height from database error="pq: permission denied for table block" #624

Closed
llwinner opened this issue Aug 4, 2023 · 1 comment

Comments

@llwinner
Copy link

llwinner commented Aug 4, 2023

I follow the doc:

  1. Setup postgre with docker
  2. Setup and run BDJuno, after I setup hasura, I run bdjuno start
  3. Setup hasura
    The doc confused me. I found that, when I setup hasura by docker, it contains a postgre container, but the first step tells me to setup another postgre docker.
    I guess maybe first step tells us to run sql files with the docker that created in the third step, am I right?
    So, I create tables with sql files in the postgre docker which created by hasura docker-compose.yaml.
    After the configure of hasura is over(I can access localhost:8080/console, and Import the metadata successfully) I run bdjuno start.
    And I got an error:
    failed to get last block height from database error="pq: permission denied for table block"
    image
    The table block has no data
    image

My hasura
image

image

My config.yaml
image

My docker-compose.yaml
image

A test for graphql, failed
image

What should I do? Please help me.

@llwinner
Copy link
Author

llwinner commented Aug 7, 2023

I found the solution.

@llwinner llwinner closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant