You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned this repo and tried to run the functional node to run a Prometheus exporter against it, but I am having this issue. Also I tried setting the environment variable in the dockerfile but that doesn't seem to work either. Where do I specify the password? the DB should already be initializing so the only issue should be a non-specified password right?
kentarovadney@Kentaros-MacBook-Air docker-stellar-core % docker-compose -f docker-compose.example.yml up
Docker Compose is now in the Docker CLI, try docker compose up
Creating docker-stellar-core_stellar-core-postgres_1 ... done
Creating docker-stellar-core_stellar-core_1 ... done
Attaching to docker-stellar-core_stellar-core-postgres_1, docker-stellar-core_stellar-core_1
stellar-core-postgres_1 | Error: Database is uninitialized and superuser password is not specified.
stellar-core-postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the
stellar-core-postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
stellar-core-postgres_1 |
stellar-core-postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
stellar-core-postgres_1 | connections without a password. This is not recommended.
stellar-core-postgres_1 |
stellar-core-postgres_1 | See PostgreSQL documentation about "trust":
stellar-core-postgres_1 | https://www.postgresql.org/docs/current/auth-trust.html
stellar-core_1 | Initializing core db...
stellar-core_1 | Using DEPRECATED command-line syntax.
stellar-core_1 | Please refer to documentation for new syntax.
stellar-core_1 |
stellar-core_1 | 2021-06-26T22:34:33.027 [default INFO] Assigning calculated value of 1 to FAILURE_SAFETY
stellar-core_1 | 2021-06-26T22:34:33.061 GD4E3 [Database INFO] Connecting to: postgresql://dbname=stellar-core user=postgres password=******** host=stellar-core-postgres
docker-stellar-core_stellar-core-postgres_1 exited with code 1
stellar-core_1 | 2021-06-26T22:34:36.179 GD4E3 [default INFO] Application destructing
stellar-core_1 | 2021-06-26T22:34:36.186 GD4E3 [default INFO] Application destroyed
stellar-core_1 | 2021-06-26T22:34:36.188 GD4E3 [default FATAL] Got an exception: Cannot establish connection to the database.
stellar-core_1 | could not connect to server: No route to host
stellar-core_1 | Is the server running on host "stellar-core-postgres" (172.19.0.2) and accepting
stellar-core_1 | TCP/IP connections on port 5432?
stellar-core_1 | [DeprecatedCommandLine.cpp:444]
stellar-core-postgres_1 | Error: Database is uninitialized and superuser password is not specified.
stellar-core-postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the
stellar-core-postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
stellar-core-postgres_1 |
stellar-core-postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
stellar-core-postgres_1 | connections without a password. This is not recommended.
stellar-core-postgres_1 |
stellar-core-postgres_1 | See PostgreSQL documentation about "trust":
stellar-core-postgres_1 | https://www.postgresql.org/docs/current/auth-trust.html
kentarovadney@Kentaros-MacBook-Air docker-stellar-core % docker-compose -f docker-compose.example.yml up -e POSTGRES_PASSWORD=password
The text was updated successfully, but these errors were encountered:
I cloned this repo and tried to run the functional node to run a Prometheus exporter against it, but I am having this issue. Also I tried setting the environment variable in the dockerfile but that doesn't seem to work either. Where do I specify the password? the DB should already be initializing so the only issue should be a non-specified password right?
kentarovadney@Kentaros-MacBook-Air docker-stellar-core % docker-compose -f docker-compose.example.yml up
Docker Compose is now in the Docker CLI, try
docker compose up
Creating docker-stellar-core_stellar-core-postgres_1 ... done
Creating docker-stellar-core_stellar-core_1 ... done
Attaching to docker-stellar-core_stellar-core-postgres_1, docker-stellar-core_stellar-core_1
stellar-core-postgres_1 | Error: Database is uninitialized and superuser password is not specified.
stellar-core-postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the
stellar-core-postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
stellar-core-postgres_1 |
stellar-core-postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
stellar-core-postgres_1 | connections without a password. This is not recommended.
stellar-core-postgres_1 |
stellar-core-postgres_1 | See PostgreSQL documentation about "trust":
stellar-core-postgres_1 | https://www.postgresql.org/docs/current/auth-trust.html
stellar-core_1 | Initializing core db...
stellar-core_1 | Using DEPRECATED command-line syntax.
stellar-core_1 | Please refer to documentation for new syntax.
stellar-core_1 |
stellar-core_1 | 2021-06-26T22:34:33.027 [default INFO] Assigning calculated value of 1 to FAILURE_SAFETY
stellar-core_1 | 2021-06-26T22:34:33.061 GD4E3 [Database INFO] Connecting to: postgresql://dbname=stellar-core user=postgres password=******** host=stellar-core-postgres
docker-stellar-core_stellar-core-postgres_1 exited with code 1
stellar-core_1 | 2021-06-26T22:34:36.179 GD4E3 [default INFO] Application destructing
stellar-core_1 | 2021-06-26T22:34:36.186 GD4E3 [default INFO] Application destroyed
stellar-core_1 | 2021-06-26T22:34:36.188 GD4E3 [default FATAL] Got an exception: Cannot establish connection to the database.
stellar-core_1 | could not connect to server: No route to host
stellar-core_1 | Is the server running on host "stellar-core-postgres" (172.19.0.2) and accepting
stellar-core_1 | TCP/IP connections on port 5432?
stellar-core_1 | [DeprecatedCommandLine.cpp:444]
stellar-core-postgres_1 | Error: Database is uninitialized and superuser password is not specified.
stellar-core-postgres_1 | You must specify POSTGRES_PASSWORD to a non-empty value for the
stellar-core-postgres_1 | superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
stellar-core-postgres_1 |
stellar-core-postgres_1 | You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
stellar-core-postgres_1 | connections without a password. This is not recommended.
stellar-core-postgres_1 |
stellar-core-postgres_1 | See PostgreSQL documentation about "trust":
stellar-core-postgres_1 | https://www.postgresql.org/docs/current/auth-trust.html
kentarovadney@Kentaros-MacBook-Air docker-stellar-core % docker-compose -f docker-compose.example.yml up -e POSTGRES_PASSWORD=password
The text was updated successfully, but these errors were encountered: