hyperledger fabric2.3 搭建时踩过的坑

文章讲述了在测试网络启动时遇到的错误,主要是由于Compose文件版本不匹配。解决方法是更新文件中的`version`设置,将`ApplicationcapabilityV2_5`从`true`改为`false`。同时,针对Compose文件格式的版本说明也有所提及。
摘要由CSDN通过智能技术生成

测试网络启动时,执行

./network.sh up

出现

Version in "./compose/compose-test-net.yaml" is unsupported. 
You might be seeing this error because you're using the wrong Compose file version. 
Either specify a supported version 
(e.g "2.2" or "3.3") 
and place your service definitions 
under the `services` key, 
or omit the `version` key 
and place your service definitions 
at the root of the file to use version 1.
For more on the Compose file format versions, 
see https://docs.docker.com/compose/compose-file/

划重点巴拉巴拉一堆,其实就是说咱的版本不对
挽救措施 打开 /test-network/compose/compose-test-net.yaml
在这里插入图片描述
然后修改,原本是3.7,改成2.3
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

之后就可以成功启动

在创建通道时遇到的报错

Error: proposal failed 
(err: bad proposal response 500: "JoinChain" 
for channelID = mychannel 
failed because of validation 
of configuration block, 
because of Failed capabilities 
check: 
[Application capability V2_5 is required but not supported])

重点是最后一句,又是版本问题
拯救措施 打开文件
在这里插入图片描述
请饱饱们修改一下,v2_5那里 true---->false
在这里插入图片描述

  • 9
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值