I'm new to hyperledger composer and linux environment, will hyperledger composer run on ubuntu 20.04LTS?The prerequisite says it should be ubuntu 16.04 but I've seen it working on ubuntu 18.04 .
From 29th August 2019, the Hyperledger Composer project is in deprecated. None of the maintainers are actively developing new features. You should avoid the use of hyperledger composer.
Related
I have a server in my lab running centOS operating system, and i am connecting to the server using ubuntu installed on my windows laptop. I want to install hyperledger fabric on this lab server (centOS). but I am new to centOS as well ubuntu. have no idea, where to start and how. I need help to install hyperledger fabric platform on this centOS server.
have surf the Internet but not found any good information about centOS commands and support.
I need all steps to install hyperledger platform on centOS server.
I'm trying to install Hyperledger Fabric SDK for Go Language.. How do I fix this problem?
After I tried the "make" command, this error shows up.
Go Version- 1.11.4
docker Version- 18.09
docker-compose Version- 1.13
I'm following instructions mentioned in this Tutorial :-Hyperledger Fabric SDK GO Tutorial
and this error shows up after I install "libltdl-dev" as mentioned in the Tutorial.
Do
make depend
This will install all the dependencies . And also check for the check_lint.sh file.
Okay, so here's what I figured out the problem was - Hyperledger Fabric can only be used in Ubuntu 14.04 LTS or 16.04 LTS. This is why it wasn't working on my PC which had 18.4 LTS. Just wondering when Hyperledger Support will be extended to 19.x since that is out already!
I am trying to add a new peer to a SOLO hyperledger setup. I used hyperledger composer. I updated the crypto-config.yaml file to make the count for peers to 2 and also other changes. But when I try to run this command under hlfv1/composer cryptogen generate --config=./crypto-config.yaml, I get this error Cryptogen command not found. How to I fix that? I used the fabric-dev-servers scripts from the link https://hyperledger.github.io/composer/latest/installing/development-tools.html to setup my development environment.
Please help.
You will need to install Hyperledger Fabric native binaries. The Composer playground does not use these for their sample.
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.2.0 1.2.0 0.4.10 -s -d
This will download the binaries for Hyperledger Fabric 1.2 and place them in a directory named bin in your current working directory. It will also create a config directory with the default config files for the Hyperledger Fabric sample applications. To download version 1.1 binaries.
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.1.1 1.1.0 0.4.7 -s -d
I'm trying to upgrade to 1.2. I follow the documentation "Upgrade your components network" using byfn. (https://hyperledger-fabric.readthedocs.io/en/release-1.2/upgrading_your_network_tutorial.html#launch-a-v1-1-network)
When I run : ./byfn.sh up -t 3000 -i 1.1.0
I got this error :
LOCAL_VERSION=1.1.0-alpha
DOCKER_IMAGE_VERSION=1.1.0
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
ERROR! Local Fabric binary version of 1.1.0-alpha does not match this newer version of BYFN and is unsupported. Either move to a later version of Fabric or checkout an earlier version of fabric-samples.
The documentation says that I have to clean up images and run the example again. So I did, I removed all images with docker rmi -f $(docker images -a -q) and I run the example again.
Images have been downloaded again and I still got this error about the 1.1.0-alpha version.
Obvisously, I am missing something...
Does someone have any clue ?
The issue is that you have the alpha version of the binaries used by the sample.
I'd suggest deleting the "fabric-samples/bin" directory and then downloading v1.1.0 again:
cd fabric-samples
rm -Rf bin
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.1.0
Fabric Docker image version of 1.1.0-alpha does not match this newer version of BYFN and is unsupport. Either move to a later version of Fabric or checkout an earlier version of fabric-samples.
Local fabric binaries and docker images are
out of sync. This may cause problems.
enter image description here
is their any terminal commands in Ubuntu 16.04 LTS to solve this problem?
Upgrade your local environment by running
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 1.1.0
Go to the fabric-samples folder, check the git branch by:
git branch
Just try to change to another branch and try, for example, using Fabric 1.0 :