I am running hyperledger fabric 2.2.0 test-network.It was working fine for 2 3 days,but now when i am trying to install chaincode(any),getting failed after packaging.Below is the error i am getting-
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "failed to initialize build cache at /home/chaincode/.cache/go-build: mkdir /home/chaincode/.cache: permission denied
I have not made any changes, was working fine untill yesterday. if it need to make directory "/home/chaincode/.cache" then how it was working for last 3 days,since it does not have the needed permission.
I made a diretory 'chaincode' inside home with proper access manually and changed its permission to 777 but still same error.
Appreciate all the help. Thank you