2nd node service will not start - process terminated unexpectedly

I’m trying to set up a second node (using the toolbox) on a Windows PC with a GUI node already running. I watched the youtube video and checked the forum. The first node setup went fine and is receiving ingress. The problem is the second node. Even thought I setup port forwarding and firewall rules (via copy and paste from the Storj node setup documentation and incremented the internal port to 28968), the port checker still says the port is closed. When starting the storagenode1 service it terminates unexpectedly.

How to open the port and get the service to run?

There are 3 ports that should be incremented. Did you?

console.address: 14003
contact.external-address: 28968
server.address: 28968
server.private-address: 7779

I did not do the server.address. I’ll look for it in the config file.

I corrected the miss spelled IP ddns name and corrected the server.address
I looked at the 1st node’s config file for comparison
so I added a \ to the end of the storage.path address ( match how the working node config file looks).
Did the same for Storage2,Database-Dir address
The contact.external-address should be “IP:myexternal port 46016:” , not 28968 as you indicated (as in the working config file)

However the port is still closed and the service still terminated unexpectedly

Thanks for your help.

Please check its logs. I suspect that you have duplicated keys in its config file.

missing IP/address and a colon, so it should look like:

console.address: :14003
contact.external-address: external.address:28968
server.address: :28968
server.private-address: 127.0.0.1:7779

From the log file -
2024-06-21T20:56:15-05:00 INFO Configuration loaded {“Location”: “C:\Program Files\Storj1\Storage Node\config.yaml”}
2024-06-21T20:56:15-05:00 INFO Anonymized tracing enabled
2024-06-21T20:56:15-05:00 INFO Operator email {“Address”: “mdmpriority@hotmail.com”}
2024-06-21T20:56:15-05:00 INFO Operator wallet {“Address”: “xxxxxxxxxxxxxx”}
2024-06-21T20:56:15-05:00 ERROR failure during run {“error”: “Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the file specified.”, “errorVerbose”: “Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the file specified.\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78”}
2024-06-21T20:56:15-05:00 FATAL Unrecoverable error {“error”: “Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the file specified.”, “errorVerbose”: “Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the file specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the file specified.\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:393\n\tstorj.io/common/process.cleanup.func1:411\n\tgithub.com/spf13/cobra.(*Command).execute:983\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1115\n\tgithub.com/spf13/cobra.(*Command).Execute:1039\n\tstorj.io/common/process.ExecWithCustomOptions:112\n\tstorj.io/common/process.ExecWithCustomConfigAndLogger:77\n\tstorj.io/common/process.ExecWithCustomConfig:72\n\tstorj.io/common/process.Exec:62\n\tmain.(*service).Execute.func1:107\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:78”}

from the config file -
console.address: 127.0.0.1:14003
contact.external-address: cryptoforall.ddns.net:46016
server.address: :28968
server.private-address: 127.0.0.1:7779

Port forwarding routes external port 46016 to internal port 28968

firewall rules specify TCP for local port 28968

This is mean that the setup was not performed for that node, so it’s missing mandatory files and a folders structure.
@Vadim we need your help here, what’s need to be done to allow the Toolbox to run storagenode.exe setup?

Yo need fill all needed info in install section, select node and push repear, then it will make folders also, if it not made it before. Also check than Identity signed, as it cant make folders and write check file but identity should be signed.

ok. Did repair. All 6 files are in identity.
Port still says closed and storagenode1 service still fails.

Did it made maps in storage folder?

no. folder is still empty.
2024-06-22T08:15:57-05:00 ERROR failure during run {“error”: "Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the file specified.

Can you try repear once more, but make folder without spaces or only to I:
I think it dont like spaces in name.

1 Like

Tried without spaces. service still fails
Tried just I: but toolbox says add storage path
Tried I:\ but service still fails

The I: data path now has folders for blobs, temp, tempconfig, trash, and Storage-dir-verification file and a second Storj folder with blobs, temp, and trash, and a second Storjv3node 8 folder
Should I just format the drive and start over?

I always use toolbox as admin. Not sure what happens if you are not… :thinking:

The icon shows a shield so I assume it runs as admin when clicked

Is there a second service in services panel?

Yes, services panel shows two -
Storj V3 Storage Node (running) and storagenode1 (not running and automatic)

What happens when starting it manually?