# Error executing logfile maintenance:org.sqlite.SQLiteException: \[SQLITE\_CORRUPT\] The database disk image is malformed (database disk image is malformed)

**URL:** <https://forum.inductiveautomation.com/t/error-executing-logfile-maintenance-org-sqlite-sqliteexception-sqlite-corrupt-the-database-disk-image-is-malformed-database-disk-image-is-malformed/59200>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 4, 2022, 8:58am UTC](https://forum.inductiveautomation.com/t/error-executing-logfile-maintenance-org-sqlite-sqliteexception-sqlite-corrupt-the-database-disk-image-is-malformed-database-disk-image-is-malformed/59200 "2022-05-04T08:58:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bao.nguyen](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bao.nguyen](https://forum.inductiveautomation.com/u/bao.nguyen)\
**Post date:** [May 27, 2025, 6:50am UTC](https://forum.inductiveautomation.com/t/error-executing-logfile-maintenance-org-sqlite-sqliteexception-sqlite-corrupt-the-database-disk-image-is-malformed-database-disk-image-is-malformed/59200/3 "2025-05-27T06:50:16Z")

</div>

Hi,  
Thank you sharing your solution.  
Just a clarification - I **deleted** the "system\_logs.idb" and then **restarted** the gateway.  
After those two steps, the gateway logs started to appear as normal.  
Cheers.

---

_[View the full topic](https://forum.inductiveautomation.com/t/error-executing-logfile-maintenance-org-sqlite-sqliteexception-sqlite-corrupt-the-database-disk-image-is-malformed-database-disk-image-is-malformed/59200)._
