Update STORJ windows install

Hello,
I have now gotten two emails about updating my storage node but all I can find is for the docker version.
How do I update my node for the Windows version?
Thanks.

Welcome to the forum @Harryw007!

Windows GUI version updates automatically between 12 to 72 hours. Can you check which version you are running ? It should be 0.34.6

Hi,
It says I am running version 0.33.4

Can you check if storagenode-updater service is running?

How do I check that?

Execute this command and show the result.

Get-Service storagenode*

Yes, I see the updater service is running

Check log for updater & show the result here.

cat -tail 20 ā€œ$env:ProgramFiles\Storj\Storage Node\storagenode-updater.logā€

Here is the output (I had to remove a lot of the links due to the 2 link limit):

2020-03-15T14:03:12.525Z INFO Downloading versions from (link removed)
2020-03-15T14:03:12.625Z INFO Start downloading (link removed)
2020-03-15T14:03:16.322Z INFO Finished downloading https://github.com/storj/storj/releases/download/v0.34.6/storagenode-updater_windows_amd64.exe.zip to C:\WINDOWS\TEMP\storagenode-updater010498018
2020-03-15T14:03:16.331Z ERROR Error updating storagenode-updater: open C:\Program Files\Storj\Storage Node\storagenode-updater.v0.34.6.exe: The file exists.
2020-03-15T14:18:04.997Z INFO Downloading versions from (link removed)
2020-03-15T14:18:05.422Z INFO Start downloading (link removed) to C:\WINDOWS\TEMP\storagenode300355545
2020-03-15T14:18:08.680Z INFO Finished downloading (link removed) to C:\WINDOWS\TEMP\storagenode300355545
2020-03-15T14:18:08.690Z ERROR Error updating storagenode: open C:\Program Files\Storj\Storage Node\storagenode.v0.34.6.exe: The file exists.
2020-03-15T14:18:08.690Z INFO Downloading versions from https://version.storj.io
2020-03-15T14:18:08.791Z INFO Start downloading (link removed) to C:\WINDOWS\TEMP\storagenode-updater162856292
2020-03-15T14:18:12.696Z INFO Finished downloading (link removed) to C:\WINDOWS\TEMP\storagenode-updater162856292
2020-03-15T14:18:12.704Z ERROR Error updating storagenode-updater: open C:\Program Files\Storj\Storage Node\storagenode-updater.v0.34.6.exe: The file exists.
2020-03-15T14:33:05.009Z INFO Downloading versions from (link removed)
2020-03-15T14:33:05.442Z INFO Start downloading (link removed) p to C:\WINDOWS\TEMP\storagenode522458483
2020-03-15T14:33:07.996Z INFO Finished downloading (link removed) to C:\WINDOWS\TEMP\storagenode522458483
2020-03-15T14:33:08.005Z ERROR Error updating storagenode: open C:\Program Files\Storj\Storage Node\storagenode.v0.34.6.exe: The file exists.
2020-03-15T14:33:08.005Z INFO Downloading versions from (link removed)
2020-03-15T14:33:08.109Z INFO Start downloading (link removed) to C:\WINDOWS\TEMP\storagenode-updater616259638
2020-03-15T14:33:09.714Z INFO Finished downloading (link removed) to C:\WINDOWS\TEMP\storagenode-updater616259638
2020-03-15T14:33:09.722Z ERROR Error updating storagenode-updater: open C:\Program Files\Storj\Storage Node\storagenode-updater.v0.34.6.exe: The file exists.

Please, execute in the elevated Powershell

Restart-Service storagenode-updater

Then check logs of the updater, is it able to update itself?
If not, then try to remove the file C:\Program Files\Storj\Storage Node\storagenode-updater.v0.34.6.exe and restart the storagenode-updater again

1 Like

Ok thanks, deleting the updater.v0.34.6.exe file and then restarting the service fixed it.

1 Like

Hi,

I also have the same problem, my node doesnt update itself and still running on v0.33.4
In the services, I saw that the updater is running, but when I check with that get-services in PS, it only shows the storagenode running. when I try to restart-service storagenode-updater it says "Node Updater cannot be stopped due to the following error: the service cant be openedā€¦
any ideas?

Welcome to the forum @Snake!

If you are trying to locate both storagenode and updater services then the correct command is :

Get-Service storagenode*

You are searching for storagenode and it showed you storagenode so nothing wrong with the command :slight_smile:

Thanks, true, now I see its running, but still doesnt update :smiley:

@Snake can you share your updaterā€™s logs, please? so we can take a look

Hi,
the last error was:
2020-03-24T21:34:20.699+0100 ERROR Error updating storagenode-updater: Unable to restart service:
C:\WINDOWS\system32>net stop storagenode-updater && net start storagenode-updater
ā€¦
A kiszolg lĖ˜t (Storj V3 Storage Node Updater) nem lehetett le llĖ‡tani. ā† means cannot be stopped

A szolg ltat s elindul vagy le ll. PrĖ˜b lja kā€šsā€¹bb Łjra. ā† means the service is started or stopped.Try again later
It seems its updated nowā€¦I have no idea why:

2020-03-24T23:30:11.694+0100 INFO Downloading versions from https://version.storj.io
2020-03-24T23:30:11.830+0100 INFO storagenode-updater version is up to date

but now my dashboard completly crashed, see the pictureā€¦also if I check the logs, there is completed up and downloads in it even if the dashboard says Iā€™m offline :slight_smile:

and as I can only post one picture in the reply, here is the storagenode.log so it says its offline, but still has up and downloads

Please, use a Ctrl-F5

Thanks! it solved :slight_smile:

1 Like

LOLā€™s ctrl-F5 , i just spent ages trying to work this out, restarting updater, deleting updaters, LOL