My node keep restarting

Hello Guys and happy new year to everyone.

I’m trying to run a node on storj with a mac mini and a western digital 10TB hard drive

For now i succeed to set up everything except my node keep restarting
The watchtower seems to work fine

I saw that it could be either a bad setup either an energy problem from my hdd. so i ordered a new energy supply for my hdd

1 Like

what logs show?
docker logs -f --tail 100 storagenode

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a9c192b56b2a storjlabs/storagenode:beta “/entrypoint” 6 seconds ago Up Less than a second 0.0.0.0:14002->14002/tcp, 0.0.0.0:28967->28967/tcp storagenode
d0cd0cf8f3ba storjlabs/watchtower “/watchtower storage…” 5 days ago Up 5 days watchtower
mac-mini-de-hephaistos:storj hephaistos$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a9c192b56b2a storjlabs/storagenode:beta “/entrypoint” 13 seconds ago Restarting (1) 3 seconds ago storagenode
d0cd0cf8f3ba storjlabs/watchtower “/watchtower storage…” 5 days ago Up 5 days watchtower
mac-mini-de-hephaistos:storj hephaistos$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a9c192b56b2a storjlabs/storagenode:beta “/entrypoint” 21 seconds ago Restarting (1) 6 seconds ago storagenode
d0cd0cf8f3ba storjlabs/watchtower “/watchtower storage…” 5 days ago Up 5 days watchtower
mac-mini-de-hephaistos:storj hephaistos$ docker logs -f --tail 100 storagenode
2020-01-05T19:41:18.995Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:18.996Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:20.749Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:20.750Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:22.422Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:22.423Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:24.035Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:24.036Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:25.779Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:25.780Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:28.364Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:28.365Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:32.514Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:32.517Z FATAL file or directory not found error: open identity/identity.cert: not a directory
2020-01-05T19:41:39.920Z INFO Configuration loaded from: /app/config/config.yaml
2020-01-05T19:41:39.921Z FATAL file or directory not found error: open identity/identity.cert: not a directory

i think we have a winner :slight_smile:

where is your indentity?

I think the problem is that they specified the identity cert file itself rather than the directory the file is in, which is what should be specified for <identity-dir> in the mounting parameter --mount type=bind,source="<identity-dir>",destination=/app/identity \

2 Likes

so maybe i typed it the wrong way

--mount type=bind,source="/Users/hephaistos/Library/Application Support/Storj/Identity/storagenode/identity.key",destination=/app/identity \
--mount type=bind,source="/Volumes/Storj/Storjnode",destination=/app/config \
--name storagenode storjlabs/storagenode:beta
1 Like

identity.key this should delete from config

1 Like

it works thanks a lot !!!

Last question, is it normal that my node is still on offline mode

I’m checking the port checker

did you mensiond your external ip in config? port forwarding?

yes it’s running since only 10 minutes so maybe it is in status offline for that, it detects satellite by the way

So yes my guess would be that i did not set up correctly the port forwarding

My port is working fine

During your first start did your node was first offline and then went online ???

it gone onlile instant

you can chek is your port is opened
https://www.yougetsignal.com/tools/open-ports/

arf so i have another problem :frowning:

I’ve checked on the port with open port checker and it is ok

try restart your node

while typing docker logs -f --tail 100 storagenode

i still receive a fatal

2020-01-05T20:41:09.830Z INFO Configuration loaded from: /app/config/config.yaml

2020-01-05T20:41:09.832Z FATAL file or directory not found error: open identity/identity.cert: no such file or directory

mac-mini-de-hephaistos:storj hephaistos$ docker logs -f --tail 100 storagenode

2020-01-05T20:39:24.546Z INFO Configuration loaded from: /app/config/config.yaml

2020-01-05T20:39:24.573Z INFO Operator email: princayfilter@gmail.com

2020-01-05T20:39:24.573Z INFO operator wallet: 0x88A0B3FF7C2102aD4ec4496d24777693d78E86f9

2020-01-05T20:39:25.066Z INFO version running on version v0.28.2

2020-01-05T20:39:25.250Z INFO db.migration Database Version {“version”: 28}

2020-01-05T20:39:25.769Z INFO pieces:trashchore Storagenode TrashChore starting up

2020-01-05T20:39:25.770Z INFO bandwidth Performing bandwidth usage rollups

2020-01-05T20:39:25.771Z INFO trust Scheduling next refresh {“after”: “7h28m28.736459843s”}

2020-01-05T20:39:25.771Z INFO Node 1Dq9kSWL9UqG9V9MRVHJvt9MsyBZsVkqxYLDVMUNjvzySykQMn started

2020-01-05T20:39:25.771Z INFO Public server started on [::]:28967

2020-01-05T20:39:25.771Z INFO Private server started on 127.0.0.1:7778

2020-01-05T20:39:25.772Z INFO contact:chore Storagenode contact chore starting up

2020-01-05T20:39:25.808Z INFO piecestore:monitor Remaining Bandwidth {“bytes”: 200000000000000}

2020-01-05T20:39:25.878Z INFO version running on version v0.28.2

2020-01-05T20:39:48.947Z INFO Got a signal from the OS: “terminated”

in cant fing your indentity, what is your start parameters?

docker run -d --restart unless-stopped -p 28967:28967
-p 14002:14002
-e WALLET=“0x88A0B3FF7C2102aD4ec4496d24777693d78E86f9”
-e EMAIL="princayfilter@gmail.com"
-e ADDRESS=“192.168.1.23:28967”
-e BANDWIDTH=“200TB”
-e STORAGE=“10TB”
–mount type=bind,source="/Users/hephaistos/Library/Application Support/Storj/Identity/storagenode/",destination=/app/identity
–mount type=bind,source="/Volumes/Storj/Storjnode",destination=/app/config
–name storagenode storjlabs/storagenode:beta