title: How to upgrade a chaincode after modification?
body: <p>I am new to hyperledger and is going through the example <a href="https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material/tuna-app" rel="nofollow noreferrer">here</a> . I am tried to play around the chaincode but is now stuck at the part where I am suppose to upgrade the chaincode</p>
  
  <p>I have tried to execute the peer chaincode upgrade within the docker peer node:</p>
  
  <pre><code>peer chaincode upgrade -n tuna-app -p github.com/tuna-app
  </code></pre>
  
  <p>but end up with the error</p>
  
  <pre><code> Error getting (testchainid) orderer endpoint: Error endorsing GetConfigBlock: rpc error: code = Unknown desc = chaincode error (status: 500, message: "GetConfigBlock" request failed authorization check for channel [testchainid]: [Failed to get policy manager for channel [testchainid]])
  </code></pre>