Storj service won't restart after auto update (GUI)

So I noticed this issue a couple days after I originally set up my node. I check my node every day to make sure it is still running, but ever once in a while it is just… Not. It seems to only happen every time I get an update because once I manually go start the service in windows services, the GUI says that it is running a newer version. Also when i go into the updater logs, I can see that it says the service was attempting to restart and then failed… Is this an easy fix.

Thanks, Enzo.

9 posts were split to a new topic: Is the site down because the community and support button wont work for me either

Please, give me result of the command:

(get-service storagenode).StartType

My result

PS C:\Users\storj> (get-service storagenode).StartType
Automatic

Please, copy errors from the updater log

Sorry for the late reply… I have been away.

Here is the message I get after every update. I have to go start it Manually.

2019/10/28 14:56:23 downloading versions from https://version.storj.io/release/
2019/10/28 14:56:23 start downloading https://github.com/storj/storj/releases/download/v0.24.5/storagenode_windows_amd64.exe.zip to C:\Windows\TEMP\storagenode319966250
2019/10/28 14:56:26 finished downloading https://github.com/storj/storj/releases/download/v0.24.5/storagenode_windows_amd64.exe.zip to C:\Windows\TEMP\storagenode319966250
2019/10/28 14:56:28 restarting service storagenode
2019/10/28 14:56:48 unable to restart service: exit status 2

Please, give me the output of the command (Powershell)

Get-EventLog Application -After "2019-10-28 14:56:00" -Before "2019-10-28 15:20:00" -EntryType Error

Nothing Happened after I used the command…

Please, modify the time in the command accordingly your timezone. In the updater log we have used the UTC+0 timezone

Sorry, I don’t understand what you mean…

Get-EventLog Application -After "2019-10-28 19:56:00" -Before "2019-10-28 20:20:00" -EntryType Error

The first One did not work, So I modified it a bit as you can see…

PS C:\Users\storj> Get-EventLog Application -After “2019-10-28 19:56:00” -Before “2019-10-28 20:20:00” -EntryType Error
PS C:\Users\storj> Get-EventLog Application -After “2019-10-28 19:56:00” -Before “2019-10-30 20:20:00” -EntryType Error

Index Time EntryType Source InstanceID Message


2986 Oct 30 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2926 Oct 29 19:05  Error       Microsoft-Windows...         1020 The required buffer size is greater than the bu...
2911 Oct 29 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2909 Oct 29 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...

So, your event log doesn’t have an error entries on the time of the update.
Try more wide interval, the error must be in October 28.

PS C:\Users\storj> Get-EventLog Application -After “2019-10-27 19:56:00” -Before “2019-10-30 20:20:00” -EntryType Error

Index Time EntryType Source InstanceID Message


2986 Oct 30 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2926 Oct 29 19:05  Error       Microsoft-Windows...         1020 The required buffer size is greater than the bu...
2911 Oct 29 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2909 Oct 29 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2816 Oct 28 19:03  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2801 Oct 28 18:56  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2798 Oct 28 18:56  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2783 Oct 28 17:30  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2756 Oct 28 17:12  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2734 Oct 28 17:11  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2731 Oct 28 17:11  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2695 Oct 28 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2693 Oct 28 12:27  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...
2655 Oct 28 04:44  Error       Software Protecti...   3221233670 License Activation (slui.exe) failed with the f...

PS C:\Users\storj>

No errors from storagenode-updater service.

Thank you all for the help, The problem seems to have gone away, my node was properly updated when I got Home today!

I have the same problem. After the auto-upgrade yesterday, my node stopped and did not start automatically. I started it manually today…

I tried this command but no errors:

PS C:\Program Files\Storj\Storage Node> Get-EventLog Application -After “2019-10-01 19:56:00” -Before “2019-11-08 20:20:00” -EntryType Error

Index Time EntryType Source InstanceID Message


32694 Oct 29 04:24 Error Perflib 3221226480 The description for Event ID ‘-1073740816’ in Source ‘Perflib’ cannot be found. The local computer may not have the necessary reg…
31855 Oct 23 17:07 Error Perflib 3221226480 The description for Event ID ‘-1073740816’ in Source ‘Perflib’ cannot be found. The local computer may not have the necessary reg…
31652 Oct 22 05:45 Error Perflib 3221226480 The description for Event ID ‘-1073740816’ in Source ‘Perflib’ cannot be found. The local computer may not have the necessary reg…

from the storegenode.log:
2019-11-07T20:51:53.293+0200 INFO gracefulexit:chore running graceful exit chore.
2019-11-07T20:51:53.305+0200 INFO bandwidth Performing bandwidth usage rollups
2019-11-07T20:51:53.861+0200 INFO version running on version v0.24.5
2019-11-07T20:52:00.326+0200 INFO Interrogate request received.
2019-11-07T20:52:00.441+0200 INFO Stop/Shutdown request received.

Instead of going to your storagenode.log, go to your storagenode-updater.log. scroll through it, and see if you can find anything along the lines of: storage-node service restarting. Restart Failed. OR, service restarted successfully.

1 Like

2019/11/07 20:51:50 downloading versions from https://version.storj.io/release/
2019/11/07 20:51:50 start downloading https://github.com/storj/storj/releases/download/v0.25.1/storagenode_windows_amd64.exe.zip to C:\Windows\TEMP\storagenode183449911
2019/11/07 20:51:58 finished downloading https://github.com/storj/storj/releases/download/v0.25.1/storagenode_windows_amd64.exe.zip to C:\Windows\TEMP\storagenode183449911
2019/11/07 20:52:00 restarting service storagenode
2019/11/07 20:52:20 unable to restart service: exit status 2
2019/11/08 02:51:50 downloading versions from https://version.storj.io/release/
2019/11/08 02:51:51 storage node version is up to date
2019/11/08 08:51:50 downloading versions from https://version.storj.io/release/
2019/11/08 08:51:51 storage node version is up to date

Exactly the same problem I had. Mine seemed to work after I simply restarted the Updater service in windows services, you could try that… but also try this, and see if it gets you anything. I modified it to see if you had exactly when you node service was restarting.

PS C:\Users\storj> Get-EventLog Application -After “2019-11-07 20:50:00” -Before “2019-11-07 20:53:00” -EntryType Error

I don’t think you will be actually able to know it is properly working till the next update comes out. I am still new at this myself, If none of this helps, You might want to ask a storjling!

1 Like