Hello
I thought it would be easy, but it wasn’t.
The disk is full on my first node running under synology docker. I requested an auth token for my existing email address and generated an identity.
I created port forwarding on the router and first ran the new container with setup true as storagenode2 with the mount parameters.
docker run --rm -e SETUP="true" \
--mount type=bind,source="/volume2/shared2/storj2/identity",destination=/app/identity \
--mount type=bind,source="/volume2/shared2/storj2",destination=/app/config \
--name storagenode2 storjlabs/storagenode:latest
I create the new container, but it doesn’t seem to care about my port settings:
1. Node
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967/tcp -p 28967:28967/udp -p 14002:14002
-e WALLET="xyz"
-e EMAIL="xyz@gmail.com" -e ADDRESS="xyz.no-ip.org:28967"
-e STORAGE="14.2TB" --net=host
--mount type=bind,source="/volume3/shared/storj/identity",destination=/app/identity
--mount type=bind,source="/volume3/shared/storj",destination=/app/config
--name storagenode storjlabs/storagenode:latest
New 2. Node
docker run -d --restart unless-stopped --stop-timeout 300
-p 28968:28967/tcp -p 28968:28967/udp -p 14004:14002
-e WALLET="xyz"
-e EMAIL="xyz@gmail.com" -e ADDRESS="xyz.no-ip.org:28968"
-e STORAGE="4TB" --net=host
--mount type=bind,source="/volume2/shared2/storj2/identity",destination=/app/identity
--mount type=bind,source="/volume2/shared2/storj2",destination=/app/config
--name storagenode2 storjlabs/storagenode:latest
2024-01-07T17:19:54Z INFO Configuration loaded {"process": "storagenode", "Location": "/app/config/config.yaml"}
2024-01-07T17:19:54Z INFO Anonymized tracing enabled {"process": "storagenode"}
2024-01-07T17:19:54Z INFO Operator email {"process": "storagenode", "Address": "@gmail.com"}
2024-01-07T17:19:54Z INFO Operator wallet {"process": "storagenode", "Address": "xyz"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "info"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "bandwidth"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "orders"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "piece_expiration"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "pieceinfo"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "piece_spaced_used"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "reputation"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "storage_usage"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "used_serial"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "satellites"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "notifications"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "heldamount"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "pricing"}
2024-01-07T17:19:54Z INFO db database does not exist {"process": "storagenode", "database": "secret"}
2024-01-07T17:19:54Z INFO server kernel support for server-side tcp fast open remains disabled. {"process": "storagenode"}
2024-01-07T17:19:54Z INFO server enable with: sysctl -w net.ipv4.tcp_fastopen=3 {"process": "storagenode"}
2024-01-07T17:19:54Z FATAL Unrecoverable error {"process": "storagenode", "error": "listen tcp 0.0.0.0:14002: bind: address already in use"}
What can I do wrong?
First, I accidentally generated the identity with the name storagenode (I hope it doesn’t destroy my old node), then I created a new one with the name storagenode2, but the error remains the same.