Storj v3 Storage Node service not starting

Hi all!

My node has some type of problem, the Storj service can’t start. I get a 1067 error. The disk seems to be good, and the log doesn’t says nothing strange:
2020-06-25T13:42:34.938+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:42:35.041+0200 INFO Operator email {“Address”: “XXXXX@gmail.com”}
2020-06-25T13:42:35.041+0200 INFO Operator wallet {“Address”: “0xXXXXX”}

is there any other messages in log? some errors or warnings? could you please provide full log?

yeah the log really should show more…
i checked what came next in the logs by rebooting my node…

so could be a version issue… maybe you are on 1.6.3 in which case you should just try and update…

next it goes to telemetry which i suppose is the online part of the boot… if it reboots and never getting to

2020-06-25T13:04:26.491Z INFO db.migration Database Version {“version”: 39}

if you don’t get that line then it’s most likely an internet connection issue…

we need more log details, we need to know if your node is new or has worked before… we need to know what OS you are using… and that’s most likely the minimum.

internet port routing and dns is a popular issue for new SNO’s
seems like this could be it

1 Like

There is nothing more:

2020-06-25T13:33:05.735+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:33:05.766+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:33:05.766+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:33:41.687+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:33:41.717+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:33:41.717+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:34:17.595+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:34:17.626+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:34:17.626+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:34:53.520+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:34:53.549+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:34:53.550+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:35:29.504+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:35:29.534+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:35:29.534+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:36:05.444+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:36:05.474+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:36:05.474+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T13:42:34.938+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T13:42:35.041+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:42:35.041+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}

Could you turn on debug logging by editing C:\Program Files\Storj\Storage Node\config.yaml

And edit this line to say

log.level: debug

Make sure there is no # at the start of that line.

Then restart your node and check the log again.

Not much more :frowning:
2020-06-25T13:42:35.041+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T13:42:35.041+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T17:39:59.404+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T17:39:59.425+0200 DEBUG Anonymized tracing disabled
2020-06-25T17:39:59.426+0200 DEBUG debug server listening on 127.0.0.1:50237
2020-06-25T17:39:59.438+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T17:39:59.438+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}
2020-06-25T17:40:45.878+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T17:40:45.896+0200 DEBUG Anonymized tracing disabled
2020-06-25T17:40:45.897+0200 DEBUG debug server listening on 127.0.0.1:50238
2020-06-25T17:40:45.911+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T17:40:45.911+0200 INFO Operator wallet {“Address”: “0xxxxxxxxxxxxx”}

Edit: Whoops, you’re on windows gui… Asking for the docker run command doesn’t make sense…

2 Likes

Can I uninstall and start from scratch?? Perhaps it’s the easy way…

Worth a try, after uninstalling make sure the entire folder C:\Program Files\Storj is removed. It could be helpful if you write down the info you entered during install, paths and address and stuff. I guess that would be the equivalent of the run command for GUI nodes.

1 Like

Done. Seems the installer can’t write the service. Is there any install log??

That’s what the event viewer says:

Please, remove the Windows GUI storagenode, delete the folder "C:\Program Files\Storj".
Enable the Windows firewall and dnscache service.
Please, extract the msi from the archive to the Downloads folder for example then try to install the Windows GUI.

Done. But didn’t worked. The services are installed ok, but they don’t start. If I try to start by hand, I get a 1067 error. I think it’s a generic error. I have tried to change the user that start the service by the machine user, but don’t work.

No need to change a user for the service.
Please, show last 20 lines from the log

That’s all I have. In debug mode not much more (see above). Sorry :frowning:

020-06-25T23:38:25.639+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:38:25.730+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:38:25.730+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:38:26.819+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:38:26.864+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:38:26.864+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:39:27.666+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:39:27.697+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:39:27.697+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:40:36.851+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:40:36.879+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:40:36.879+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:41:12.833+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:41:12.861+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:41:12.861+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:41:48.812+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:41:48.847+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:41:48.847+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:42:24.967+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:42:24.996+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:42:24.996+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:43:00.964+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:43:01.022+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:43:01.022+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:43:37.155+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:43:37.211+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:43:37.211+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}
2020-06-25T23:44:13.532+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-25T23:44:13.560+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-25T23:44:13.560+0200 INFO Operator wallet {“Address”: “XXXXXXXXXXXXXXXXX”}

this is on linux so not sure if this is the same, but i would be very surprised if it wasnt’…

when you enabled debug, it should show you more lines of log… even if it doesn’t get any further…

to me this looks like a connection issue… but i would kinda hate to have to shut down my node and try to boot it without the connection, just to confirm that being the case…
the telemetry enabled is when it goes online… so since it died before that… either your version is wrong or it cannot get access to the internet through the ports it needs to use and thus just reboots to retry again…

mine did that when i had routed the ports wrong… i just don’t remember what the log looked like, that it keeps rebooting without doing anything is a pretty good sign… but yeah enable debug on logs, check your ports and be sure you got the correct version… even tho that might be a bit unlikely… so maybe try the first two …

2020-06-25T13:04:24.668Z        INFO    Configuration loaded    {"Location": "/app/config/config.yaml"}
2020-06-25T13:04:25.599Z        DEBUG   Anonymized tracing disabled
2020-06-25T13:04:25.621Z        INFO    Operator email  {"Address": "mail@mail.com"}
2020-06-25T13:04:25.621Z        INFO    Operator wallet {"Address": "XXXXXXXXXXXXXXXXXXX"}
2020-06-25T13:04:25.738Z        DEBUG   Version info    {"Version": "1.5.2", "Commit Hash": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "Build Timesta$
2020-06-25T13:04:26.413Z        DEBUG   version Allowed minimum version from control server.    {"Minimum Version": "1.3.0"}
2020-06-25T13:04:26.413Z        DEBUG   version Running on allowed version.     {"Version": "1.5.2"}
2020-06-25T13:04:26.414Z        INFO    Telemetry enabled

Please, change the log.level in the config.yaml to the log.level: debug, save the config (explicitly, not by closing the editor) and restart the storagenode service from the elevated Powershell

Restart-Service storagenode

Wait for a minute and give me 20 last lines from the log

Done. I got very poor info:

2020-06-26T10:09:46.812+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-26T10:09:46.911+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-26T10:09:46.911+0200 INFO Operator wallet {“Address”: “payout_address”}
2020-06-26T10:10:01.744+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-26T10:10:01.840+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-26T10:10:01.840+0200 INFO Operator wallet {“Address”: “payout_address”}
2020-06-26T10:11:42.597+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2020-06-26T10:11:42.617+0200 DEBUG Anonymized tracing disabled
2020-06-26T10:11:42.618+0200 DEBUG debug server listening on 127.0.0.1:32011
2020-06-26T10:11:42.628+0200 INFO Operator email {“Address”: “mail@gmail.com”}
2020-06-26T10:11:42.628+0200 INFO Operator wallet {“Address”: “payout_address”}

If I try to restart the service I can’t, because it’s not started. If I start the service then:

Thanks for your interest.

Open an elevated Powershell:

cd "$env:ProgramFiles\Storj\Storage Node"
./storagenode run --config-dir "$env:ProgramFiles\Storj\Storage Node" --log.level debug --log.output stdout

Please, post result here

server listening on 127.0.0.1:32011

im guess that is what i got as

2020-06-25T13:04:26.414Z INFO Telemetry enabled

which seems to indicate it might be a connection issue…
that port number is also custom

is a bit wierd that the windows logs and docker logs doesn’t go through the same steps in the same order during boot… or just logs them different…