From 248746ce0b366b457bf92a90f943ac2b3f46df85 Mon Sep 17 00:00:00 2001 From: Devraj Singh Date: Thu, 11 Jul 2019 14:44:32 +0530 Subject: [PATCH] Update docker-compose.yml 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 --- basic-network/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basic-network/docker-compose.yml b/basic-network/docker-compose.yml index 8a8663e1..76aea8a6 100644 --- a/basic-network/docker-compose.yml +++ b/basic-network/docker-compose.yml @@ -87,7 +87,8 @@ services: couchdb: container_name: couchdb - image: hyperledger/fabric-couchdb + #image: hyperledger/fabric-couchdb + image: couchdb:2.3 # Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password # for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode. environment: