# Database disk image is malformed

**URL:** <https://forum.manager.io/t/database-disk-image-is-malformed/55153>\
**Category:** Uncategorized\
**Created:** [July 26, 2024, 6:05am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153 "2024-07-26T06:05:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KhaderA](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/khadera/32/53020_2.png) [@KhaderA](https://forum.manager.io/u/KhaderA)\
**Post date:** [July 26, 2024, 6:05am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/1 "2024-07-26T06:05:20Z")

</div>

how can i solve this problem when i try to change transaction this message occurred

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 26, 2024, 6:34am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/2 "2024-07-26T06:34:58Z")

</div>

Manager database is SQLite database. If it’s malformed, you can use SQLite recovery tool to try to repair the data.

See: [https://www.manager.io/guides?corrupt](https://www.manager.io/guides?corrupt)

Or you can send me the file to `lubos@manager.io` and I can have a look.

---

<div class="post-metadata">

**Author:** ![KhaderA](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/khadera/32/53020_2.png) [@KhaderA](https://forum.manager.io/u/KhaderA)\
**Post date:** [July 26, 2024, 8:49am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/3 "2024-07-26T08:49:35Z")

</div>

its not working the sqlite maybe because i am working on cloud

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [July 26, 2024, 9:58am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/4 "2024-07-26T09:58:28Z")

</div>

Then download backup of your business file and recover it offline.  
Btw i thought the cloud version would be protected from such corruption since its operates in isolation, free from interference by other apps/viruses.

---

<div class="post-metadata">

**Author:** ![Abu\_Hasan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/abu_hasan/32/59917_2.png) [@Abu\_Hasan](https://forum.manager.io/u/Abu_Hasan)\
**Post date:** [July 26, 2024, 12:36pm UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/5 "2024-07-26T12:36:33Z")

</div>

That means there is a possibility of corrupting the database even in the cloud edition!!!

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [July 26, 2024, 1:02pm UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/6 "2024-07-26T13:02:09Z")

</div>

> [@KhaderA](#):
>
> i am working on cloud

What do you mean by working on cloud?

If the Cloud you mean is Manager Cloud Edition, the possibility of data corruption is very small or there is a possibility that you are opening data from a version that is too old and is not compatible with the latest version of the Manager application.

But if you mean cloud storage or local storage connected to the cloud, the possibility of corruption will be very large due to data synchronization failure.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [July 26, 2024, 9:01pm UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/7 "2024-07-26T21:01:37Z")

</div>

> [@shahabb](#):
>
> i thought the cloud version would be protected from such corruption since its operates in isolation, free from interference by other apps/viruses.

It appears this is a case where user has imported already corrupted business into cloud edition. Manager doesn’t verify integrity of SQLite database upon import.

---

<div class="post-metadata">

**Author:** ![shahabb](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@shahabb](https://forum.manager.io/u/shahabb)\
**Post date:** [July 27, 2024, 7:19am UTC](https://forum.manager.io/t/database-disk-image-is-malformed/55153/8 "2024-07-27T07:19:09Z")

</div>

One thing i would like to know if someone upload and attachment (not intentionally) which might be dangerous. Would that be able to corrupt the database on cloud? If yes, then ability to hide attachment option for some users would be nice.
