# Storage node preflight database error: storage\_usage: expected schema does not match actual

**URL:** <https://forum.storj.io/t/storage-node-preflight-database-error-storage-usage-expected-schema-does-not-match-actual/5326>\
**Category:** troubleshooting\
**Tags:** preflight-check, database\
**Created:** [March 19, 2020, 11:41pm UTC](https://forum.storj.io/t/storage-node-preflight-database-error-storage-usage-expected-schema-does-not-match-actual/5326 "2020-03-19T23:41:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [March 21, 2020, 5:38pm UTC](https://forum.storj.io/t/storage-node-preflight-database-error-storage-usage-expected-schema-does-not-match-actual/5326/7 "2020-03-21T17:38:40Z")

</div>

Hello @bhj35,  
Welcome to the forum!

Your database is failed to pass preflight checks.

1. Stop the storagenode
2. Execute either with a local installed sqlite3 or with a docker container (for ref: [https://support.storj.io/hc/en-us/articles/360029309111-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-)):

```auto
sqlite3 storage_usage.db
drop table test_table;
.exit

```

1. Start the storagenode and check 20 lines of your logs again.

---

_[View the full topic](https://forum.storj.io/t/storage-node-preflight-database-error-storage-usage-expected-schema-does-not-match-actual/5326)._
