Installation instructions needed

The instructions work for the first node but do not work for subsequent nodes. Not everybody is a computer scientist. Please provide instructions that a typical user can follow to install nodes:
Case 1: Same external IP with multiple nodes on the same computer, and
Case 2: Same external IP with nodes on different computers.

Whoever marked this a solution is wrong. NOT solved. Documentation is inadequate regardless of STORJ press releases.

Append it yourself, to make it as you see good enouth.

Then please tell us, what is not working.

Edit: Ok, let me guess your setup. You have two PC’s with one node each.

PC1: … -p 28967:28967 … -e ADDRESS=“47.25.74.230:28967"
PC2: … -p 28967:28967 … -e ADDRESS=“47.25.74.230:28968"

Now you setup port forwarding in your router:
port 28967 -> pc1:28967
port 28968 -> pc2:28967

Edit2: The following would also work

PC1: … -p 28967:28967 … -e ADDRESS=“47.25.74.230:28967"
PC2: … -p 28968:28967 … -e ADDRESS=“47.25.74.230:28968"

Now you setup port forwarding in your router:
port 28967 -> pc1:28967
port 28968 -> pc2:28968

1 Like

I’ve already tried both of these and my second node on a second computer remains OFFLINE with both ports open:
sudo docker run -d --restart unless-stopped -p 28968:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x20f53ce559324B7859b34b5EeD66df3a9886E2E2”
-e EMAIL="thaistar@gmail.com"
-e ADDRESS=“47.25.74.230:28967”
-e BANDWIDTH=“25TB”
-e STORAGE=“1.5TB”
–mount type=bind,source="/home/thaistar/.local/share/storj/identity/storagenode",destination=/app/identity
–mount type=bind,source="/home/thaistar/.local/share/storj/storage",destination=/app/config
–name storagenode storjlabs/storagenode:beta

change

to
-e ADDRESS=“47.25.74.230:28968”

Tried, but what does this mean?
thaistar@Rig-02:~$ sudo docker restart -t 300 storagenode
Error response from daemon: Cannot restart container storagenode: driver failed programming external connectivity on endpoint storagenode (e2f0eb6a53745413eecf922b2251db9653fac29df9e993cacaf8f1c5d6066507): Bind for 0.0.0.0:28968 failed: port is already allocated

Your command doesn’t follow any of the 2 options.

not

to
sudo docker -t 300 stop storagenode
sudo docker rm storagenode
sudo docker run… (etc)

BTW, it’s : sudo docker stop -t 300 storagenode

these commands mean (sequentially):
“clean”/“correctly” stop storagenode container
next
remove storagenode container
next
run the storagenode container

Your syntax was wrong, i.e. not clean.

What syntax?
What command do you issue?

Try your command:
sudo docker -t 300 stop storagenode

And what response do you get from the system? What is your OS?

Linux Mint 19.3 and I’m waiting for something to happen. Dashboard won’t open and now port 28968 has closed.
thaistar@Rig-02:~$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
96b3ad114ce1 storjlabs/storagenode:beta “/entrypoint” 25 minutes ago Restarting (1) 55 seconds ago storagenode
2ff8f232f10e hello-world “/hello” 2 days ago Exited (0) 2 days ago quirky_mahavira
0943156b5929 storjlabs/watchtower “/watchtower storage…” 5 weeks ago Up 9 minutes

sudo docker -t 300 stop storagenode

gives you that answer?

This incorrect. Do you want to know what
sudo docker stop -t 300 storagenode
says?

thaistar@Rig-02:~$ sudo docker stop -t 300 storagenode
storagenode

I used:
sudo docker run -d --restart unless-stopped -p 28968:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x20f53ce559324B7859b34b5EeD66df3a9886E2E2”
-e EMAIL="thaistar@gmail.com"
-e ADDRESS=“47.25.74.230:28968”
-e BANDWIDTH=“25TB”
-e STORAGE=“1.5TB”
–mount type=bind,source="/home/thaistar/.local/share/storj/identity/storagenode",destination=/app/identity
–mount type=bind,source="/home/thaistar/.local/share/storj/storage",destination=/app/config
–name storagenode storjlabs/storagenode:beta

Now
sudo docker rm storagenode