Error on startup

hello, suddenly this problem appeared:

2022-12-09T13:31:21.762+0200 INFO Configuration loaded {“Location”: “C:\Program Files\Storj\Storage Node\config.yaml”}
2022-12-09T13:31:21.775+0200 INFO Anonymized tracing enabled
2022-12-09T13:31:21.778+0200 INFO Operator email {“Address”: “email@email”}
2022-12-09T13:31:21.778+0200 INFO Operator wallet {“Address”: “****”}
2022-12-09T13:31:21.843+0200 FATAL Unrecoverable error {“error”: “Error starting master database on storagenode: database: notifications opening file "E:\\_STORJ\\notifications.db" failed: unable to open database file: The system cannot find the file specified.\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:324\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:306\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:281\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:248\n\tmain.cmdRun:193\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\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.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”, “errorVerbose”: “Error starting master database on storagenode: database: notifications opening file "E:\\_STORJ\\notifications.db" failed: unable to open database file: The system cannot find the file specified.\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:324\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:306\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:281\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:248\n\tmain.cmdRun:193\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\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.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75\n\tmain.cmdRun:195\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\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.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”}

Hi @olympios
How old is the node? Is the E:\ drive accessible? Can you browse to E:_Storj\ and see the .db files?

the node is ~9month old, i have access to E:, i see the files normaly
image

Is E:\ a USB drive? It might be permissions - what ‘user’ does the storagenode service run as?

its not a USB drive, its an internal hdd, 1 user only, admin

I would run chkdsk /f on the E:\ drive as the log error reports the .db file(s) can’t be found, but they show in File Explorer.

2 Likes

that i do right now, its a 3TB drive, i’m waiting for the resuls, thanx for the answers!

after a chkdisk, node is running again, thanx for the help!

3 Likes