hyperledger explorer walletstore path

492 Views Asked by At

When I start to run hyperledger explorer I get this below error. After a search I found that I need to give a path to walletstore path. But I couldn't find where the walletstore path.

docker-compose.yaml file 
    volumes:
      - ./config.json:/opt/explorer/app/platform/fabric/config.json
      - ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile
      - ./organizations:/tmp/crypto
      - walletstore:/opt/explorer/wallet
[2022-05-23T12:31:18.513] [ERROR] FabricGateway - Failed to create wallet, please check the configuration, and valid file paths: {
explorer.mynetwork.com      |   "errno": -2,
explorer.mynetwork.com      |   "syscall": "open",
explorer.mynetwork.com      |   "code": "ENOENT",
explorer.mynetwork.com      |   "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/cert.pem"
1

There are 1 best solutions below

5
On

In this case, check the read and write permission of the folder path "/tmp/crypto/peerOrganizations/org1.example.com/"