Errata

Hands-On Smart Contract Development with Hyperledger Fabric V2

Errata for Hands-On Smart Contract Development with Hyperledger Fabric V2

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Other Digital Version 1
Start the PLN Network, #5

Dear Authors,

I have enjoyed your book thus far. I am at the point of starting the PLN network, https://learning.oreilly.com/library/view/hands-on-smart-contract/9781492086116/ch07.html#install_binaries_and_docker_images.

The configuration file cannot be found with docker-compose executed nor using your command of "IMAGE_TAG=$IMAGETAG docker-compose ${COMPOSE_FILES} up -d 2>&1"

Am I missing something or has some step been omitted from the text to make this startup work?

Thank you,

Frank


root@rogocolo-Precision-7510:/media/rogocolo/HDD-2/BlockChain/pharma-project/ch7-hyperledger-fabric-supply-chain-dapp/HF Dev Final Lab- Updated on August 21 2020/pharma-ledger-network/docker# docker-compose up -d
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?

Supported filenames: docker-compose.yml, docker-compose.yaml

root@rogocolo-Precision-7510:/media/rogocolo/HDD-2/BlockChain/pharma-project/ch7-hyperledger-fabric-supply-chain-dapp/HF Dev Final Lab- Updated on August 21 2020/pharma-ledger-network/docker# docker-compose -f docker-compose-pln-net.yaml up

WARNING: The IMAGE_TAG variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_PROJECT_NAME variable is not set. Defaulting to a blank string.
ERROR: no such image: hyperledger/fabric-orderer:: invalid reference format

root@rogocolo-Precision-7510:/media/rogocolo/HDD-2/BlockChain/pharma-project/ch7-hyperledger-fabric-supply-chain-dapp/HF Dev Final Lab- Updated on August 21 2020/pharma-ledger-network/docker# ls
docker-compose-ca.yaml docker-compose-pln-net.yaml
root@rogocolo-Precision-7510:/media/rogocolo/HDD-2/BlockChain/pharma-project/ch7-hyperledger-fabric-supply-chain-dapp/HF Dev Final Lab- Updated on August 21 2020/pharma-ledger-network/docker#

echo $IMAGE_TAG << NOT SET

echo $COMPOSE_PROJECT_NAME << NOT SET


Thank you,

Frank


Frank  Jan 06, 2022 
PDF Page 67
everywhere

The book bases its works, at that point, on a file that doesn't exist anymore (fabcar.js).
You see, if you write a book and you have external dependencies, as is the case here, wherein the official Fabric Samples are used, you have to provide your own copy that you host to ensure that things like this: they removed the file at some point in time, doesn't happen.

This is a systemic, architectural issue that affects likely MANY of your books and why I can't become a monthly subscriber. This kind of issues should have been flagged and fixed a long time ago by a good Product Manager. This is a serious problem, oversight, that should never be affecting world class publishers like O'Reilley.

I say this with hope, respect and blunt honesty: I hope you guys get your shit together.

Sincerely,

William (this is a pseudonym. In real life I too am an author).

ref:
September 2021: First Edition
Revision History for the First Edition
2021-09-08: First Release

Note from the Author or Editor:
Hi, William. The authors would like more detail about what chapter/link/code example you are having trouble with, so they can look into it. Please feel free to reach out to reprints@oreilly.com so we can help, and thank you for letting us know about this issue.

William Faulkner  Aug 14, 2022 
Printed Page 230
channel create

when i try to run ./net-pln.sh createChannel then i face this error:


Error: failed to create deliver client for orderer: failed to load config for OrdererClient: unable to load orderer.tls.rootcert.file: open /home/babar/Desktop/Edit/ch7-hyperledger-fabric-supply-chain-dapp/HF: no such file or directory

Babar Hanif  Feb 02, 2022