我正在使用Ubuntu 14.04的虚拟机上的本教程http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html,并运行脚本 ./byfn.sh -m up
以调出网络。当我运行该安装chaincode:在HyperLedger结构上安装链码时出错
peer chaincode install -n mycc -v 1.0 -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02
我得到以下错误:
Error: Error endorsing chaincode: rpc error: code = Unknown desc = chaincode error (status: 500, message: Error installing chaincode code mycc:1.0(chaincode /var/hyperledger/production/chaincodes/mycc.1.0 exists))
我该如何解决这个问题?
注:我也跑docker exec -it cli bash
您能否请添加对等容器的日志? –
你的意思是这样的:http://prntscr.com/gtzd3a ?? –
您是否已经安装链码?错误消息似乎表明如此...... –