admin管理员组

文章数量:1122846

I am using Hyperledger Fabric v3.0.0. I want to monitor my network using Hyperledger Explorer. The network is up. When I start Explorer, the screen is as shown below.

I checked the logs of the explorer container with docker logs xxxexplorercontainerid the output is as follows:

[2024-11-21T12:02:03.592] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>

[2024-11-21T12:02:03.592] [ERROR] Sync - Error: error in simulation: failed to execute transaction d00a5575f86467db94ce1ba5e0dec11f0e837fd23b41c0ccc526128ee7c0a93e: could not launch chaincode lscc.syscc: error building chaincode: error building image: failed to get chaincode package for external build: could not get legacy chaincode package 'lscc.syscc': open /var/hyperledger/production/chaincodes/lscc.syscc: no such file or directory

It looks like Explorer can not reach the info of blocks, transactions, and chaincode. Any idea?

I am using Hyperledger Fabric v3.0.0. I want to monitor my network using Hyperledger Explorer. The network is up. When I start Explorer, the screen is as shown below.

I checked the logs of the explorer container with docker logs xxxexplorercontainerid the output is as follows:

[2024-11-21T12:02:03.592] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>

[2024-11-21T12:02:03.592] [ERROR] Sync - Error: error in simulation: failed to execute transaction d00a5575f86467db94ce1ba5e0dec11f0e837fd23b41c0ccc526128ee7c0a93e: could not launch chaincode lscc.syscc: error building chaincode: error building image: failed to get chaincode package for external build: could not get legacy chaincode package 'lscc.syscc': open /var/hyperledger/production/chaincodes/lscc.syscc: no such file or directory

It looks like Explorer can not reach the info of blocks, transactions, and chaincode. Any idea?

Share Improve this question asked Nov 22, 2024 at 13:00 umitkilicumitkilic 3591 gold badge5 silver badges19 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

It looks like Explorer is trying to use the legacy (Fabric v1) chaincode lifecycle implementation (lscc); likely to list deployed chaincode. A new chaincode lifecycle was introduced with Fabric v2, and the legacy (Fabric v1) lifecycle was removed in Fabric v3. I guess that Explorer needs to be updated to use the newer (Fabric v2) chaincode lifecycle in order to be compatible with Fabric v3.

本文标签: dockerSynchronizer Errorlsccsyscc no such file or directory on Hyperledger ExplorerStack Overflow