![]() |
#1 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
CorruptError: database disk image is malformed
Kobo Libra, *622 firmware.
The first time I connected it read all the titles. It only gave an error trying to read the annotations via Kobo Utilities. I ejected and went to menu for the book and selected Export Highlights (the optional extra menu item that is enabled in .conf). That only had the first 1/4 of the book annotations. Going into the book and looking at annotations showed the last 3/4s of annotations gone. Then reconnecting to Calibre I can't "communicate" at all. No titles listed. I have sqliteman and DB browser for SQlite. But I'm only familiar with full SQLserver tools and years ago. I've made a copy of KoboReader.sqlite and BookReader.sqlite I searched here but couldn't see a thread on fixing the database. a) I assume the last 3/4 of annotations are gone, or might some sort of repair work? b) How is it fixed? There are no other unsaved annotations and all books are on Calibre. c) I suppose all reading positions would be lost on a nuke it type repair, Not a big problem Quote:
|
|
![]() |
![]() |
![]() |
#2 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I searched with Google rather than Forum search and found
"The database on the device is corrupt. Unless you have a backup you can use, the fix is sign out of the Kobo account on the device and then back in." Any backup is likely ancient. Something I forgot about! Thoughts: A backup likely would be before I annotated/proofed that book anyway and I always import the annotations with Calibre Kobo Utilities, copy& paste as a text file and make a back up that immediately before starting another book. Edit I've logged out and logged in and Calibre is doing something. Collections all empty. I looked at copy of database with DB browser for SQlite and did an export then import. Except either it's too broken, or I need to edit the text as original is about 150M and "new" version about 92k! Calibre now working with it, of course no notes. Last edited by Quoth; 03-28-2020 at 04:41 PM. |
![]() |
![]() |
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Ah, I'll need to restore my .conf file!
|
![]() |
![]() |
![]() |
#4 | ||||
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
|
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
"If you are using epubs, then the annotations might be in the "Digital Editions/Annotations" directory."
Which may have been replaced with a file to stop the old bug. Not sure if that is still needed. Thanks, David. All much like I thought. Because of how I use the ereader a database backup is in reality rarely going to save more than a few reading positions as I'm usually connecting to Calibre to fetch a fresh set of notes/annotations that didn't exist on the last connection. A quick check in "Digital Editions": A file called Annotations (empty) A directory, Manifest, with some book titles as directories with xml files. Only a handful of the 2000+ books. Some are books no longer on the Kobo. What is it for? |
![]() |
![]() |
![]() |
#6 |
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
|
The "Digital Editions" directory is used by the RMSDK and ADE when it is connected. Changing the "Annotations" directory to a file was a workaround for some issues with the annotating that was fixed in one of the recent firmware versions.
|
![]() |
![]() |
![]() |
#7 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
What's RMSDK and why does the Manifest directory have the few dozen files when I've only ever connected to Linux Mint via USB and Calibre? Thanks. |
|
![]() |
![]() |
![]() |
#8 |
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
|
The Adobe RMSDK is what is used to read ePubs in any ereader or app that supports Adobe DRM. It is maintaining the files in that directory. ADE will also use it when connected.
|
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I've never connected ADE and I've no epub titles with DRM. So the Kobo has created the XML files. Yet I can't see on what basis, unless it's just titles I've opened since a particular FW update?
|
![]() |
![]() |
![]() |
#10 |
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
|
I know I said the RMSDK is used to read books with Adobe DRM, it is also used to read all epubs on a Kobo device. Hence, you should have files in there for every epub that you have opened on the device. And PDFs, as it is used for that as well.
|
![]() |
![]() |
![]() |
#11 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
So perhaps it "reset it" at one of the firmware updates, or when I logged out and back in, though it has too many since I re-did the account, and I think some I haven't read recently. Very odd selection.
I don't think I've any kepubs now. |
![]() |
![]() |
![]() |
#12 |
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
|
I don't know what the exact rules are. My expectation was that there would be files for each book opened. But, looking at one of my devices, I cannot quickly see a file other than the annotations files, that was created later than December last year. That suggests a change last year, but, it might have been earlier, as I occasionally use ADE and there are a lot created on the same date.
|
![]() |
![]() |
![]() |
#13 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,033
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Thanks.
I suspected it wasn't simple. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CorruptError: CorruptError: database disk image is malformed | julia5 | Devices | 5 | 11-03-2016 02:27 PM |
CorruptError: database disk image is malformed | jonnybegood | Devices | 7 | 10-03-2016 02:27 AM |
database disk image is malformed | fxp33 | Calibre | 10 | 09-02-2015 11:58 PM |
Touch Database Disk Image Malformed | TheArtfulDodger | Kobo Reader | 7 | 11-20-2014 01:22 PM |
database disk image is malformed | sirbruce | Calibre | 12 | 06-26-2009 09:06 PM |