java网站开发模式有哪些/腾讯广告推广怎么做
情景:我在根据这篇文章 https://www.cnblogs.com/skzxc/p/10818590.html 升级hyperledger fabric 1.0.0到1.4.0时候,最后启动报这种类似的错
(百度了很久找不到答案)
问题:启动失败
仔细看看是说我 peer0.org1.exam.com 这个容器没有启动成功
于是我便查看这个容器的日志,就发现了下面错误
Orderer capability V1_4_2 is required but not supported
他的意思是 需要订购者功能V1_4_2,但不支持
啥意思呢 这个1_4_2是在配置文件configtx.yaml中
像我一样 把他手动改成这样
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# V1.4.3 for Channel is a catchall flag for behavior which has been# determined to be desired for all orderers and peers running at the v1.4.3# level, but which would be incompatible with orderers and peers from# prior releases.# Prior to enabling V1.4.3 channel capabilities, ensure that all# orderers and peers on a channel are at v1.4.3 or later.V1_4_3: false# V1.3 for Channel enables the new non-backwards compatible# features and fixes of fabric v1.3V1_3: true# V1.1 for Channel enables the new non-backwards compatible# features and fixes of fabric v1.1V1_1: false# 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.4.2 for Orderer is a catchall flag for behavior which has been# determined to be desired for all orderers running at the v1.4.2# level, but which would be incompatible with orderers from prior releases.# Prior to enabling V1.4.2 orderer capabilities, ensure that all# orderers on a channel are at v1.4.2 or later.#V1_4_2: true# V1.1 for Orderer enables the new non-backwards compatible# features and fixes of fabric v1.1V1_1: 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# V1.4.2 for Application enables the new non-backwards compatible# features and fixes of fabric v1.4.2.V1_4_2: false# V1.3 for Application enables the new non-backwards compatible# features and fixes of fabric v1.3.V1_3: true# V1.2 for Application enables the new non-backwards compatible# features and fixes of fabric v1.2 (note, this need not be set if# later version capabilities are set)V1_2: false# V1.1 for Application enables the new non-backwards compatible# features and fixes of fabric v1.1 (note, this need not be set if# later version capabilities are set).V1_1: false
问题解决 启动成功!