-
Notifications
You must be signed in to change notification settings - Fork 695
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
Error: "role "root" does not exist" while trying to sync a node #1953
Comments
this is a problem related to the DB. How are you setting up Postgres? |
Firstly, I think you should check that the "zkevm-state-db" container is actually running and possibly if your state-db volumes are actually there and read/write access granted. but generally this has to do with your db which is postgres in this instance. also confirm that your configuration (.env) for ZKEVM_NODE_STATEDB_DATA_DIR is properly pointed to its path |
Issue got resolved after fixing the |
it would be nice if you explained a bit more? which Here's a related issue: peter-evans/docker-compose-healthcheck#16 |
I would re-open this issue, as I believe this still needs attention from the maintainers. cc @arnaubennassar |
I think #2042 will solve the problem. |
For the very first time, the database credentials seems to be applied (using
|
Upgraded to 0.0.6, still getting error during initialization and later as well:
|
I was able to change docker-compose.yml
EDIT Postgres version: Modified Opened #2058 to fix PostgreSQL version. |
Following instructions decribed in https://github.com/0xPolygonHermez/zkevm-node/blob/develop/docs/production-setup.md
This log is from state-db |
Encountered the following error while trying to sync a full node:
zkevm-state-db | 2023-03-28 19:35:21.637 UTC [458] FATAL: role "root" does not exist
The text was updated successfully, but these errors were encountered: