Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when starting the did:orb service -- orb-cli.zip not found, hence orb-cli not found #618

Open
swcurran opened this issue Dec 9, 2022 · 4 comments

Comments

@swcurran
Copy link
Contributor

swcurran commented Dec 9, 2022

When I start the did:orb service, I get the following errors:

./manage service start orb
Using: docker --log-level error compose
Warning: No resource found to remove for project "aath".
Generating orb Test PKI
Signature ok
subject=/C=CA/ST=ON/O=Example Inc.:orb/OU=orb/CN=localhost
Getting CA Private Key
read EC key
writing EC key
.
.
.
read EC key
writing EC key
done generating orb PKI
Archive:  orb-cli.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of orb-cli.zip or
        orb-cli.zip.zip, and cannot find orb-cli.zip.ZIP, period.
tar (child): orb-cli-linux-amd64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat 'orb-cli-linux-amd64': No such file or directory
chmod: cannot access 'orb-cli': No such file or directory
[+] Running 3/3
 ⠿ Container orb.driver       Started                                                                                                2.1s
 ⠿ Container orb.domain1.com  Started                                                                                                3.2s
 ⠿ Container orb.domain2.com  Started                                                                                                1.1s
/etc/orb-cli/cli-scripts/create_did.sh: line 5: .build/orb-cli: No such file or directory
/etc/orb-cli/cli-scripts/create_did.sh: line 16: .build/orb-cli: No such file or directory
/etc/orb-cli/cli-scripts/create_did.sh: line 16: .build/orb-cli: No such file or directory
/etc/orb-cli/cli-scripts/create_did.sh: line 16: .build/orb-cli: No such file or directory
/etc/orb-cli/cli-scripts/create_did.sh: line 16: .build/orb-cli: No such file or directory
@swcurran
Copy link
Contributor Author

swcurran commented Dec 9, 2022

@Moopli -- could you please take a look? Thanks!

@swcurran
Copy link
Contributor Author

I ran a local test where I changed the source of the CLI gzip file from nightly.link to the most recent release (this file). To do that, I uncommented the curl command in the orb service wrapper.sh and commented out the nightly.link wget and gzip file processing.

That got the cli to work, but the cli then generated another error about unmarshal array.

~/repos/aries-agent-test-harness [main !] 13:46 $ ./manage service start orb
Using: docker --log-level error compose
Warning: No resource found to remove for project "aath".
Generating orb Test PKI
Signature ok
subject=/C=CA/ST=ON/O=Example Inc.:orb/OU=orb/CN=localhost
Getting CA Private Key
read EC key
writing EC key
.
.
.
writing EC key
done generating orb PKI
[+] Running 3/3
 ⠿ Container orb.domain1.com  Started                                                                                                2.2s
 ⠿ Container orb.domain2.com  Started                                                                                                1.2s
 ⠿ Container orb.driver       Started                                                                                                3.2s
success Follow id: "https://orb.domain2.com/services/orb/activities/ed91006a-3426-4267-a334-a2d2a138cf39"
Error: failed to get services from file json: cannot unmarshal array into Go struct field Service.serviceEndpoint of type string
Error: failed to get services from file json: cannot unmarshal array into Go struct field Service.serviceEndpoint of type string
Error: failed to get services from file json: cannot unmarshal array into Go struct field Service.serviceEndpoint of type string
Error: failed to get services from file json: cannot unmarshal array into Go struct field Service.serviceEndpoint of type string

@swcurran
Copy link
Contributor Author

Anyone from the AF-Go/Gen Digital team able to help? @troyronda @esplinr @brentzundel @talltree

@talltree
Copy link

talltree commented Dec 22, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants