I am trying to run the BYFN first network sample for Hyperledger Fabric v1.4. I am able to start the network by giving command "sh byfn.sh -m up" (after setting up binaries and pre-requisites of course). The test runs well and the chaincode is started on peers and an output is produced as well.
But when I try to start the same network with the command "sh byfn.sh -s couchdb", the network starts, but there is an error when the peer joins the channel. I have asked about this issue in a separate post here, where you can find the logs - rpc error - Proposal failed when peer joins channel in Fabric
There seems to be problem with couchDB version as the logs say,
> Error during CouchDB
> > CreateDatabaseIfNotExist() for dbName: mychannel_ error: json:
> > cannot unmarshal string into Go struct field DBInfo.purge_seq of type
> > int panic: Error during commit to txmgr:json: cannot unmarshal string
> > into Go struct field DBInfo.purge_seq of type int
Now I guess the couchDb version for fabric v1.4 is v2.3 , how do I use a different version or a different image of couchdb so that I can check for the same? I have been through this issue for a while and not able to find a solution.