mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
my network was not getting started when I was using this repo and when I cloned the repo from https://gerrit.hyperledger.org/r/admin/repos/fabric-samples then i was able to resolve my issue mentioned below # Create the channel docker exec -e "CORE_PEER_LOCALMSPID=Org1MSP" -e "CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/users/Admin@org1.example.com/msp" peer0.org1.example.com peer channel create -o orderer.example.com:7050 -c mychannel -f /etc/hyperledger/configtx/channel.tx 2019-07-11 08:59:08.309 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Error: got unexpected status: FORBIDDEN -- implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Writers' sub-policies to be satisfied: permission denied one of the major diff I have found that with new git clone cli had downloaded new images for couchdb 2.3 and that the reason I have updated this config file from image: hyperledger/fabric-couchdb to image: couchdb:2.3 |
||
|---|---|---|
| .. | ||
| config | ||
| crypto-config | ||
| .env | ||
| configtx.yaml | ||
| connection.json | ||
| connection.yaml | ||
| crypto-config.yaml | ||
| docker-compose.yml | ||
| generate.sh | ||
| init.sh | ||
| README.md | ||
| start.sh | ||
| stop.sh | ||
| teardown.sh | ||
Basic Network Config
Note that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel".
To regenerate this material, simply run generate.sh.
To start the network, run start.sh.
To stop it, run stop.sh
To completely remove all incriminating evidence of the network
on your system, run teardown.sh.

This work is licensed under a Creative Commons Attribution 4.0 International License