bcgov / aries-vcr

Hyperledger Aries Verifiable Credential Registry (VCR) is a set of application level software components designed to accelerate the adoption of trustworthy entity to entity communications.
Apache License 2.0
78 stars 70 forks source link

Aries-Vcr is difficult to install and the startup scripts can be unstable #744

Open ianco opened 1 year ago

ianco commented 1 year ago

See this thread on Discord: https://discord.com/channels/905194001349627914/1078522185834053632

There are four different repositories involved in an Aries-Vcr install - https://github.com/bcgov/von-network, https://github.com/bcgov/aries-vcr, https://github.com/bcgov/aries-vcr-client and https://github.com/bcgov/aries-vcr-issuer-controller - and the installation is fairly complicated.

The instructions in the various repositories haven't been updated in awhile (some changes have been made recently specifically for some errors that were found).

The startup for some of the docker containers - especially the issuer - is very dependant on timing between the containers, and is not reliable on slower machines.

kthomas-digicat commented 1 year ago

When I issue ./manage build under aries-vcr/docker, I get the following error Building solr image ... error: Unable to load docker config: json: cannot unmarshal string into Go value of type docker.dockerConfig FATAL: Error response from daemon:

Any help would be appreciated. I am using macOS Ventura 13.3.1, Docker version 20.10.23

WadeBarnes commented 1 year ago

Check your version of s2i. If you are using the latest it could be causing that issue. v1.3.1 is known to work.

WadeBarnes commented 1 year ago

@amanji, Which version was it that you had issues with yesterday? Have you have a chance to test any of the versions above v1.3.1?

amanji commented 1 year ago

I had issues with s2i v1.3.6. I have not yet tested with the versions between v1.3.1 (which worked for me) and v1.3.6.

kthomas-digicat commented 1 year ago

Check your version of s2i. If you are using the latest it could be causing that issue. v1.3.1 is known to work.

Thanks a lot @WadeBarnes , it works with version 1.3.1 of s2i. Really appreciate your timely help

amanji commented 1 year ago

I tested s2i versions backward from latest and it looks like the last working version is v1.3.4.

So it looks like something changed in v1.3.5 onwards since versions past this fail early with the following error:

FATAL: Error response from daemon: 

All was tested on Ubuntu 22.04.1 LTS