Error - "scripts/createChannel.sh: line 40: osnadmin: command not found" while bringing up Test Network. #network #testnetwork


Sumitvedpathak@...
 

Hi Guys,
I am facing some issues suddenly while bringing up the test network. At the time of bringing up the network with below command 
./network.sh up createChannel -ca -s couchdb
fabric is complaining about osnadmin
scripts/createChannel.sh: line 40: osnadmin: command not found
Channel creation failed
I remember, last time i had the same issue, and i was able to resolve this by clearing/removing/deleting all containers and its volumes. But this time its not working.

Any idea or thoughts on this?

Thanks,
Sumit
 


Sumitvedpathak@...
 

Just to add, I am using Fabric 2.2.2 version.


Chris Gabriel <alaskadd@...>
 

Hi Sumitvedpathak,
This error occurs when your images are not 2.3 or later. Download 2.3 or latest and it should work. OSN Admin is not supported on earlier versions.  Also make sure you are on the 2.3 branch of fabric samples test network.  Hope this helps, Chris


On Oct 12, 2021, at 9:43 AM, Sumitvedpathak@... wrote:

Just to add, I am using Fabric 2.2.2 version.