# ERROR failure during run

**URL:** <https://forum.storj.io/t/error-failure-during-run/27609>\
**Category:** troubleshooting\
**Tags:** file-permissions, corrupted-filesystem, unraid, database\
**Created:** [August 24, 2024, 6:30pm UTC](https://forum.storj.io/t/error-failure-during-run/27609 "2024-08-24T18:30:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 24, 2024, 6:30pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/1 "2024-08-24T18:30:48Z")

</div>

Hi. One of my node suddently go down out og the blue.  
Node running on Unraid. No powerloss or restart.  
The parameters setup is right to where the config is.  
Cant figure it out whats wrong.

Log shows this:

2024-08-24T20:10:44+02:00 ERROR failure during run {“Process”: “storagenode”, “error”: “Error opening database on storagenode: database: info opening file "config/storage/info.db" failed: unable to open database file: no such file or directory\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabaseWithStat:407\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabase:384\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openExistingDatabase:379\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabases:354\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:319\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271”, “errorVerbose”: “Error opening database on storagenode: database: info opening file "config/storage/info.db" failed: unable to open database file: no such file or directory\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabaseWithStat:407\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabase:384\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openExistingDatabase:379\n\tstorj.io/storj/storagenode/storagenodedb.(\*DB).openDatabases:354\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:319\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271\n\tmain.cmdRun:69\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271”}  
Error: Error opening database on storagenode: database: info opening file “config/storage/info.db” failed: unable to open database file: no such file or directory

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_449c533f586939b6e5f246632a46421f.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [August 24, 2024, 6:37pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/2 "2024-08-24T18:37:22Z")

</div>

looks like DB is corrupted or lost access to it. does your DB on DATA location or SSD?

---

<div class="post-metadata">

**Author:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 24, 2024, 6:38pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/3 "2024-08-24T18:38:40Z")

</div>

It’s on data location. Docker have premission to the files

---

<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:** [August 25, 2024, 2:46am UTC](https://forum.storj.io/t/error-failure-during-run/27609/4 "2024-08-25T02:46:32Z")

</div>

Hello @SRS,  
Welcome back!

Could you please show the list with `ls -l` for the `storage` subfolder of your data location?

Please also run `fsck` or likely `xfs_repair` for the disk(s) of your data location.

I would also recommend to check all databases after the FS is fixed:

> **[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:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 25, 2024, 1:09pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/5 "2024-08-25T13:09:54Z")

</div>

![Skjermbilde 2024-08-25 150803](https://storj-s3.bcdn.literatehosting.net/original/3X/f/a/fa99214024c317933f7a0711f884f1eb59ebe6fc.png)

---

<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:** [August 25, 2024, 2:09pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/6 "2024-08-25T14:09:07Z")

</div>

Ok. So you can safely remove the `--user` option in your `docker run` command.  
However, I do not see any databases here. Did you also moved them?

---

<div class="post-metadata">

**Author:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 25, 2024, 4:01pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/7 "2024-08-25T16:01:09Z")

</div>

![Skjermbilde 2024-08-25 175936](https://storj-s3.bcdn.literatehosting.net/original/3X/e/2/e259bc9a692afb1da8bc51bf07cd6d56141d5803.png)

Databases is under storage. Have not moved them. Always been like this. also on my other nodes.

Here is my docker run parameter:

–mount type=bind,source=“/mnt/user/Storj/id/storagenode/”,destination=/app/identity --mount type=bind,source=“/mnt/user/Storj/Storage/”,destination=/app/config --restart unless-stopped

---

<div class="post-metadata">

**Author:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 25, 2024, 5:27pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/8 "2024-08-25T17:27:22Z")

</div>

Here is full logg:

```auto
2024-08-25T19:05:43+02:00 INFO Configuration loaded {"Process": "storagenode-updater", "Location": "/app/config/config.yaml"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "contact.external-address"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "server.private-address"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "storage.allocated-bandwidth"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "storage.allocated-disk-space"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "server.address"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "operator.email"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "server.debug-log-traffic"}
2024-08-25T19:05:43+02:00 INFO Invalid configuration file key {"Process": "storagenode-updater", "Key": "operator.wallet"}
2024-08-25T19:05:43+02:00 INFO Anonymized tracing enabled {"Process": "storagenode-updater"}
2024-08-25T19:05:43+02:00 INFO Running on version {"Process": "storagenode-updater", "Service": "storagenode-updater", "Version": "v1.111.4"}
2024-08-25T19:05:43+02:00 INFO Downloading versions. {"Process": "storagenode-updater", "Server Address": "https://version.storj.io"}
2024-08-25T19:05:43+02:00 INFO Configuration loaded {"Process": "storagenode", "Location": "/app/config/config.yaml"}
2024-08-25T19:05:43+02:00 INFO Anonymized tracing enabled {"Process": "storagenode"}
2024-08-25T19:05:43+02:00 INFO Operator email {"Process": "storagenode", "Address": "XXXX"}
2024-08-25T19:05:43+02:00 INFO Operator wallet {"Process": "storagenode", "Address": "XXXX"}
2024-08-25T19:05:43+02:00 ERROR failure during run {"Process": "storagenode", "error": "Error opening database on storagenode: database: info opening file \"config/storage/info.db\" failed: unable to open database file: no such file or directory\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabaseWithStat:407\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:384\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:379\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:354\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:319\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271", "errorVerbose": "Error opening database on storagenode: database: info opening file \"config/storage/info.db\" failed: unable to open database file: no such file or directory\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabaseWithStat:407\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:384\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:379\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:354\n\tstorj.io/storj/storagenode/storagenodedb.OpenExisting:319\n\tmain.cmdRun:67\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271\n\tmain.cmdRun:69\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.cleanup.func1.4:392\n\tstorj.io/common/process.cleanup.func1:410\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:271"}
Error: Error opening database on storagenode: database: info opening file "config/storage/info.db" failed: unable to open database file: no such file or directory
        storj.io/storj/storagenode/storagenodedb.(*DB).openDatabaseWithStat:407
        storj.io/storj/storagenode/storagenodedb.(*DB).openDatabase:384
        storj.io/storj/storagenode/storagenodedb.(*DB).openExistingDatabase:379
        storj.io/storj/storagenode/storagenodedb.(*DB).openDatabases:354
        storj.io/storj/storagenode/storagenodedb.OpenExisting:319
        main.cmdRun:67
        main.newRunCmd.func1:33
        storj.io/common/process.cleanup.func1.4:392
        storj.io/common/process.cleanup.func1:410
        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:271
2024-08-25 19:05:43,907 INFO exited: storagenode (exit status 1; not expected)

```

.  
.  
.  
.  
.  
.  
When i’m trying to take the integrity check i getting this message:  
.  
.  
.

```auto
root@Tower:/mnt/user/Storj/Storage/storage# find /mnt/user/Storj/Storage/storage -maxdepth 1 -iname "*.db" -print0 -exec sqlite3 '{}' 'PRAGMA integrity_check;' ';'
/mnt/user/Storj/Storage/storage/secret.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/reputation.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/satellites.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/storage_usage.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/used_serial.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/used_space_per_prefix.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/bandwidth.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/garbage_collection_filewalker_progress.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/heldamount.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/info.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/notifications.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/orders.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/piece_expiration.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/piece_spaced_used.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/pieceinfo.dbError: in prepare, unable to open database file (14)
/mnt/user/Storj/Storage/storage/pricing.dbError: in prepare, unable to open database file (14)

```

---

<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:** [August 26, 2024, 3:48am UTC](https://forum.storj.io/t/error-failure-during-run/27609/9 "2024-08-26T03:48:50Z")

</div>

Then I would recommend to stop the node and run the `xfs_repair` command for this disk, seems the filesystem is corrupted.

---

<div class="post-metadata">

**Author:** ![SRS](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/srs/32/65_2.png) [@SRS](https://forum.storj.io/u/SRS)\
**Post date:** [August 27, 2024, 5:04pm UTC](https://forum.storj.io/t/error-failure-during-run/27609/10 "2024-08-27T17:04:30Z")

</div>

The xfs\_repair did the trick and node is up and running again. Thanks
