# Error opening revocation database: revocation database: boltdb: open config/revocations.db: permission denied

**URL:** <https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399>\
**Category:** troubleshooting\
**Tags:** database\
**Created:** [May 29, 2024, 11:17am UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399 "2024-05-29T11:17:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aka985](https://storj.bcdn.literatehosting.com/letter_avatar/aka985/32/6_449c533f586939b6e5f246632a46421f.png) [@Aka985](https://forum.storj.io/u/Aka985)\
**Post date:** [May 29, 2024, 11:17am UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/1 "2024-05-29T11:17:27Z")

</div>

Hello Sirs!

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.

```auto
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)

```

Regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [May 29, 2024, 11:29am UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/2 "2024-05-29T11:29:38Z")

</div>

You can just rename the revocations.db. It will recreate it. Stop your node, rename the file, start it again. That should resolve it.

---

<div class="post-metadata">

**Author:** ![Aka985](https://storj.bcdn.literatehosting.com/letter_avatar/aka985/32/6_449c533f586939b6e5f246632a46421f.png) [@Aka985](https://forum.storj.io/u/Aka985)\
**Post date:** [May 29, 2024, 12:13pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/3 "2024-05-29T12:13:12Z")

</div>

I did, now it asks some db.migration.To do same way? Ther it is located?

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/8/5/85d3d54a2d826a44161585f192755588f13a92ad.jpeg)

```auto
C:\Users\Storj M1>docker logs --tail 50 storagenodeD1.7
2024-05-29T12:08:55Z INFO server kernel support for tcp fast open unknown {"Process": "storagenode"}
2024-05-29T12:08:55Z INFO Telemetry enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T12:08:55Z INFO Event collection enabled {"Process": "storagenode", "instance ID": "1yigmfSVHL8YV8rqrGW38khrgSNpg4Ch29Lp2FXvGdw7iLixyG"}
2024-05-29T12:08:55Z INFO db.migration Database Version {"Process": "storagenode", "version": 57}
2024-05-29T12:08:55Z ERROR failure during run {"Process": "storagenode", "error": "Error during preflight check for storagenode databases: preflight: database \"notifications\": 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 \"notifications\": 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 "notifications": 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 12:08:55,823 INFO exited: storagenode (exit status 1; not expected)
2024-05-29 12:08:56,824 INFO gave up: storagenode entered FATAL state, too many start retries too quickly
2024-05-29 12:08:57,826 WARN received SIGQUIT indicating exit request
2024-05-29 12:08:57,827 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
2024-05-29T12:08:57Z INFO Got a signal from the OS: "terminated" {"Process": "storagenode-updater"}
2024-05-29 12:08:57,829 INFO stopped: storagenode-updater (exit status 0)
2024-05-29 12:08:58,833 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)
2024-05-29 12:09:00,571 INFO Set uid to user 0 succeeded
2024-05-29 12:09:00,579 INFO RPC interface 'supervisor' initialized
2024-05-29 12:09:00,579 INFO supervisord started with pid 1
2024-05-29 12:09:01,582 INFO spawned: 'processes-exit-eventlistener' with pid 11
2024-05-29 12:09:01,587 INFO spawned: 'storagenode' with pid 12
2024-05-29 12:09:01,593 INFO spawned: 'storagenode-updater' with pid 13
2024-05-29T12:09:01Z INFO Configuration loaded {"Process": "storagenode-updater", "Location": "/app/config/config.yaml"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "server.address"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "operator.email"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "contact.external-address"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "storage.allocated-disk-space"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "storage.allocated-bandwidth"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "console.address"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "operator.wallet"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "healthcheck.enabled"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "operator.wallet-features"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "healthcheck.details"}
2024-05-29T12:09:01Z INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "server.private-address"}
2024-05-29T12:09:01Z INFO Anonymized tracing enabled {"Process": "storagenode-updater"}
2024-05-29T12:09:01Z INFO Running on version {"Process": "storagenode-updater", "Service": "storagenode-updater", "Version": "v1.104.5"}
2024-05-29T12:09:01Z INFO Downloading versions. {"Process": "storagenode-updater", "Server Address": "https://version.storj.io"}
2024-05-29T12:09:01Z INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-05-29T12:09:01Z INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-05-29T12:09:01Z INFO Operator email {"Process": "storagenode", "Address": "7437493@gmail.com"}
2024-05-29T12:09:01Z INFO Operator wallet {"Process": "storagenode", "Address": "0xE158e01cDb77F9f220d8359335Fe0b75799829AA"}

```

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 29, 2024, 1:17pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/4 "2024-05-29T13:17:35Z")

</div>

Might they’re be a file system problem, and the device remounted read-only? Perhaps unmount, fsck and remount?

---

<div class="post-metadata">

**Author:** ![Aka985](https://storj.bcdn.literatehosting.com/letter_avatar/aka985/32/6_449c533f586939b6e5f246632a46421f.png) [@Aka985](https://forum.storj.io/u/Aka985)\
**Post date:** [May 29, 2024, 1:31pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/5 "2024-05-29T13:31:18Z")

</div>

It is Windows, could you, kindly help how to check in Win?

ср, 29 мая 2024 г., 16:27 JWvdV via Storj Community Forum (official) \<[storj@literatehosting.com](mailto:storj@literatehosting.com)\>:

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 29, 2024, 1:44pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/6 "2024-05-29T13:44:50Z")

</div>

> [@Aka985](#):
>
> It is Windows

That’s the first failure of course 😉

But:

```auto
Chkdsk {D,E,F,...}:\ /x

```

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [May 29, 2024, 1:47pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/7 "2024-05-29T13:47:35Z")

</div>

> [@Aka985](#):
>
> I did, now it asks some db.migration.To do same way? Ther it is located?

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.

---

<div class="post-metadata">

**Author:** ![Aka985](https://storj.bcdn.literatehosting.com/letter_avatar/aka985/32/6_449c533f586939b6e5f246632a46421f.png) [@Aka985](https://forum.storj.io/u/Aka985)\
**Post date:** [May 29, 2024, 4:16pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/8 "2024-05-29T16:16:36Z")

</div>

Ok, I did, chkdsdk found no problem  
 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/7/9/796b37d2e9c592341b2c2ed8431511925a481ef2.png)

---

<div class="post-metadata">

**Author:** ![JWvdV](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jwvdv/32/7814_2.png) [@JWvdV](https://forum.storj.io/u/JWvdV)\
**Post date:** [May 29, 2024, 5:43pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/9 "2024-05-29T17:43:05Z")

</div>

Restart the node, and see what happens. Come back if the problem persists.

---

<div class="post-metadata">

**Author:** ![Aka985](https://storj.bcdn.literatehosting.com/letter_avatar/aka985/32/6_449c533f586939b6e5f246632a46421f.png) [@Aka985](https://forum.storj.io/u/Aka985)\
**Post date:** [May 29, 2024, 6:34pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/10 "2024-05-29T18:34:38Z")

</div>

Looks it is still same mistake:

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [May 29, 2024, 7:40pm UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/11 "2024-05-29T19:40:59Z")

</div>

Please follow instructions on this page to check all your databases for issues.

> **[How to fix a "database disk image is malformed"](https://support.storj.io/hc/en-us/articles/360029309111-How-to-fix-a-database-disk-image-is-malformed)**
>
> Problem
> Sometimes a Storage Node Operator may encounter the "database disk image is malformed" error in their log. This could happen during unplanned shutdown or reboot. The error indicates that on...

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 30, 2024, 6:29am UTC](https://forum.storj.io/t/error-opening-revocation-database-revocation-database-boltdb-open-config-revocations-db-permission-denied/26399/12 "2024-05-30T06:29:00Z")

</div>

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).
