![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
|
DB image is malformed
Greetings,
I have launched the "db check integrity.sh" from the KSM menu, and i got : "Error: database disk image is malformed". Do you know a way to cure my database ? (I have no backup) Thanx in advance ![]() Ps : Each time I use Calibre to send books to my ereader, the database corrupts, and if i reconnect my device, Calibre tells me "Error communicating with device". I first suspected my USB ports more than Calibre, but when i copy/past books i meet no problems... I am open to any suggestions ![]() Edit : For my problem with Calibre, I will open a new thread ![]() Last edited by myki; 03-28-2015 at 04:58 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Did you press the details button on the message from calibre? I'd be willing to bet that it shows "database disk image is malformed" or words to that effect. KSM is telling you the database on the device is corrupt. As calibre reads that database when getting the list of books, that is the most likely reason for the error.
Unless you have a backup of the database, the fix is to signout of your Kobo account on the device. This will remove the database and reboot the device. Then it will take you through the setup steps and reload the sideloaded books. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,545
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre 1, PW4, PW5, 2022 Kindle, Kobo Libre Colour
|
The fastest way to do this is via the desktop application. Doing it over wifi takes much longer.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
myki, I guess the fmon problem (killing nickel untimely) created the corruption of the database. Therefore, whatever you are doing in order to recreate your database, start nickel only via "start nickel_no_fmon.sh" until everything is settled (that means all thumbnails of the "dangerous" files are created, and your database is uncorrupted). Otherwise you are caught in a circle. Already when you intend to log in/out of your account, start nickel without involving fmon. (After logging in and out nickel will probably have to create the thumbnails anew.)
Last edited by tshering; 03-28-2015 at 08:07 AM. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
|
Thanks for your help tshering, I now have a clean database.
But my problem is that my database corrupts as soon as I send a book with Calibre (even just one !), or when Calibre refresh the fields about shelves in the DB. Here is the log, if it can helps : Code:
calibre, version 2.22.0 ERROR: Error: Error communicating with device database disk image is malformed Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 87, in run File "site-packages\calibre\gui2\device.py", line 503, in _books File "site-packages\calibre\devices\kobo\driver.py", line 1787, in books File "site-packages\calibre\devices\kobo\driver.py", line 1663, in get_bookshelvesforbook DatabaseError: database disk image is malformed ![]() Last edited by myki; 03-28-2015 at 08:12 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I do not have any experience with sending books by calibre, but from the log I have the expression, the database was already corrupted when calibre tried to access it.
Note: KSM has the ability to make back ups of the database. The problem is that the restore function is currently broken. So do not get tricked by that. Last edited by tshering; 03-28-2015 at 08:34 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
database disk image is malformed | fxp33 | Calibre | 10 | 09-02-2015 11:58 PM |
database disk image is malformed | bartveld | Devices | 5 | 01-27-2015 06:25 PM |
Touch Database Disk Image Malformed | TheArtfulDodger | Kobo Reader | 7 | 11-20-2014 01:22 PM |
Database disk image is malformed | moonsjine | Library Management | 1 | 06-16-2012 04:03 AM |
database disk image is malformed | sirbruce | Calibre | 12 | 06-26-2009 09:06 PM |