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

symbol-bootstrap not start for demo #387

Open
vlad-bondarenko opened this issue Jun 3, 2022 · 1 comment
Open

symbol-bootstrap not start for demo #387

vlad-bondarenko opened this issue Jun 3, 2022 · 1 comment

Comments

@vlad-bondarenko
Copy link

Describe the bug
Execute command symbol-bootstrap start -p bootstrap -a demo from https://github.com/fboucquez/symbol-bootstrap#user-content-command-topics.

To Reproduce
To reproduce the behavior:

  1. Open terminal and execute command symbol-bootstrap start -p bootstrap -a demo

Expected behavior
Create and executed docker containers for symbol.

Logs
symbol-bootstrap start -p bootstrap -a demo

2022-06-03T12:32:13.674Z info Password has been provided
2022-06-03T12:32:13.733Z info Generating config from preset 'bootstrap'
2022-06-03T12:32:13.733Z info Using assembly 'demo'
2022-06-03T12:32:13.829Z info Generating Main account...
2022-06-03T12:32:13.844Z info Generating Transport account...
2022-06-03T12:32:13.864Z info Generating Remote account...
2022-06-03T12:32:13.871Z info Generating VRF account...
2022-06-03T12:32:13.972Z info User for docker resolved: 1000:1001
2022-06-03T12:32:13.973Z info Running image using Exec: symbolplatform/symbol-server:gcc-10-1.0.3.3 bash createNodeCertificates.sh
2022-06-03T12:32:17.708Z info Certificate for node node created.
2022-06-03T12:32:17.757Z info Generating node server configuration
2022-06-03T12:32:17.901Z warn The peer lists could not be resolved. peers-p2p.json and peers-api.json are empty!
2022-06-03T12:32:17.902Z info Generating broker broker configuration
2022-06-03T12:32:17.970Z info Creating Voting key file of 720 epochs for node node. This could take a while!
2022-06-03T12:32:17.970Z info Voting file is created using docker and catapult.tools.votingkey
2022-06-03T12:32:17.976Z info Running image using Exec: symbolplatform/symbol-server:gcc-10-1.0.3.3 /usr/catapult/bin/catapult.tools.votingkey --secret=HIDDEN_KEY --startEpoch=1 --endEpoch=720 --output=/votingKeys/private_key_tree1.dat
2022-06-03T12:32:21.757Z error Unknown error generating the configuration. Command failed: docker run --rm -u 1000:1001 --env LD_LIBRARY_PATH=/usr/catapult/lib:/usr/catapult/deps -v /home/vlad/symbol/target/nodes/node/votingkeys:/votingKeys:rw symbolplatform/symbol-server:gcc-10-1.0.3.3 "/usr/catapult/bin/catapult.tools.votingkey" "--secret=C85AE88208982F5C703850B23B5BD3C7029B4E63E3505AB87579959390CBF973" "--startEpoch=1" "--endEpoch=720" "--output=/votingKeys/private_key_tree1.dat"
Command failed: docker run --rm -u 1000:1001 --env LD_LIBRARY_PATH=/usr/catapult/lib:/usr/catapult/deps -v /home/vlad/symbol/target/nodes/node/votingkeys:/votingKeys:rw symbolplatform/symbol-server:gcc-10-1.0.3.3 "/usr/catapult/bin/catapult.tools.votingkey" "--secret=C85AE88208982F5C703850B23B5BD3C7029B4E63E3505AB87579959390CBF973" "--startEpoch=1" "--endEpoch=720" "--output=/votingKeys/private_key_tree1.dat"

2022-06-03T12:32:21.758Z error The target folder 'target' should be deleted!!!
Error: Command failed: docker run --rm -u 1000:1001 --env LD_LIBRARY_PATH=/usr/catapult/lib:/usr/catapult/deps -v
/home/vlad/symbol/target/nodes/node/votingkeys:/votingKeys:rw symbolplatform/symbol-server:gcc-10-1.0.3.3 "/usr/catapult/bin/catapult.tools.votingkey"
"--secret=C85AE88208982F5C703850B23B5BD3C7029B4E63E3505AB87579959390CBF973" "--startEpoch=1" "--endEpoch=720" "--output=/votingKeys/private_key_tree1.dat"

Code: 132

Desktop (please complete the following information):

  • OS: Debian 11, Linux - 5.10.0-14-amd64
  • symbol-bootstrap 1.1.6
  • Docker 20.10.16
  • Docker Compose 2.5.0
  • Node 12.22.5
@fboucquez
Copy link
Owner

fboucquez commented Jun 9, 2022

Hi Vlad, sorry for the late response. I couldn't reproduce the error. Are you able to run docker run hello-world.

What about this command?

docker run --rm -u 1000:1001 --env LD_LIBRARY_PATH=/usr/catapult/lib:/usr/catapult/deps -v /home/vlad/symbol/target/nodes/node/votingkeys:/votingKeys:rw symbolplatform/symbol-server:gcc-10-1.0.3.3 "/usr/catapult/bin/catapult.tools.votingkey" "--secret=C85AE88208982F5C703850B23B5BD3C7029B4E63E3505AB87579959390CBF973" "--startEpoch=1" "--endEpoch=720" "--output=/votingKeys/private_key_tree1.dat"

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