I have added a second node to another HDD on a computer that is already running as a node, but the dashboard shows it as offline and I’m having trouble.
We have confirmed that port 28968 is accessible from the outside.
2020-08-28T12:27:35.228Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
2020-08-28T12:27:35.315Z INFO Operator email {“Address”: “example@example.com”}
2020-08-28T12:27:35.315Z INFO Operator wallet {“Address”: “0x000000000000000000000”}
2020-08-28T12:27:36.539Z INFO Telemetry enabled
2020-08-28T12:27:36.546Z INFO db.migration Database Version {“version”: 43}
2020-08-28T12:27:37.534Z INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2020-08-28T12:27:38.391Z INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2020-08-28T12:27:38.391Z INFO bandwidth Performing bandwidth usage rollups
2020-08-28T12:27:38.392Z INFO Node 10000000000000000 started
2020-08-28T12:27:38.392Z INFO Public server started on 0.0.0.0:28967
2020-08-28T12:27:38.392Z INFO Private server started on 127.0.0.1:7778
2020-08-28T12:27:38.392Z INFO trust Scheduling next refresh {“after”: “4h3m35.08540843s”}
This suggests that the container cannot reach the outside internet. It is trying to resolve the address of the satellite, but the DNS query fails. Have you tried restarting your system?
In my environment, --mount is not recognized and not available, so I use the previous -v to mount it instead.
After replacing the identity correctly, the storagenode2 container is now repeatedly restarting.
2020-08-28T21:36:20.558Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "error": "context canceled"}
2020-08-28T21:36:20.752Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "error": "context canceled"}
2020-08-28T21:36:20.826Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "error": "context canceled"}
2020-08-28T21:36:21.144Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "error": "context canceled"}
2020-08-28T21:36:21.218Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB", "error": "context canceled"}
2020-08-28T21:36:21.241Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "error": "context canceled"}
2020-08-28T21:36:21.241Z FATAL Failed preflight check. {"error": "system clock is out of sync: system clock is out of sync with all trusted satellites", "errorVerbose": "system clock is out of sync: system clock is out of sync with all trusted satellites\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).Check:96\n\tstorj.io/storj/storagenode.(*Peer).Run:712\n\tmain.cmdRun:204\n\tstorj.io/private/process.cleanup.func1.4:353\n\tstorj.io/private/process.cleanup.func1:371\n\tgithub.com/spf13/cobra.(*Command).execute:840\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:945\n\tgithub.com/spf13/cobra.(*Command).Execute:885\n\tstorj.io/private/process.ExecWithCustomConfig:88\n\tstorj.io/private/process.ExecCustomDebug:70\n\tmain.main:330\n\truntime.main:203"}
2020-08-29T01:14:49.019Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
2020-08-29T01:14:49.039Z INFO Operator email {"Address": "example@exampe.com;}
2020-08-29T01:14:49.039Z INFO Operator wallet {"Address": "0x000000000000000001"}
2020-08-29T01:14:50.762Z INFO Telemetry enabled
2020-08-29T01:14:50.766Z INFO db.migration Database Version {"version": 43}
2020-08-29T01:14:51.198Z INFO preflight:localtime start checking local system clock with trusted satellites' system clock.
2020-08-29T01:14:51.247Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "error": "rpccompat: dial tcp: lookup europe-west-1.tardigrade.io on 192.168.0.1:53: no such host", "errorVerbose": "rpccompat: dial tcp: lookup europe-west-1.tardigrade.io on 192.168.0.1:53: no such host\n\tstorj.io/common/rpc.Dialer.dialTransport:211\n\tstorj.io/common/rpc.Dialer.dial:188\n\tstorj.io/common/rpc.Dialer.DialNodeURL:148\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).getSatelliteTime:110\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).Check.func1:67\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-08-29T01:14:51.250Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE", "error": "rpccompat: dial tcp: lookup saltlake.tardigrade.io on 192.168.0.1:53: no such host", "errorVerbose": "rpccompat: dial tcp: lookup saltlake.tardigrade.io on 192.168.0.1:53: no such host\n\tstorj.io/common/rpc.Dialer.dialTransport:211\n\tstorj.io/common/rpc.Dialer.dial:188\n\tstorj.io/common/rpc.Dialer.DialNodeURL:148\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).getSatelliteTime:110\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).Check.func1:67\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
2020-08-29T01:14:51.377Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "error": "context canceled"}
2020-08-29T01:14:51.651Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "error": "context canceled"}
2020-08-29T01:14:52.070Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB", "error": "context canceled"}
2020-08-29T01:14:52.645Z ERROR preflight:localtime unable to get satellite system time {"Satellite ID": "118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW", "error": "context canceled"}
2020-08-29T01:14:52.645Z FATAL Failed preflight check. {"error": "system clock is out of sync: system clock is out of sync with all trusted satellites", "errorVerbose": "system clock is out of sync: system clock is out of sync with all trusted satellites\n\tstorj.io/storj/storagenode/preflight.(*LocalTime).Check:96\n\tstorj.io/storj/storagenode.(*Peer).Run:712\n\tmain.cmdRun:204\n\tstorj.io/private/process.cleanup.func1.4:353\n\tstorj.io/private/process.cleanup.func1:371\n\tgithub.com/spf13/cobra.(*Command).execute:840\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:945\n\tgithub.com/spf13/cobra.(*Command).Execute:885\n\tstorj.io/private/process.ExecWithCustomConfig:88\n\tstorj.io/private/process.ExecCustomDebug:70\n\tmain.main:330\n\truntime.main:203"}
Please, check your logs for the reason. I think you have used curly quotes somewhere instead of straight ones (you should use these ones: " instead of “ and ”) or hyphenation instead of double dashes --.
Also, it’s possible, that you hit a problem with a firewall and docker: Topics tagged centos
IMHO, if you added 2nd node on same OS as 2nd instance, you should check that you didn’t use same ports (used by 1st instance already) for new node, also check if you made correct port forwarding on router for new node.
The correct port forwarding is taking place, but the error continues to be displayed as incorrect clock time.
Another node on the same machine is working fine, so it’s probably a Docker issue.
I’ll give it some time.