0

I am following this link first-network to run hyperledger samples name first-network.

I am using Ubuntu 18.04LTS

./byfn.sh -m generate got successfully executed.

When I am trying to execute ./byfn.sh -m up I am getting error

`2018-05-08 08:45:22.485 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp folder !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario ===========

Edits 1: Adding docker compose files

docker-compose-cli.yaml

docker-compose-couch.yaml

docker-compose-e2e.yaml

docker-compose-couch-org3.yaml

docker-compose-e2e-template.yaml

docker-compose-org3.yaml

Prakash P
  • 3,582
  • 4
  • 38
  • 66
  • Please share the docker-compose files so that we could further look into the configuration issues – Maddy Blacklisted May 08 '18 at 09:17
  • Please check above , I have added docker compose files – Prakash P May 08 '18 at 10:26
  • Double check that you have the crypto-config directory created after you run cryptogen or use the startup byfn script and it contains the necessary generated msp directory structure for your components. – Maddy Blacklisted May 09 '18 at 19:54
  • I also faced similar issue. Clearing volumes and networks by typing follwoing commands helped me: docker network prune && docker volume prune – Bukks Jan 18 '19 at 06:27

1 Answers1

0

Your crypto materials are not getting generated properly as required . Check that you have all the Prerequisites installed on the platform(s) I hope you have downloaded all the platform specific binaries https://github.com/hyperledger/fabric/blob/master/scripts/bootstrap.sh

This will make sure you have the correct Cryptogen and Configtxgen tools for creating crypto material,ca clients and channel configurations .

Skadoosh
  • 699
  • 2
  • 11
  • 27