hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
434 stars 276 forks source link

Iroha Postgres Installation failed #304

Closed kapsali29 closed 4 years ago

kapsali29 commented 4 years ago

Hello all,

I am trying to deploy single instance Iroha using the following docker compose script

`version: '3.4'

services:

services:

postgres: image: postgres:10 hostname: postgres restart: always ports:

networks: iroha-network: driver: bridge

volumes: blockstore2: iroha-db:`

Postgres container was initialized correctly but Iroha container failed and the logs are the following:

`NOTE: IROHA_POSTGRES_HOST should match 'host' option in config file wait-for-it.sh: waiting 30 seconds for postgres:5432 wait-for-it.sh: postgres:5432 is available after 0 seconds [2019-11-07 21:31:21.320422700][I][Init]: Irohad version: 1.0.1 [2019-11-07 21:31:21.320478000][I][Init]: config initialized

[2019-11-07 21:31:21.327586300][I][Irohad/Storage]: Start storage creation [2019-11-07 21:31:21.327644900][I][Irohad/Storage]: block store created [2019-11-07 21:31:23.010715500][E][Init]: Failed to initialize storage`

Any thoughts and ideas would be helpful. Thanks in Advance

sorabot commented 4 years ago

Thank you for reporting this! To resolve issues quicker and more efficiently, we now track them in Jira - that way they get considered during sprint planning and never get lost or mishandled 😊 We have already carefully transferred your reported issue here. If you want to track your issue or help us fix it (that would be awesome!), please follow the link above. Even if you do not have a LFID needed for logging in, you can get it here in a few moments.

In case you have just a quick question on how things work, let us know in a chat: https://chat.hyperledger.org/channel/iroha

You are always welcome to participate in discussions in JIRA comments section or Rocket.Chat or help others🖖

junaidgirkar commented 1 year ago

Is this issue resolved? Unable to find the solution even on Jira. Would be really grateful if someone could post a working solution here.

64anushka commented 1 month ago

Is this issue resolved?