Restart after first configuration

Hi, after configure my Raspberry 4 with tuto and Youtube, my node restart infinitely. I don’t understand the problem :thinking:

RASPBERRY 4 with Rasbian boot on external 2,5"

Imgur: The magic of the Internet - Imgur: The magic of the Internet - just after start

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0xfksslmfkgjsmdl2B5”
-e EMAIL=jeabonbeurre@hotmail.fr
-e ADDRESS=“adadel.ddns.net:28967
-e STORAGE=“940GB”
–mount type=bind,source=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity
–mount type=bind,source=/home/pi/.local/share/storj,destination=/app/config
–name storagenode storjlabs/storagenode:latest

Rapport:

docker logs --tail 50 storagenode
2021-03-27T17:25:15.730Z ERROR contact:service ping satellite failed {“Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”, “attempts”: 1, “error”: “ping satellite error: rpc: dial tcp: operation was canceled”, “errorVerbose”: “ping satellite error: rpc: dial tcp: operation was canceled\n\tstorj.io/common/rpc.TCPConnector.DialContextUnencrypted:106\n\tstorj.io/common/rpc.TCPConnector.DialContext:70\n\tstorj.io/common/rpc.Dialer.dialEncryptedConn:180\n\tstorj.io/common/rpc.Dialer.DialNodeURL.func1:101\n\tstorj.io/common/rpc/rpcpool.(*Pool).Get:87\n\tstorj.io/common/rpc.Dialer.dialPool:146\n\tstorj.io/common/rpc.Dialer.DialNodeURL:100\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:124\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:95\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.731Z INFO contact:service context cancelled {“Satellite ID”: “12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”}
2021-03-27T17:25:15.732Z INFO bandwidth Performing bandwidth usage rollups
2021-03-27T17:25:15.733Z ERROR gracefulexit:chore error retrieving satellites. {“error”: “satellitesdb error: context canceled”, “errorVerbose”: “satellitesdb error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*satellitesDB).ListGracefulExits:100\n\tstorj.io/storj/storagenode/gracefulexit.(*service).ListPendingExits:89\n\tstorj.io/storj/storagenode/gracefulexit.(*Chore).Run.func1:53\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/gracefulexit.(*Chore).Run:50\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:81\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:80\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.733Z ERROR contact:service ping satellite failed {“Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”, “attempts”: 1, “error”: “ping satellite error: rpc: dial tcp: operation was canceled”, “errorVerbose”: “ping satellite error: rpc: dial tcp: operation was canceled\n\tstorj.io/common/rpc.TCPConnector.DialContextUnencrypted:106\n\tstorj.io/common/rpc.TCPConnector.DialContext:70\n\tstorj.io/common/rpc.Dialer.dialEncryptedConn:180\n\tstorj.io/common/rpc.Dialer.DialNodeURL.func1:101\n\tstorj.io/common/rpc/rpcpool.(*Pool).Get:87\n\tstorj.io/common/rpc.Dialer.dialPool:146\n\tstorj.io/common/rpc.Dialer.DialNodeURL:100\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:124\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:95\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.733Z ERROR contact:service ping satellite failed {“Satellite ID”: “12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB”, “attempts”: 1, “error”: “ping satellite error: rpc: dial tcp: operation was canceled”, “errorVerbose”: “ping satellite error: rpc: dial tcp: operation was canceled\n\tstorj.io/common/rpc.TCPConnector.DialContextUnencrypted:106\n\tstorj.io/common/rpc.TCPConnector.DialContext:70\n\tstorj.io/common/rpc.Dialer.dialEncryptedConn:180\n\tstorj.io/common/rpc.Dialer.DialNodeURL.func1:101\n\tstorj.io/common/rpc/rpcpool.(*Pool).Get:87\n\tstorj.io/common/rpc.Dialer.dialPool:146\n\tstorj.io/common/rpc.Dialer.DialNodeURL:100\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:124\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:95\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.734Z INFO contact:service context cancelled {“Satellite ID”: “12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB”}
2021-03-27T17:25:15.734Z INFO contact:service context cancelled {“Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”}
2021-03-27T17:25:15.734Z ERROR bandwidth Could not rollup bandwidth usage {“error”: “bandwidthdb error: context canceled”, “errorVerbose”: “bandwidthdb error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*bandwidthDB).Rollup:301\n\tstorj.io/storj/storagenode/bandwidth.(*Service).Rollup:53\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/bandwidth.(*Service).Run:45\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:81\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:80\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.735Z ERROR gracefulexit:blobscleaner couldn’t receive satellite’s GE status {“error”: “context canceled”}
2021-03-27T17:25:15.735Z ERROR collector error during collecting pieces: {“error”: “piece expiration error: context canceled”, “errorVerbose”: “piece expiration error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*pieceExpirationDB).GetExpired:39\n\tstorj.io/storj/storagenode/pieces.(*Store).GetExpired:520\n\tstorj.io/storj/storagenode/collector.(*Service).Collect:88\n\tstorj.io/storj/storagenode/collector.(*Service).Run.func1:57\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/collector.(*Service).Run:53\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:81\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:80\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.735Z ERROR contact:service ping satellite failed {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”, “attempts”: 1, “error”: “ping satellite error: rpc: dial tcp: operation was canceled”, “errorVerbose”: “ping satellite error: rpc: dial tcp: operation was canceled\n\tstorj.io/common/rpc.TCPConnector.DialContextUnencrypted:106\n\tstorj.io/common/rpc.TCPConnector.DialContext:70\n\tstorj.io/common/rpc.Dialer.dialEncryptedConn:180\n\tstorj.io/common/rpc.Dialer.DialNodeURL.func1:101\n\tstorj.io/common/rpc/rpcpool.(*Pool).Get:87\n\tstorj.io/common/rpc.Dialer.dialPool:146\n\tstorj.io/common/rpc.Dialer.DialNodeURL:100\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:124\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:95\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:25:15.736Z INFO contact:service context cancelled {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”}
Error: piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory
2021-03-27T17:26:19.580Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
2021-03-27T17:26:19.583Z INFO Operator email {“Address”: “adam.delaere@hotmail.fr”}
2021-03-27T17:26:19.584Z INFO Operator wallet {“Address”: “0x5C69aa1aECd2C2fA121ee746f12398ef91a022B5”}
2021-03-27T17:26:20.710Z INFO Telemetry enabled {“instance ID”: “12QqSGh2adiNUSCxxiNu53QzAp2xQ5BqvEGapWQgbDumxSb9syQ”}
2021-03-27T17:26:20.807Z INFO db.migration Database Version {“version”: 51}
2021-03-27T17:26:22.696Z INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2021-03-27T17:26:24.909Z INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2021-03-27T17:26:24.910Z INFO bandwidth Performing bandwidth usage rollups
2021-03-27T17:26:24.911Z INFO Node 12QqSGh2adiNUSCxxiNu53QzAp2xQ5BqvEGapWQgbDumxSb9syQ started
2021-03-27T17:26:24.912Z INFO Public server started on [::]:28967
2021-03-27T17:26:24.912Z INFO trust Scheduling next refresh {“after”: “7h4m24.072453522s”}
2021-03-27T17:26:24.913Z INFO Private server started on 127.0.0.1:7778
2021-03-27T17:26:24.914Z INFO failed to sufficiently increase receive buffer size (was: 176 kiB, wanted: 2048 kiB, got: 352 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2021-03-27T17:26:24.920Z ERROR services unexpected shutdown of a runner {“name”: “piecestore:monitor”, “error”: “piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory”, “errorVerbose”: “piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1.1:131\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1:128\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:26:24.921Z ERROR collector error during collecting pieces: {“error”: “context canceled”}
2021-03-27T17:26:24.922Z ERROR nodestats:cache Get pricing-model/join date failed {“error”: “context canceled”}
2021-03-27T17:26:24.923Z ERROR gracefulexit:blobscleaner couldn’t receive satellite’s GE status {“error”: “context canceled”}
Error: piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory
2021-03-27T17:27:29.265Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
2021-03-27T17:27:29.269Z INFO Operator email {“Address”: “adam.delaere@hotmail.fr”}
2021-03-27T17:27:29.269Z INFO Operator wallet {“Address”: “0x5C69aa1aECd2C2fA121ee746f12398ef91a022B5”}
2021-03-27T17:27:31.804Z INFO Telemetry enabled {“instance ID”: “12QqSGh2adiNUSCxxiNu53QzAp2xQ5BqvEGapWQgbDumxSb9syQ”}
2021-03-27T17:27:31.909Z INFO db.migration Database Version {“version”: 51}
2021-03-27T17:27:34.323Z INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2021-03-27T17:27:35.286Z INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2021-03-27T17:27:35.287Z INFO trust Scheduling next refresh {“after”: “7h40m4.890503009s”}
2021-03-27T17:27:35.287Z INFO Node 12QqSGh2adiNUSCxxiNu53QzAp2xQ5BqvEGapWQgbDumxSb9syQ started
2021-03-27T17:27:35.288Z INFO Public server started on [::]:28967
2021-03-27T17:27:35.288Z INFO Private server started on 127.0.0.1:7778
2021-03-27T17:27:35.288Z INFO failed to sufficiently increase receive buffer size (was: 176 kiB, wanted: 2048 kiB, got: 352 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2021-03-27T17:27:35.292Z INFO bandwidth Performing bandwidth usage rollups
2021-03-27T17:27:35.294Z ERROR services unexpected shutdown of a runner {“name”: “piecestore:monitor”, “error”: “piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory”, “errorVerbose”: “piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1.1:131\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/monitor.(*Service).Run.func1:128\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-27T17:27:35.294Z ERROR collector error during collecting pieces: {“error”: “context canceled”}
2021-03-27T17:27:35.295Z ERROR nodestats:cache Get pricing-model/join date failed {“error”: “context canceled”}
2021-03-27T17:27:35.295Z ERROR gracefulexit:chore error retrieving satellites. {“error”: “satellitesdb error: context canceled”, “errorVerbose”: “satellitesdb error: context canceled\n\tstorj.io/storj/storagenode/storagenodedb.(*satellitesDB).ListGracefulExits.func1:103\n\tstorj.io/storj/storagenode/storagenodedb.(*satellitesDB).ListGracefulExits:115\n\tstorj.io/storj/storagenode/gracefulexit.(*service).ListPendingExits:89\n\tstorj.io/storj/storagenode/gracefulexit.(*Chore).Run.func1:53\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/storj/storagenode/gracefulexit.(*Chore).Run:50\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:81\n\truntime/pprof.Do:40\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:80\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
Error: piecestore monitor: error verifying location and/or readability of storage directory: open config/storage/storage-dir-verification: no such file or directory

If someone can help me :upside_down_face: , thank you, my english is very basic

Follow the documentation and don’t skip any test. There are updated commands which might not be shown in older youtube videos.

https://documentation.storj.io/

Yeah it’s already follow also

Hello,
Port on adadel.ddns.net:28967 is closed… So you have problem with port forwarding/ firewall

1.check forward rule on your router to your local RPi IP
2. Check Firewall on RPi

Did you use this command at the start ?

docker run --rm -e SETUP="true" \
    --mount type=bind,source="<identity-dir>",destination=/app/identity \
    --mount type=bind,source="<storage-dir>",destination=/app/config \
    --name storagenode storjlabs/storagenode:latest

Yes and after :

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x5C69aa1aECd2C2fA121ee746f12398ef91a022B5”
-e EMAIL=adam.delaere@hotmail.fr
-e ADDRESS=“adadel.ddns.net:28967
-e STORAGE=“940GB”
–mount type=bind,source=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity
–mount type=bind,source=/home/pi/.local/share/storj,destination=/app/config
–name storagenode storjlabs/storagenode:latest

Try to add " in email E

You have this
EMAIL=adam.delaere@hotmail.fr

But you need this
EMAIL="adam.delaere@hotmail.fr"

Maybe its the problem if your network setting and forwarding and FW are OK

Fixed but still disconnected

Port on adadel.ddns.net:28967 is closed… So you have problem with port forwarding/ firewall

1.check forward rule on your router to your local RPi IP
2. Check Firewall on RPi
3.check your DDNS ip if its same as RPi public IP

Or maybe identity?

Check this thread

I look at everything and I come back to you, thanks

1 Like

It’s okay but on dashboard the status is offline, it’s normal or problems with ports or anythings else ?

And you use the same mount in setup command?

–mount type=bind,source=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity
–mount type=bind,source=/home/pi/.local/share/storj,destination=/app/config

If yes i dont know what next and wait for somebody better than me :grinning:

So identity ok
Port forward ok
Firewall ok
Ddns address ok
Mount dir ok

Can make sure you aren’t using curly quotes anywhere in the command?

1 Like

curly quotes is that ? -e ADDRESS=12345563:28967 \ ?

Show a screenshot of the command you are using.

(Stor)Geez guys, just copy and edit the command given. If you are typing the command yourself then type it properly. Everybody’s wasting time on nothing.

1 Like

Imgur

Ouuu I see what is wrong now…
You have extra “source=bind,” in your command in your identity mount

1 Like

Oh nice it’s that :partying_face:

Thanks for all in this topic !!

For personne with same problem check:

  • Your code,
  • Your port,
  • use ’ docker stop -t 300 storagenode and docker rm storagenode’
1 Like