hyperledger / fabric-samples

Samples for Hyperledger Fabric
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
2.8k stars 3.39k forks source link

osnadmin: command not found Channel creation failed #790

Open jaideepkaur opened 2 years ago

jaideepkaur commented 2 years ago

./network.sh createChannel Using docker and docker-compose Creating channel 'mychannel'. If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'leveldb Network Running Already Using docker and docker-compose Generating channel genesis block 'mychannel.block' /home/jaideep/fabric/src/github.com/jaideep/fabric-samples/test-network/../bin/configtxgen

devstacktanya commented 2 years ago

Try this command that change the version of your image and resolve the issue curl -sSL https://bit.ly/2ysbOFE | bash -s curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.3.3 1.5.2 curl -sSL https://bit.ly/2ysbOFE | bash -s -- -h export PATH=/bin:$PATH

denali49 commented 2 years ago

This error means that you need to fix this in the configtx file and add the consortium group at the bottom of the file:

2022-07-13 10:57:45.174 IST [common.tools.configtxgen] doOutputBlock -> WARN 006 Genesis block does not contain a consortiums group definition. This block cannot be used for orderer bootstrap.

Then take your network all the way down and try again.

hope this helps, Chris

On Jul 13, 2022, at 5:24 AM, devstacktanya @.***> wrote:

 same issue do you find any way to solve this?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.