STORAGENODE, a storageupdater problems on gui Windows

Where are the storagenoded-updater logs?

Default location is C:\Program Files\Storj\Storage Node\storagenode-updater.log

image

2023-06-07T09:57:46.435-0500 INFO Stop/Shutdown request received. {Process: storagenode-updater}
2023-06-07T09:57:57.253-0500 INFO Running on version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T09:57:57.254-0500 INFO Downloading versions. {Process: storagenode-updater, Server Address: https://version.storj.io}
2023-06-07T09:57:57.570-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode, Version: v1.77.2}
2023-06-07T09:57:57.570-0500 INFO Download started. {Process: storagenode-updater, From: https://github.com/storj/storj/releases/download/v1.78.3/storagenode_windows_amd64.zip, To: C:\WINDOWS\TEMP\storagenode_windows_amd64.4056310916.zip}
2023-06-07T09:57:58.442-0500 ERROR Error updating service. {Process: storagenode-updater, Service: storagenode, error: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists., errorVerbose: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists.\n\tmain.downloadBinary:61\n\tmain.update:39\n\tmain.loopFunc:31\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tmain.cmdRun:136\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:56\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75}
2023-06-07T09:57:58.519-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T09:57:58.519-0500 INFO Version is up to date {Process: storagenode-updater, Service: storagenode-updater}
2023-06-07T10:12:57.267-0500 INFO Downloading versions. {Process: storagenode-updater, Server Address: https://version.storj.io}
2023-06-07T10:12:57.485-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode, Version: v1.77.2}
2023-06-07T10:12:57.485-0500 INFO Download started. {Process: storagenode-updater, From: https://github.com/storj/storj/releases/download/v1.78.3/storagenode_windows_amd64.zip, To: C:\WINDOWS\TEMP\storagenode_windows_amd64.119118211.zip}
2023-06-07T10:12:58.311-0500 ERROR Error updating service. {Process: storagenode-updater, Service: storagenode, error: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists., errorVerbose: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists.\n\tmain.downloadBinary:61\n\tmain.update:39\n\tmain.loopFunc:31\n\tstorj.io/common/sync2.(*Cycle).Run:160\n\tmain.cmdRun:136\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:56\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75}
2023-06-07T10:12:58.405-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T10:12:58.405-0500 INFO Version is up to date {Process: storagenode-updater, Service: storagenode-updater}
2023-06-07T10:27:57.267-0500 INFO Downloading versions. {Process: storagenode-updater, Server Address: https://version.storj.io}
2023-06-07T10:27:57.489-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode, Version: v1.77.2}
2023-06-07T10:27:57.489-0500 INFO Download started. {Process: storagenode-updater, From: https://github.com/storj/storj/releases/download/v1.78.3/storagenode_windows_amd64.zip, To: C:\WINDOWS\TEMP\storagenode_windows_amd64.3055548511.zip}
2023-06-07T10:27:58.571-0500 ERROR Error updating service. {Process: storagenode-updater, Service: storagenode, error: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists., errorVerbose: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists.\n\tmain.downloadBinary:61\n\tmain.update:39\n\tmain.loopFunc:31\n\tstorj.io/common/sync2.(*Cycle).Run:160\n\tmain.cmdRun:136\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:56\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75}
2023-06-07T10:27:58.648-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T10:27:58.648-0500 INFO Version is up to date {Process: storagenode-updater, Service: storagenode-updater}

This error points to the storagenode service being stopped whilst the update is trying to occur. You could also rename the C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe file.

You need to stop the storagenode service. Then restart the storagenode-updater service.

I see that v1.79.4.0 file is in the storage node folder. so why is it not being installed?

The storagenode service is not stopped. Please stop the service. It cannot be upgraded until it’s stopped.

how long should I wait before restarting the storagenode service after restarting the updater?

updater show that you are up to date, you now have 1.79.4 make f5 in brouser

023-06-07T10:27:58.648-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T10:27:58.648-0500 INFO Version is up to date

That’s just the updater not the actual node.

The updater service will restart the node, you should not restart it. Wait at least 15 minutes.

Edit - you can check the storagenode-updater.log file for progress.

F5 done. no change. dashboard still says v1.77.2. Tried restarting storagenode service. no change still v1.77.2

Sorry did not wait 15 minutes.

you need to kill storanode in task manager
then updater will be able to update it
storranode 1.77.2 cant be stoped in services

You download it form github relesess:

You choose version:

You click “Assets”

and for windows GUI its usually
“storagenode_windows_amd64.msi.zip”

and You unpack it, and You double click the .msi file, its like exe.
And it will update Your storj node version.

Killed storaenode via task manager. Now waiting for auto update of version.

Task manager says storagenode service is running again butdashboard still says v1.77.2 and uptime is increasing.

Should I change the storagenode service to manual and stop the service so it gives the updater time to work?

Please show the newest entries of the storagenode-updater.log file. It could be the updater is erroring because the .zip file is already extracted. In that case you should delete any file of storagenode.version.exe in the folder. Stop the storagenode service. Let the updater run.

2023-06-07T11:01:17.545-0500 INFO Version is up to date {Process: storagenode-updater, Service: storagenode-updater}
2023-06-07T11:16:16.222-0500 INFO Downloading versions. {Process: storagenode-updater, Server Address: https://version.storj.io}
2023-06-07T11:16:16.711-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode, Version: v1.77.2}
2023-06-07T11:16:16.711-0500 INFO Download started. {Process: storagenode-updater, From: https://github.com/storj/storj/releases/download/v1.78.3/storagenode_windows_amd64.zip, To: C:\WINDOWS\TEMP\storagenode_windows_amd64.3420075910.zip}
2023-06-07T11:16:17.596-0500 ERROR Error updating service. {Process: storagenode-updater, Service: storagenode, error: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists., errorVerbose: open C:\Program Files\Storj\Storage Node\storagenode.1.78.3.exe: The file exists.\n\tmain.downloadBinary:61\n\tmain.update:39\n\tmain.loopFunc:31\n\tstorj.io/common/sync2.(*Cycle).Run:160\n\tmain.cmdRun:136\n\tstorj.io/private/process.cleanup.func1.4:399\n\tstorj.io/private/process.cleanup.func1:417\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomOptions:113\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:79\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:56\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75}
2023-06-07T11:16:17.680-0500 INFO Current binary version {Process: storagenode-updater, Service: storagenode-updater, Version: v1.79.4}
2023-06-07T11:16:17.680-0500 INFO Version is up to date {Process: storagenode-updater, Service: storagenode-updater}

Yes, please delete this file - storagenode.1.78.3.exe