BlockchainInstituteChi / developer-bootcamp

Other
4 stars 0 forks source link

latest release and workshop #32

Open Em-Thee opened 3 years ago

Em-Thee commented 3 years ago

I used the latest release. Took me some time to figure it out.
So https://hyperledger-fabric.readthedocs.io/en/release-1.4/write_first_app.html does not work in WS 4 with the latest release, using
https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html
and https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html (changed the version to latest) finished it swiftly, np Should requiere some editing

Em-Thee commented 3 years ago

After restarting, got these errors

Unable to find image 'hyperledger/fabric-tools:latest' locally docker: Error response from daemon: manifest for hyperledger/fabric-tools:latest not found: manifest unknown: manifest unknown.

Local fabric binaries and docker images are out of sync. This may cause problems.

ERROR: manifest for hyperledger/fabric-peer:latest not found: manifest unknown: manifest unknown ERROR: manifest for hyperledger/fabric-orderer:latest not found: manifest unknown: manifest unknown

*** FIX Found the following solution

https://lists.hyperledger.org/g/fabric/topic/mismatch_versions_between/72918829?p= "Can you clean up your docker images and retry, the output is saying the binary inside your "fabric-tools:latest" image is 1.4.6, presumably at some point (probably byfn) tagged another version as latest:

docker image rm -f $(docker image ls --filter=reference='hyperledger/*' -q)

curl -sSL https://bit.ly/2ysbOFE | bash -s -- -s -b

The above command will only pull the images, it won't clone the repo or pull the binaries"

not really a solution but it fixes!