Seems you didn’t install the first node with the installer.
You have a few options in that case:
- Remove one of the services with
sc.exe delete NODESERVICENAME
(the service NODESERVICENAME should be stopped) and install this node using the MSI package, but please do not change the installation location, or you need to remove the current folder with existing files, otherwise the installer will fail. - try to register the
storagenode-updater
service either withsc.exe
or with the PowerShellNew-Service
command, you need to provide your paths to the binary location and the service name for storagenode, which it should handle with the--service-name
option (by default it’sstoragenode
).
If you want to go with the second way, you may try to create an updater for each node.
My service is installed with these parameters:
> sc.exe qc storagenode-updater
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: storagenode-updater
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program Files\Storj\Storage Node\storagenode-updater.exe" run --config-dir "C:\Program Files\Storj\Storage Node\\" --binary-location "C:\Program Files\Storj\Storage Node\storagenode.exe" --log.output "winfile:///C:\Program Files\Storj\Storage Node\storagenode-updater.log"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Storj V3 Storage Node Updater
DEPENDENCIES : LanmanServer
: Dnscache
SERVICE_START_NAME : LocalSystem
You need to adjust your paths and names and do not forget to add a --service-name
option with the name of the handled storagenode service.