I met the problem after moving of the node from one PC ti another. I worked well before it.
What can be the problem? Some kind of access rights? Another node has been mooved in same time without any problems.
C:\Windows\system32>docker run -d --restart unless-stopped --stop-timeout 300 -p 192.168.2.33:28968:28967/tcp -p 192.168.2.33:28968:28967/udp -p 127.0.0.1:14005:14002 -e WALLET="0xE158e01cDb77F9f220d8359335Fe0b75799829AA" -e EMAIL="7437493@gmail.com" -e ADDRESS="95.84.184.242:28968" -e STORAGE="16.3TB" --mount type=bind,source="G:\Identity\storagenode D1.7",destination=/app/identity --mount type=bind,source="G:\StorjD1.7",destination=/app/config --name storagenodeD1.7 storjlabs/storagenode:latest --operator.wallet-features="zksync-era"
b817a5652ff16ee40742fb013426e25d1b87ae57c4d41fe536fb13ce31d5a6c7
C:\Windows\system32>docker logs --tail 50 storagenodeD1.7
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:267
2024-05-29 11:11:32,191 INFO exited: storagenode (exit status 1; not expected)
2024-05-29 11:11:33,193 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-29 11:11:33,194 INFO spawned: 'storagenode' with pid 72
2024-05-29 11:11:33,195 INFO success: storagenode-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-29T11:11:33Z INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-05-29T11:11:33Z INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-05-29T11:11:33Z INFO Operator email {"Process": "storagenode", "Address": "7437493@gmail.com"}
2024-05-29T11:11:33Z INFO Operator wallet {"Process": "storagenode", "Address": "0xE158e01cDb77F9f220d8359335Fe0b75799829AA"}
2024-05-29T11:11:33Z ERROR failure during run {"Process": "storagenode", "error": "Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied\n\tstorj.io/storj/private/kvstore/boltdb.New:43\n\tstorj.io/storj/private/revocation.openDBBolt:52\n\tstorj.io/storj/private/revocation.OpenDB:35\n\tstorj.io/storj/private/revocation.OpenDBFromCfg:23\n\tmain.cmdRun:74\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\tmain.main:34\n\truntime.main:267", "errorVerbose": "Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied\n\tstorj.io/storj/private/kvstore/boltdb.New:43\n\tstorj.io/storj/private/revocation.openDBBolt:52\n\tstorj.io/storj/private/revocation.OpenDB:35\n\tstorj.io/storj/private/revocation.OpenDBFromCfg:23\n\tmain.cmdRun:74\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\tmain.main:34\n\truntime.main:267\n\tmain.cmdRun:76\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\tmain.main:34\n\truntime.main:267"}
Error: Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied
storj.io/storj/private/kvstore/boltdb.New:43
storj.io/storj/private/revocation.openDBBolt:52
storj.io/storj/private/revocation.OpenDB:35
storj.io/storj/private/revocation.OpenDBFromCfg:23
main.cmdRun:74
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:393
storj.io/common/process.cleanup.func1:411
github.com/spf13/cobra.(*Command).execute:983
github.com/spf13/cobra.(*Command).ExecuteC:1115
github.com/spf13/cobra.(*Command).Execute:1039
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:267
2024-05-29 11:11:33,889 INFO exited: storagenode (exit status 1; not expected)
2024-05-29 11:11:35,893 INFO spawned: 'storagenode' with pid 80
2024-05-29T11:11:35Z INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-05-29T11:11:35Z INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-05-29T11:11:35Z INFO Operator email {"Process": "storagenode", "Address": "7437493@gmail.com"}
2024-05-29T11:11:35Z INFO Operator wallet {"Process": "storagenode", "Address": "0xE158e01cDb77F9f220d8359335Fe0b75799829AA"}
2024-05-29T11:11:36Z ERROR failure during run {"Process": "storagenode", "error": "Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied\n\tstorj.io/storj/private/kvstore/boltdb.New:43\n\tstorj.io/storj/private/revocation.openDBBolt:52\n\tstorj.io/storj/private/revocation.OpenDB:35\n\tstorj.io/storj/private/revocation.OpenDBFromCfg:23\n\tmain.cmdRun:74\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\tmain.main:34\n\truntime.main:267", "errorVerbose": "Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied\n\tstorj.io/storj/private/kvstore/boltdb.New:43\n\tstorj.io/storj/private/revocation.openDBBolt:52\n\tstorj.io/storj/private/revocation.OpenDB:35\n\tstorj.io/storj/private/revocation.OpenDBFromCfg:23\n\tmain.cmdRun:74\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\tmain.main:34\n\truntime.main:267\n\tmain.cmdRun:76\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\tmain.main:34\n\truntime.main:267"}
Error: Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied
storj.io/storj/private/kvstore/boltdb.New:43
storj.io/storj/private/revocation.openDBBolt:52
storj.io/storj/private/revocation.OpenDB:35
storj.io/storj/private/revocation.OpenDBFromCfg:23
main.cmdRun:74
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:393
storj.io/common/process.cleanup.func1:411
github.com/spf13/cobra.(*Command).execute:983
github.com/spf13/cobra.(*Command).ExecuteC:1115
github.com/spf13/cobra.(*Command).Execute:1039
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:267
2024-05-29 11:11:36,681 INFO exited: storagenode (exit status 1; not expected)
Donât rename any of the other dbâs. Others wonât just get recreated. Run chkdsk first as @JWvdV mentioned. Multiple issues suggests file system issues. If that doesnât resolve it, we can check back with other suggestions.
C:\Users\Storj M1>docker logs --tail 50 storagenodeD1.7
2024-05-29 16:31:08,529 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-29 16:31:08,529 INFO success: storagenode entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-29 16:31:08,529 INFO success: storagenode-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-29T16:31:09Z INFO Telemetry enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T16:31:09Z INFO Event collection enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T16:31:09Z INFO db.migration Database Version {"Process": "storagenode", "version": 57}
2024-05-29T16:31:09Z ERROR failure during run {"Process": "storagenode", "error": "Error during preflight check for storagenode databases: preflight: database \"info\": failed create test_table: attempt to write a readonly database\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:459\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393\n\tmain.cmdRun:113\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\tmain.main:34\n\truntime.main:267", "errorVerbose": "Error during preflight check for storagenode databases: preflight: database \"info\": failed create test_table: attempt to write a readonly database\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:459\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393\n\tmain.cmdRun:113\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\tmain.main:34\n\truntime.main:267\n\tmain.cmdRun:115\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\tmain.main:34\n\truntime.main:267"}
Error: Error during preflight check for storagenode databases: preflight: database "info": failed create test_table: attempt to write a readonly database
storj.io/storj/storagenode/storagenodedb.(*DB).preflight:459
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393
main.cmdRun:113
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:393
storj.io/common/process.cleanup.func1:411
github.com/spf13/cobra.(*Command).execute:983
github.com/spf13/cobra.(*Command).ExecuteC:1115
github.com/spf13/cobra.(*Command).Execute:1039
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:267
2024-05-29 16:31:09,959 INFO exited: storagenode (exit status 1; not expected)
2024-05-29 16:31:10,962 INFO spawned: 'storagenode' with pid 40
2024-05-29 16:31:10,963 WARN received SIGQUIT indicating exit request
2024-05-29 16:31:10,963 INFO waiting for storagenode, processes-exit-eventlistener, storagenode-updater to die
2024-05-29T16:31:10Z INFO Got a signal from the OS: "terminated" {"Process": "storagenode-updater"}
2024-05-29 16:31:10,966 INFO stopped: storagenode-updater (exit status 0)
2024-05-29T16:31:11Z INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-05-29T16:31:11Z INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-05-29T16:31:11Z INFO Operator email {"Process": "storagenode", "Address": "7437493@gmail.com"}
2024-05-29T16:31:11Z INFO Operator wallet {"Process": "storagenode", "Address": "0xE158e01cDb77F9f220d8359335Fe0b75799829AA"}
2024-05-29T16:31:12Z INFO server kernel support for tcp fast open unknown {"Process": "storagenode"}
2024-05-29T16:31:12Z INFO Telemetry enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T16:31:12Z INFO Event collection enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T16:31:13Z INFO db.migration Database Version {"Process": "storagenode", "version": 57}
2024-05-29T16:31:13Z ERROR failure during run {"Process": "storagenode", "error": "Error during preflight check for storagenode databases: preflight: database \"bandwidth\": failed create test_table: attempt to write a readonly database\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:459\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393\n\tmain.cmdRun:113\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\tmain.main:34\n\truntime.main:267", "errorVerbose": "Error during preflight check for storagenode databases: preflight: database \"bandwidth\": failed create test_table: attempt to write a readonly database\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:459\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393\n\tmain.cmdRun:113\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\tmain.main:34\n\truntime.main:267\n\tmain.cmdRun:115\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\tmain.main:34\n\truntime.main:267"}
Error: Error during preflight check for storagenode databases: preflight: database "bandwidth": failed create test_table: attempt to write a readonly database
storj.io/storj/storagenode/storagenodedb.(*DB).preflight:459
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:393
main.cmdRun:113
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:393
storj.io/common/process.cleanup.func1:411
github.com/spf13/cobra.(*Command).execute:983
github.com/spf13/cobra.(*Command).ExecuteC:1115
github.com/spf13/cobra.(*Command).Execute:1039
storj.io/common/process.ExecWithCustomOptions:112
main.main:34
runtime.main:267
2024-05-29 16:31:13,809 INFO stopped: storagenode (exit status 1)
2024-05-29 16:31:13,812 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)
Seems a files permissions issue. If you use docker for Windows, you need to apply the write, list, delete, update and read permissions to the data location recursively to your user. It would be useful to change the owner to your user too. This is one of the main differences between a docker setup and the Windows service setup - under docker it would use the userâs permissions, under service it must be SYSTEM.
Please also check that in your data location all databases (except revocation.db), blobs, trash, etc. folders under the storage subfolder (because docker setup would expect them there).