2nd node service will not start - process terminated unexpectedly

Manual start of service fails - error 1067: process terminated unexpectedly.

Is there a storagenode.log file for second node?

Yes, same errors as reported earlier.
2024-06-22T09:47:56-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 path specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the path specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the path specified.”, “errorVerbose”: "Error opening database on storagenode: group:\n— CreateFile I:\Storj v3 node 8\blobs: The system cannot find the path specified.\n— CreateFile I:\Storj v3 node 8\temp: The system cannot find the path specified.\n— CreateFile I:\Storj v3 node 8\trash: The system cannot find the path 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.ExecWithCustomOp

But the path appears wrong. should be i:\storagev3node8 and that directory has the proper subfolders

There is still spaces in the path. Check all path entries in config file.

…and in services panel if storegenode1 using this config file.

Config file is wrong. Corrected but service still fails.
How to tell which config file service is using?

be back in 45 minutes

Right click in services panel → Properties

1 Like

Service properties shows -
“C:\Program Files\Storj1\Storage Node\storagenode.exe” run --config-dir “C:\Program Files\Storj1\Storage Node\”

which looks correct.

Service use config in Program Files\Storj1 if it second node. in config you need to show it Storage proper location, because I see it search old location

it is the second node on this pc. Not sure what to check?

If it was linux it would most likely be a access right problem. But it’s windows so no more ideas here.

Port 28968 shows closed even thou I set firewall rules and did port forwarding.

Since exe is on the lan does that mean the port being closed would not effect the service?

If second storagenode doesn’t start there is nothing to respond at 28968. So from outside it’s looking closed.

1 Like

until service is running, you cant get port open. Chek that the storage folder is correct in config, also databse folder.

1 Like

Config shows -
storage.path: I:\StorageV3node8\

There is no database folder on the I drive

Databases are created at first successful start. If you don’t specify Storage2.Database-Dir they are in storage folder.

Storagenode.exe can not create temp folder so altough it is Windows this is looking like a access rights problem.

Config shows -
storage2.database-dir: “”
The is a revocations db file in the storage folder.

Revocations.db is from setup. All other DBs are created later.