iotaledger / one-click-tangle

"One Click Tangle" intends to make lives easier to IOTA adopters by providing pre-configured scripts and recipes that allow to deploy IOTA Networks and Nodes "in one click".
MIT License
55 stars 35 forks source link

Problem during the installation #75

Open AlessandroFilino opened 2 years ago

AlessandroFilino commented 2 years ago

Hi, I tried to install the private tangle on Macos and Linux but both of them hav some error. In Macos, after the command ./private-tangle.sh: error: can't decode MINT_ADDRESS: encoding/hex: invalid byte: U+0020 ' ' ERROR: 1

In linux: Creating spammer ... done Creating node1 ... error

ERROR: for node1 Cannot start service node: driver failed programming external connectivity on endpoint node1 (6ef7f24ad18c876793d7e37f7501514cff2f6be7d3e8a9868e576fffa4c99b5a): Error starting userland proxy: listen tcp4 0.0.0.0:15600: bind: address already in use

ERROR: for node Cannot start service node: driver failed programming external connectivity on endpoint node1 (6ef7f24ad18c876793d7e37f7501514cff2f6be7d3e8a9868e576fffa4c99b5a): Error starting userland proxy: listen tcp4 0.0.0.0:15600: bind: address already in use ERROR: Encountered errors while bringing up the project.

How can I resolve it ?

peterokwara commented 2 years ago

Would you know what hornet version it is running?

AlessandroFilino commented 2 years ago

The last one because I do the git clone now. I try these three command without any result: sudo service docker stop sudo rm /var/lib/docker/network/files/local-kv.db sudo service docker start

All the private tangle was created but every times it's tries to create Node1 response with : Error starting userland proxy: listen tcp4 0.0.0.0:15600: bind: address already in use

peterokwara commented 2 years ago

For sure, it has to do with something running on port 15600 since the private-tangle node1 uses that specifc port https://github.com/iotaledger/one-click-tangle/blob/9210fada7fb4cfcf5e846f9fd83cc7b7189d9398/hornet-private-net/docker-compose.yaml#L51

You can try and shut down the service running that port or try and change the port node1 should run in, within the docker-compose file. In the expose section and in the ports section

You can use htop or docker ps to check if any service is using port 15600

MWaleed-Khan commented 2 years ago

Hello, I encountered an error while deploying the Private Tangle in Docker. It can't generate the private hornet docker container.

The error is:
error: unable to create snapshot file: open /output_dir/full_snapshot.bin_tmp: permission denied

It also shows a warning as: WARN[0000] network tangle: network.external.name is deprecated in favor of network.name

Any assistance.

Many thanks