[Win10] storjnode service won't stop properly

When I stop the storjnode service from Windows services control panel, it will exit with error 1067:
1067
This happens on all my nodes, probably since the 1.5.2 update (but the problem still persists on 2 nodes with 1.6.3). These don’t seem to show problems other than this behaviour.

What happens if you use

Stop-Service storagenode

What is the english translation of this please. As i’ve been having an error when stopping the service.

Please, show 20 last lines from the log: https://documentation.storj.io/resources/faq/check-logs

2020-06-18T07:08:06.060+0200    INFO    piecestore      uploaded        {"Piece ID": "LKVNFOENP7B2E52IZ5I3NCGKMPILM6SW64KYCFSCDM4DDWRAKMQA", "Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Action": "PUT"}
2020-06-18T07:08:08.931+0200    INFO    piecestore      upload started  {"Piece ID": "SDH5MAMMS7DWGBRUMN62VGJHJHEINAOP4TB3233ZUXKWG6OQ2HQQ", "Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Action": "PUT", "Available Space": 2456590072704}
2020-06-18T07:08:09.192+0200    INFO    piecestore      uploaded        {"Piece ID": "SDH5MAMMS7DWGBRUMN62VGJHJHEINAOP4TB3233ZUXKWG6OQ2HQQ", "Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Action": "PUT"}
2020-06-18T07:08:13.416+0200    INFO    piecestore      upload started  {"Piece ID": "DZDXMYEURHWUDT34STXFFXSWOSKOUAPVLLOLLHL73W5EA6JLXTUQ", "Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Action": "PUT", "Available Space": 2456589871232}
2020-06-18T07:08:13.575+0200    INFO    piecestore      uploaded        {"Piece ID": "DZDXMYEURHWUDT34STXFFXSWOSKOUAPVLLOLLHL73W5EA6JLXTUQ", "Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Action": "PUT"}
2020-06-18T07:08:14.310+0200    INFO    piecestore      upload started  {"Piece ID": "OPLHHFO6H7L7X52FXHVLT6TR3EYKRZXFOALGAABCSDSLDJMIXHKA", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT", "Available Space": 2456589869440}
2020-06-18T07:08:14.593+0200    INFO    piecestore      uploaded        {"Piece ID": "OPLHHFO6H7L7X52FXHVLT6TR3EYKRZXFOALGAABCSDSLDJMIXHKA", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT"}
2020-06-18T07:08:22.073+0200    INFO    piecestore      upload started  {"Piece ID": "NLBTMJKM622NU2T2DU4UUUVV4WM4LONFS2PNCKWPTKX2YG5NUYQA", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT_REPAIR", "Available Space": 2456589812608}
2020-06-18T07:08:22.229+0200    INFO    piecestore      uploaded        {"Piece ID": "NLBTMJKM622NU2T2DU4UUUVV4WM4LONFS2PNCKWPTKX2YG5NUYQA", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT_REPAIR"}
2020-06-18T07:08:22.300+0200    INFO    piecestore      upload started  {"Piece ID": "D2DPAH6JR757CWR2N76BBA2AQSTTZZJY4WMQKZKFUSQJ2OPTMDKQ", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT", "Available Space": 2456589808768}
2020-06-18T07:08:22.536+0200    INFO    piecestore      uploaded        {"Piece ID": "D2DPAH6JR757CWR2N76BBA2AQSTTZZJY4WMQKZKFUSQJ2OPTMDKQ", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "PUT"}
2020-06-18T07:08:23.072+0200    INFO    piecestore      download started        {"Piece ID": "HLZCQYOEJXH6ACS7Z3F7DRI25AMXU6FURLH6YWU7GK74BH4S7ILQ", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET"}
2020-06-18T07:08:27.742+0200    INFO    piecestore      downloaded      {"Piece ID": "HLZCQYOEJXH6ACS7Z3F7DRI25AMXU6FURLH6YWU7GK74BH4S7ILQ", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Action": "GET"}
2020-06-18T07:08:29.711+0200    INFO    Stop/Shutdown request received.
2020-06-18T07:08:29.712+0200    ERROR   nodestats:cache Get disk space usage query failed       {"error": "context canceled"}
2020-06-18T07:08:29.712+0200    ERROR   nodestats:cache Get held amount query failed    {"error": "context canceled"}
2020-06-18T07:08:29.802+0200    ERROR   pieces:trash    emptying trash failed   {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:140\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:338\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\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"}
2020-06-18T07:08:29.802+0200    ERROR   pieces:trash    emptying trash failed   {"error": "pieces error: filestore error: context canceled", "errorVerbose": "pieces error: filestore error: context canceled\n\tstorj.io/storj/storage/filestore.(*blobStore).EmptyTrash:140\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:309\n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:338\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1:51\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"}
2020-06-18T07:08:30.104+0200    ERROR   piecestore:cache        error getting current space used calculation:   {"error": "context canceled; context canceled; context canceled; context canceled; context canceled; context canceled", "errorVerbose": "group:\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled\n--- context canceled"}
2020-06-18T07:08:31.596+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"}

This is after stopping the service from Windows services control panel. However, if I stop the service via Powershell, the same error appears in the logs but Windows shows no error message.

By the way, this was the version 1.5.2 node. I can provide logs from my 1.6.3 nodes too, but I think the problem might be the same ;D

Error 1067 means “service stopped unexpectedly”

1 Like

same mistake happens to me, identical. if you stop the service it goes into error 1067 and writes that line in the log. Then if I restart the service everything is ok and it’s perfect. We have already discussed this in another discussion with Alexey

HI
where I can also see this log file in my node?

https://documentation.storj.io/resources/faq/check-logs

1 Like

Are all your nodes on Windows GUI ?

Yes, they are. As said, they are running fine otherwise.

YES my nodes is GUI and im using the version 1.6.3 nodes please tell me how. thanks

What do you want to know ?

how to access the log in GUI using version 1.6.3

1 Like

Yes exactly same error i had last week when stopping service. I’ve not stopped them since having an issue with my nodes but pretty sure it would happen again.

Same error happening to me.

Dis is quite disgusting, dont know what to do and have the feeling that in the future can cause me serius problems.

Any idea what could be?

This error:

But it can be safely ignored at the moment.

1 Like