Error 4:Error on outputBlock: could not create bootstrapper: could not create channel group: error adding policies to channel group: no policies defined
Organizations:-&OrdererOrgName: OrdererOrgID: OrdererMSPMSPDir:../fabricconfig/crypto-config/ordererOrganizations/example.com/mspPolicies:Readers:Type: SignatureRule:"OR('OrdererMSP.member')"Writers:Type: SignatureRule:"OR('OrdererMSP.member')"Admins:Type: SignatureRule:"OR('OrdererMSP.admin')"Endorsement:Type: SignatureRule:"OR('OrdererMSP.member')"-&Org1Name: Org1MSPID: Org1MSPMSPDir:../fabricconfig/crypto-config/peerOrganizations/org1.example.com/mspPolicies:Readers:Type: SignatureRule:"OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')"Writers:Type: SignatureRule:"OR('Org1MSP.admin', 'Org1MSP.client')"Admins:Type: SignatureRule:"OR('Org1MSP.admin')"Endorsement:Type: SignatureRule:"OR('Org1MSP.peer')"AnchorPeers:- Host: peer0.org1.example.comPort:7051-&Org2Name: Org2MSPID: Org2MSPMSPDir:../fabricconfig/crypto-config/peerOrganizations/org2.example.com/mspPolicies:Readers:Type: SignatureRule:"OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')"Writers:Type: SignatureRule:"OR('Org2MSP.admin', 'Org2MSP.client')"Admins:Type: SignatureRule:"OR('Org2MSP.admin')"Endorsement:Type: SignatureRule:"OR('Org2MSP.peer')"AnchorPeers:- Host: peer0.org2.example.comPort:7051
Capabilities:# Channel capabilities apply to both the orderers and the peers and must be# supported by both.# Set the value of the capability to true to require it.Channel:&ChannelCapabilities# V2.0for Channel is a catchall flag for behavior which has been# determined to be desired for all orderers and peers running at the v2.0.0# level, but which would be incompatible with orderers and peers from# prior releases.# Prior to enabling V2.0 channel capabilities, ensure that all# orderers and peers on a channel are at v2.0.0 or later.V2_0:true# Orderer capabilities apply only to the orderers, and may be safely# used with prior release peers.# Set the value of the capability to true to require it.Orderer:&OrdererCapabilities# V1.1for Orderer is a catchall flag for behavior which has been# determined to be desired for all orderers running at the v1.1.x# level, but which would be incompatible with orderers from prior releases.# Prior to enabling V2.0 orderer capabilities, ensure that all# orderers on a channel are at v2.0.0 or later.V2_0:true# Application capabilities apply only to the peer network, and may be safely# used with prior release orderers.# Set the value of the capability to true to require it.Application:&ApplicationCapabilities# V2.0for Application enables the newnon-backwards compatible# features and fixes of fabric v2.0.# Prior to enabling V2.0 orderer capabilities, ensure that all# orderers on a channel are at v2.0.0 or later.V2_0:trueApplication:&ApplicationDefaultsOrganizations:# Policies defines the setof policies at this level of the config tree# For Application policies, their canonical path is# /Channel/Application/<PolicyName>Policies:&ApplicationDefaultPoliciesLifecycleEndorsement:Type: ImplicitMetaRule:"MAJORITY Endorsement"Endorsement:Type: ImplicitMetaRule:"MAJORITY Endorsement"Readers:Type: ImplicitMetaRule:"ANY Readers"Writers:Type: ImplicitMetaRule:"ANY Writers"Admins:Type: ImplicitMetaRule:"MAJORITY Admins"# Capabilities describes the application level capabilities, see the# dedicated Capabilities section elsewhere inthis file for a full# descriptionCapabilities:<<:*ApplicationCapabilitiesOrderer:&OrdererDefaultsOrdererType: soloAddresses:- orderer.example.com:7050BatchTimeout:2sBatchSize:MaxMessageCount:10AbsoluteMaxBytes:99MBPreferredMaxBytes:512KBKafka:Brokers:-127.0.0.1:9092Organizations:# Policies defines the setof policies at this level of the config tree# For Orderer policies, their canonical path is# /Channel/Orderer/<PolicyName>Policies:Readers:Type: ImplicitMetaRule:"ANY Readers"Writers:Type: ImplicitMetaRule:"ANY Writers"Admins:Type: ImplicitMetaRule:"MAJORITY Admins"# BlockValidation specifies what signatures must be included in the block# from the orderer for the peer to validate it.BlockValidation:Type: ImplicitMetaRule:"ANY Writers"# Capabilities describes the orderer level capabilities, see the# dedicated Capabilities section elsewhere inthis file for a full# descriptionCapabilities:<<:*OrdererCapabilities################################################################################
#
# CHANNEL
#
# This section defines the values to encode into a config transaction or
# genesis block for channel related parameters.
#
################################################################################
Channel:&ChannelDefaults# Policies defines the setof policies at this level of the config tree# For Channel policies, their canonical path is# /Channel/<PolicyName>Policies:# Who may invoke the 'Deliver'APIReaders:Type: ImplicitMetaRule:"ANY Readers"# Who may invoke the 'Broadcast'APIWriters:Type: ImplicitMetaRule:"ANY Writers"# By default, who may modify elements at this config levelAdmins:Type: ImplicitMetaRule:"MAJORITY Admins"# Capabilities describes the channel level capabilities, see the# dedicated Capabilities section elsewhere inthis file for a full# descriptionCapabilities:<<:*ChannelCapabilitiesProfiles:TestTwoOrgsOrdererGenesis:<<:*ChannelDefaultsOrderer:<<:*OrdererDefaultsOrganizations:-<<:*OrdererOrgConsortiums:SampleConsortium:Organizations:-<<:*Org1-<<:*Org2TestTwoOrgsChannel:<<:*ChannelDefaultsConsortium: SampleConsortiumApplication:<<:*ApplicationDefaultsOrganizations:-<<:*Org1-<<:*Org2