Error 1:
Run the environment on the Alibaba Cloud machine:
[signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7fecd68ca259
All related docker container yaml files need to be modified and added to the environment
image: hyperledger/fabric-peer
environment:
- GODEBUG=netdns=go
Reference https://segmentfault.com/q/1010000011451324
Error 2:
+ peer channel join -b mychannel.block
+ set +x
2018-03-29 06:40:30.155 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2018-03-29 06:40:30.155 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2018-03-29 06:40:30.164 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2018-03-29 06:40:30.165 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0AB3070A5B08011A0B08DE94F2D50510...C04B430567F11A080A000A000A000A00
2018-03-29 06:40:30.165 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: 5246D2EE79F50CB946097EFE94FEE2A36CCEADFC1D788F738E2B84A164AE1D11
Error: proposal failed (err: rpc error: code = Unknown desc = chaincode error (status: 500, message: Cannot create ledger from genesis block, due to LedgerID already exists))
Query the block whose block number is 0, which should already contain the new org information.