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
• 26,740 points
1,213 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
• 69,210 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 27, 2018 in Blockchain by Perry
• 17,100 points
328 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
• 26,740 points
2,061 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
• 69,210 points
392 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
626 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
• 69,210 points
364 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP