ashwanihlf / sample_3PeerNetwork

Hyperledger Fabric network with 3 Peer and 1 Orderer
0 stars 1 forks source link

Error while creating genesis block #1

Open disharjayanth opened 2 years ago

disharjayanth commented 2 years ago

input command: configtxgen -profile MultiOrgOrdererGenesis -outputBlock ./config/genesis.block

error: 2021-09-18 20:32:32.673 IST [common.tools.configtxgen] main -> FATA 001 Missing channelID, please specify it with '-channelID'

When i do specify with -channelID configtxgen -profile MultiOrgOrdererGenesis -outputBlock ./config/genesis.block -channelID mychannel

error: 2021-09-18 20:34:14.590 IST [common.tools.configtxgen] main -> INFO 001 Loading configuration 2021-09-18 20:34:14.595 IST [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: solo 2021-09-18 20:34:14.595 IST [common.tools.configtxgen.localconfig] Load -> INFO 003 Loaded configuration: configtx.yaml 2021-09-18 20:34:14.595 IST [common.tools.configtxgen] main -> FATA 004 Error on outputBlock: could not create bootstrapper: could not create channel group: error adding policies to channel group: no policies defined

ashwanihlf commented 2 years ago

Which version of HF are you using, make sure its v1.4 and did you get the same issue in setting up any other sample project?

disharjayanth commented 2 years ago

Good afternoon sir, I'm using v2 since it is recently released one. No, That was first one. Also please can you update github repo for Hyperledger fabric in depth. Thanks,

On Tue, Sep 21, 2021 at 12:27 PM ashwanihlf @.***> wrote:

Which version of HF are you using, make sure its v1.4 and did you get the same issue in setting up any other sample project?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ashwanihlf/sample_3PeerNetwork/issues/1#issuecomment-923694609, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABTL7AJ733MMK4VKJG4G3UDAUHJANCNFSM5EJJGO5A .

ashwanihlf commented 2 years ago

Dear Dishar

This book was published more than a year ago and that time 1.4v was prominent and v2 just got released and so all examples in the book and in this github are tested against 1.4v. From v2 and beyond there are certain changes that have happened was to how we build,intsall,commit,deploy chaincode etc. So, I would suggest you to go with v1.4 learn all concepts and then for v2 it would only be gap that you need to cover.

Thanks

disharjayanth commented 2 years ago

Is there any chance you could update github repo to v2?

On Tue, Sep 21, 2021 at 4:26 PM ashwanihlf @.***> wrote:

Dear Dishar

This book was published more than a year ago and that time 1.4v was prominent and v2 just got released and so all examples in the book and in this github are tested against 1.4v. From v2 and beyond there are certain changes that have happened was to how we build,intsall,commit,deploy chaincode etc. So, I would suggest you to go with v1.4 learn all concepts and then for v2 it would only be gap that you need to cover.

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ashwanihlf/sample_3PeerNetwork/issues/1#issuecomment-923868046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABTLYDPJGESCU2SCLVVETUDBQG7ANCNFSM5EJJGO5A .