en linux todo es mas facil porque a base de comandos funciona todo,yo por ejemplo no tengo instalado nisiquiera interfaz grafica en mis raspberrys,todo lo manejo por ssh y comandos
aparte las rapsberry con una buena disipación puedes dejarlas todo el dia funcionando sin problemas, y consumen una cantidad de energía irrisoria por lo que el beneficio no se te va en electricidad.
mis primeras caídas de nodos las detecte con el uptimerobot y casi siempre con apagar y encender los discos duros se reconectaba todo
ERROR servers unexpected shutdown of a runner {“name”: “debug”, “error”: “debug: http: Server closed”, “errorVerbose”: “debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
PS C:\Users\storj> Get-Content “$env:ProgramFiles/Storj/Storage Node/storagenode.log” -Tail 20 -Wait
2020-10-17T01:26:32.636+0200 INFO Node 1xiRtMfTtFSdhLNYvGWqTGMsZcuj5KXA34W5kBRGvMrc2EgF9H started
2020-10-17T01:26:32.636+0200 INFO Public server started on [::]:28967
2020-10-17T01:26:32.636+0200 INFO Private server started on 127.0.0.1:7778
2020-10-17T01:26:32.635+0200 INFO trust Scheduling next refresh {“after”: “5h21m7.521665385s”}
2020-10-17T01:30:35.921+0200 INFO Got a signal from the OS: “terminated”
2020-10-17T01:30:36.051+0200 INFO Stop/Shutdown request received.
2020-10-17T01:30:36.453+0200 ERROR servers unexpected shutdown of a runner {“name”: “debug”, “error”: “debug: http: Server closed”, “errorVerbose”: “debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2020-10-17T01:30:37.624+0200 FATAL Unrecoverable error {“error”: “debug: http: Server closed”, “errorVerbose”: “debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2020-10-17T01:31:12.630+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-10-17T01:31:12.845+0200 INFO Operator email {“Address”: “nodoprimero3@gmail.com”}
2020-10-17T01:31:12.845+0200 INFO Operator wallet {“Address”: “0x68AF97C2daB3e8B72AE3d48A6aacd42AfbD3Da4f”}
2020-10-17T01:31:14.372+0200 INFO Telemetry enabled
2020-10-17T01:31:14.479+0200 INFO db.migration Database Version {“version”: 45}
2020-10-17T01:31:17.928+0200 INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2020-10-17T01:31:18.824+0200 INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2020-10-17T01:31:18.836+0200 INFO bandwidth Performing bandwidth usage rollups
2020-10-17T01:31:18.837+0200 INFO Node 1xiRtMfTtFSdhLNYvGWqTGMsZcuj5KXA34W5kBRGvMrc2EgF9H started
2020-10-17T01:31:18.837+0200 INFO Public server started on [::]:28967
2020-10-17T01:31:18.837+0200 INFO Private server started on 127.0.0.1:7778
2020-10-17T01:31:18.836+0200 INFO trust Scheduling next refresh {“after”: “7h42m52.836782301s”}
You should open the "C:\Program Files\Storj\Storage Node\config.yaml" with Notepad++ and replace the IP:28967 to your-ddns.hostname.org:28967 in the contact.external-address: option.
Save the config and restart the service either with a Services applet or from the elevated PowerShell:
Restart-Service storagenode
The your-ddns.hostname.org you can take from the Edit Hosts button
if your router supports the no-ip, it would be better to use your router instead of DUC. In this case the DUC will not be needed.
How would it be done, because I think all the problems I have had is from duc
PS C:\Windows\system32> Get-Content “$env:ProgramFiles/Storj/Storage Node/storagenode.log” -Tail 20 -Wait
2020-10-17T13:41:33.737+0200 INFO bandwidth Performing bandwidth usage rollups
2020-10-17T13:41:33.741+0200 INFO trust Scheduling next refresh {“after”: “5h18m15.365406354s”}
2020-10-17T13:41:33.741+0200 INFO Node 1xiRtMfTtFSdhLNYvGWqTGMsZcuj5KXA34W5kBRGvMrc2EgF9H started
2020-10-17T13:41:33.742+0200 INFO Public server started on [::]:28967
2020-10-17T13:41:33.742+0200 INFO Private server started on 127.0.0.1:7778
2020-10-17T14:05:26.146+0200 INFO Stop/Shutdown request received.
2020-10-17T14:05:26.660+0200 ERROR servers unexpected shutdown of a runner {“name”: “debug”, “error”: “debug: http: Server closed”, “errorVerbose”: “debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2020-10-17T14:05:27.822+0200 FATAL Unrecoverable error {“error”: “debug: http: Server closed”, “errorVerbose”: “debug: http: Server closed\n\tstorj.io/private/debug.(*Server).Run.func2:108\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}
2020-10-17T14:05:28.103+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-10-17T14:05:28.175+0200 INFO Operator email {“Address”: “nodoprimero3@gmail.com”}
2020-10-17T14:05:28.175+0200 INFO Operator wallet {“Address”: “0x68AF97C2daB3e8B72AE3d48A6aacd42AfbD3Da4f”}
2020-10-17T14:05:28.946+0200 INFO Telemetry enabled
2020-10-17T14:05:28.971+0200 INFO db.migration Database Version {“version”: 45}
2020-10-17T14:05:30.183+0200 INFO preflight:localtime start checking local system clock with trusted satellites’ system clock.
2020-10-17T14:05:31.081+0200 INFO preflight:localtime local system clock is in sync with trusted satellites’ system clock.
2020-10-17T14:05:31.082+0200 INFO bandwidth Performing bandwidth usage rollups
2020-10-17T14:05:31.085+0200 INFO Node 1xiRtMfTtFSdhLNYvGWqTGMsZcuj5KXA34W5kBRGvMrc2EgF9H started
2020-10-17T14:05:31.085+0200 INFO Public server started on [::]:28967
2020-10-17T14:05:31.085+0200 INFO Private server started on 127.0.0.1:7778
2020-10-17T14:05:31.086+0200 INFO trust Scheduling next refresh {“after”: “4h47m10.989258564s”}
The DUC updates your-ddns.hostname.org with your actual public IP, your storagenode should use your-ddns.hostname.org:28967 as your contact.external-address:. In such case all should work as expected while the DUC is running.
If you can find a DDNS section in your router, you can try to register there your-ddns.hostname.org with your No-IP login (email address) and password. If you would be succeed - then you can remove the DUC from your PC.
However, the contact.external-address: of the "C:\Program Files\Storj\Storage Node\config.yaml" should contain your-ddns.hostname.org:28967 in both cases.