Hyperledger Composer: Error: Chaincode already installed - Composer-playground

0 votes

I get this error when i try to upload and deploy my .bna file:

Error: Chaincode already installed: my-business-network@0.0.2-deploy.2

How can I solve this?

Nov 12, 2018 in Blockchain by digger
• 27,640 points
202 views

The error is generated because there is a partial install of business network on the peers. exec into the peer dockers to view the installed chaincodes on a particular peer by:

docker exec -it <--peer container id--> /bin/bash

then change directory to:

cd /var/hyperledger/production/chaincodes

then list all items in directory and see whether the chaincode is installed on that peer.

Hi @Shekhar, thanks for your reply. But can you tell me how to solve the error?

1 answer to this question.

0 votes
You get this error because composer-playground saves all data in the browser. To solve this, clear browser history and cache. It should work.
answered Nov 12, 2018 by Omkar
• 67,380 points

Related Questions In Blockchain

0 votes
1 answer

How should I set my mac for Installing Hyperledger Composer Playground?

Use the following link to install the ...READ MORE

answered Jun 26, 2018 in Blockchain by Perry
• 17,020 points
28 views
0 votes
1 answer

How to solve EACCES:permission denied error in Hyperledger Composer?

It seems like there is no required ...READ MORE

answered Jul 11, 2018 in Blockchain by digger
• 27,640 points
359 views
0 votes
1 answer

Network issue while testing Chaincode.

You can do the following things: You can ...READ MORE

answered Jul 3, 2018 in Blockchain by Omkar
• 67,380 points
34 views
0 votes
1 answer

Hyperledger Composer rest server NPM versions

The Hyperledger Composer pre-requisites can be installed ...READ MORE

answered Jul 13, 2018 in Blockchain by Christine
• 15,790 points
92 views
0 votes
1 answer

Hyperledger Composer Incompatible versions error

The versions are same. Maybe its a ...READ MORE

answered Oct 24, 2018 in Blockchain by Omkar
• 67,380 points
25 views