Qnap d4 pro install problem

The docker container does not start, installed version 1.1.0, I set everything up according to the instructions, I press the start node, writes that it started, but there are errors in the docker logs:
Error: Error starting master database on storagenode: group:
— stat config / storage / blobs: no such file or directory
— stat config / storage / temp: no such file or directory
— stat config / storage / garbage: no such file or directory
— stat config / storage / trash: no such file or directory

in the application log
LATEST LOG:

82135f91abd0 storjlabs / storagenode: beta “/ entrypoint” 3 seconds ago Up Less than a second 0.0.0.0:14002->14002/tcp, 0.0.0.0:28967->28967/tcp storjlabsSnContainer

Tell me what is the problem? Thank.

Welcome to the forum @kiri11ko !

Did you use this command first ?

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

No, I haven’t run this command before
Thank you, the command helped, the node started and the dashboard opened, but it says that it is an offline node, and in the application online - is this normal?

Show last 10 lines of the log.

2021-03-23T09:54:57.277Z ERROR contact:service ping satellite failed {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZH
eLUtdps3S”, “attempts”: 8, “error”: “ping satellite error: failed to dial storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG5
4A1) at address 95...91:28967: rpc: dial tcp 95...91:28967: i/o timeout”, “errorVerbose”: “ping satellite error: failed to dial
storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG54A1) at address 95...91:28967: rpc: dial tcp 95...91:28967: i/
o timeout\n\tstorj.io/storj/storagenode/contact.(Service).pingSatelliteOnce:141\n\tstorj.io/storj/storagenode/contact.(Service).pingSatell
ite:95\n\tstorj.io/storj/storagenode/contact.(Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(Cycle).Run:92\n\tstorj.io/common/sync
2.(Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(Group).Go.func1:57"}
2021-03-23T09:55:00.456Z ERROR contact:service ping satellite failed {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tu
vgk3vzoA6”, “attempts”: 8, “error”: "ping satellite error: failed to dial storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG5
4A1) at address 95.
.
.91:28967: rpc: dial tcp 95.
.
.91:28967: i/o timeout", “errorVerbose”: "ping satellite error: failed to dial
storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG54A1) at address 95.
.
.91:28967: rpc: dial tcp 95...91:28967: i/
o timeout\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:141\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatell
ite:95\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync
2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}

Is that your static IP ?

Yes, and the port was forwarded to him

Please erase part of the IP address, thanks

1 Like

Open Port Check Tool - Test Port Forwarding on Your Router shows your port is closed. Double check if your port is forwarded properly.

Yes, I checked it already on the same service - the port is closed, but on the router I configured port forwarding, do I still need to configure it additionally in the docker container?

Can you check if your WAN IP matches public IP ?

On the qnap server I have a local address 192.168.1.33. The provider gives me a white IP for a router. I configured the nat on the router for port 28967 from a white ip to my local 192.168.1.33. But checking the port on the link that you sent does not work.

Yes I checked it - that’s all right

Port 28967 is open on 95...91. But error repeat and node offline.

2021-03-24T12:34:44.921Z ERROR contact:service ping satellite failed {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tu
vgk3vzoA6”, “attempts”: 9, “error”: “ping satellite error: failed to dial storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG5
4A1) at address 95...91:28967: rpc: tls peer certificate verification error: not signed by any CA in the whitelist: CA cert”, “errorVe
rbose”: “ping satellite error: failed to dial storage node (ID: 12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG54A1) at address 95...91
1:28967: rpc: tls peer certificate verification error: not signed by any CA in the whitelist: CA cert\n\tstorj.io/storj/storagenode/contact.
(*Service).pingSatelliteOnce:141\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:95\n\tstorj.io/storj/storagenode/contact.(*C
hore).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/e
rrgroup.(*Group).Go.func1:57”}

You forgot to sign your identity.

This is not enough?
Снимок экрана 2021-03-24 в 15.53.25

https://documentation.storj.io/dependencies/identity#authorize-the-identity

Did you follow the steps from the documentation ?

Yes, but Create an identity, i run on anover pc. Today run on qnap, wait results and test.

Regenerated identification to gnap and again errors and node offline

2021-03-25T06:52:47.738Z INFO contact:service context cancelled {“Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”}
2021-03-25T06:52:47.739Z ERROR contact:service ping satellite failed {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”, “attempts”: 1, “error”: “ping satellite er
ror: 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/contac
t.(*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\tgo
lang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-25T06:52:47.739Z INFO contact:service context cancelled {“Satellite ID”: “12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”}
2021-03-25T06:52:47.736Z ERROR contact:service ping satellite failed {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”, “attempts”: 1, “error”: “ping satellite er
ror: 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/contac
t.(*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\tgo
lang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2021-03-25T06:52:47.740Z INFO contact:service context cancelled {“Satellite ID”: “121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”}
Error: piecestore monitor: error verifying location and/or readability of storage directory: node ID in file (12UNR8a35h8SECC3iMw6yjqiwhRpN14Q8KDSihoQi7sn5yG54A1) does not match running node’s I
D (12eRCB8m1UmieiM4utruaRPedwgEUc2RaPaQJ4JLB2Bcp7ycZYs)