[ec2-user@ip-xx-xx-xx-xx〜] $ docker exec cli peer clunner create-c myChannel -f/opt/home/mychannel.pb -o order.n-xxxxxxxxxxxxxxxxxxxxxxxxxx x。 /OPT/HOME/MANAGEDBLOCKCHAIN-TLS-CHAIN.PEM-TLS 2025-03-1114:29:02.157 UTC [ChannelCMD] InitcmdFactory-> Info 001认可和订购器连接初始化 Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'mychannel', could not successfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied
我解决了问题。它与configtx.yaml文件有关。在再生Fabric-Ca-Client-CLI Docker容器并将日志记录设置从docker-compose-cli.yaml文件中更改为FABRIC_LOGGING_SPEC=INFO
FABRIC_LOGGING_SPEC=DEBUG
emacs
VI
,按
:set paste
输入插入模式,粘贴内容,按Escape,然后在保存之前输入
i
。