A blockchain project, Hyperledger Composer helps users interact with Hyperledger fabric. It includes UI, CLI, and NPM(SDK) package. Being a testing & development tool, Composer Playground lets users create blockchain smart contracts and deploy the same in local memory for testing purposes. However, for production purposes, the usage of composer-CLI is suggested.
Composer playground keeps all data in the ".composer" folder. For picking up the BNA, Composer Playground needs to be connected to Hyperledger Fabric.
In my personal opinion,
First run ./stopFabric.sh and then run ./startFabric.sh.
This will prohibit all the Docker containers. However, if you have installed your own BNA, simply ping or notify the network about the same.
Once data is imported to the composer rest server then, your issue will be resolved. And the best part is you do not need to import it again while the service is running.
Note: You can create a stateful composer rest server by adding mongo in it.
There is a lot more to learn than this. Enroll now in Blockchain Online Course to learn more.