![]() |
#31 |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
I tried to change the title of this thread since the Elipsa database corruption issue can go beyond missing and suddenly deleted eBooks. However, I may lack authority (or know how) to do so.
|
![]() |
![]() |
![]() |
#32 | |||||||||
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:
Quote:
Quote:
But, I suspect that annotations sync stopped when the database became corrupted. That's why I asked about the time between notes 2 and 3. If there was some time between them, the corruption might have happened shortly after the first books were imported. But, you didn't see it until the trying to import the next set of books. Quote:
But, the basic problem is that calibre does not treat the Elipsa differently to any other Kobo device. If calibre is the cause, why aren't we seeing the same problem with all devices? Quote:
Quote:
|
|||||||||
![]() |
![]() |
Advert | |
|
![]() |
#33 | ||||||
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
||||||
![]() |
![]() |
![]() |
#34 |
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
|
@Cootey: Reading through that, there is only one thing I can say: I have absolutely no idea what is happening. None of it makes sense as it works fine for the other devices. It seems to be something different about the Elipsa. Whether it is related to how the device connects to the PC or something else running that correctly connect or disconnect from the database I don't know.
For debugging this, I gave all my ideas earlier. At best it tells you what sort of action is triggering it. The calibre debug logs are not going to tell us anything more than what you have shown. They are basically showing an error when it happens, and what happens before that is exactly what is expected. You can produce logs on the device, but, they are encrypted and I have no way to decrypt them to see what is in them. You can redirect the log (I think there is a NickelMenu function to do it) but whether that will show anything useful I don't know. Before Kobo started encrypting the logs, I never saw anything that would give a clue for why the corruption happened. But, I don't know if I ever saw logs from when it happened. I don't believe it it calibre. If it was, we would be seeing a similar rate of database corruption for other devices. The only thing calibre does differently for each device is the sizes for covers if you send them to the device. And the name displayed when the device is connected. Nothing else is different. As to doing a "VACUUM", that is the command you would use in a SQLite management tool or command-line SQLite. In the Kobo Utilities plugin, it is the compress option as that is what I am used to for other databases. |
![]() |
![]() |
![]() |
#35 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW, I was just looking into weirdly missing unmounts on the Elipsa, and, yeah, the lazy unmount is really sweeping a lot of stuff under the rug, stuff that might actually be problematic.
As in, quite a few Nickel threads *still* have fds open'ed on (at least?) book files, which means the filesystem is never actually unmounted. Which is obviously how Really Bad Stuff Happens (TM). I happened to be testing a CBZ here, and hwmon, QProcessManager, eventengine, QEvdevTouch, QTBearerThread, imageprovider and QtHTTPThread all had a couple of fds opened on the last book. Sidebar: I haven't looked at this stuff in a *long* time, so, this may not be specific to the Elipsa, so this isn't excluding the possibility that the Elipsa's storage solution might just be more prone to this kind of badness ![]() (for instance, I can almost reliably trash my ZSH history (which lives in onboard) if I *properly* soft-reboot the Elipsa with the shell open. That never happens anywhere else). EDIT: This is fairly easy to double-check with ForceWifi and a real lsof binary. fds from MNT_DETACHED fs end up relocated to / (with the rest of their path, relative to the original mountpoint, preserved) in the listing. (I happened to notice the missing unmounts because I track 'em in KFMon & NanoClock ^^). EDIT²: On the upside, quickly tested with a notebook, a PDF, an ePub, a KePub, and a KePub w/ annotations, and I can only reproduce a consistent failure with a CBZ ![]() EDIT³: Issue persists as long as a CBZ has been open'ed during that boot session, though :/. Last edited by NiLuJe; 08-22-2021 at 07:01 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
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:
And it would seem to explain @Cootey's problems. That's assuming the mentioned Manga are in CBZ or CBR (I'm assuming these are handled the same) and not epub or kepub. Anyway, I'll have a play and see what I can see. |
|
![]() |
![]() |
![]() |
#37 |
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 have done some playing and can reproduce the database corruption when CBZs or CBRs are involved. Basically, if I have read a comic and connect to a PC and then do anything that updates the database while connected, I can end up with a corrupted database. It doesn't happen all the time. As it is happening when the database is updated, using calibre will do it. But, so will using the Kobo desktop application. Both can update the database and that clashes with whatever hasn't stopped using the database when the device was connected.
There is nothing that can be done from calibre. I don't think there is any way to detect if something is still using the database in this way. There are two operating system involved, and no way for them to communicate. |
![]() |
![]() |
![]() |
#38 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Aug 2021
Location: Winnipeg, Canada
Device: Kobo Elipsa
|
I had the same experience as davidfor. All problems occurred after reading a comic or after updating its metadata (I am not sure if this is really related).
At 1st I thought was something related to the collections/series metadata being updated. I disabled and moved on. Things were nice, I got confident and enabled it again, and boom, database corrupted. At same time I was sideloading CBRs/CBZs and reading them too. I was following this thread and yesterday I decided to reset the device, sideload everything without the Collection/Series enabled and no CBR/CBZ. Profit! Enabled the Collection/Series. Profit! Sideloaded converted CBZ/CBR as EPUB and later reconverted to PDF (because of the zoom). Profit! I side loaded all my books, comics in PDF format and have all of them on their respective collections and series. Perfect. And here is the list of problems I faced: - WIFI losing passwords after crashs; - Files being in the device and Calibre not able to match them with my Library; - Ghost files on home and collection; - Crashes reading CBR/CBZ followed by database broken; - Device with its mass storage marked as dirty (needs to rescan); Thank you all for the effort on this, if it was not for this thread I would just gave up and started sideloading books using dropbox or Calibre web. |
![]() |
![]() |
![]() |
#39 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 567
Karma: 1138182
Join Date: Sep 2009
Device: Kobo Touch,Glo,Mini,Aura/HD/One,H20, Sony PRS-300/600, Kindle 3-PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#40 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
I haven't plugged my Elipsa into my Mac since I last posted. Just plugged it in a few moments ago. Calibre was running. And I received an instant error message as soon as the device mounted into Calibre. I hadn't even added anything through the Finder nor Calibre. That was new. I see that with NiLuJe's input (who can speak the lingo), there are some new developments. I'll post my error log here, and catch up. Spoiler:
|
|
![]() |
![]() |
![]() |
#41 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
Will you be filing a report with Kobo? I can use their website to leave feedback, but as a customer, my experience is that they just assume I'm an idiot who doesn't know one end of the Kobo from the other. |
|
![]() |
![]() |
![]() |
#42 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
My first move is to restore my Kobo AGAIN, then refrain from side-loading any comics onto it. That's not much of a solution, but it's better than factory restoring all the time. |
|
![]() |
![]() |
![]() |
#43 | |
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
David, were you able to reproduce the database corruption with other Kobo devices? I'm curious |
|
![]() |
![]() |
![]() |
#44 | ||
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:
|
||
![]() |
![]() |
![]() |
#45 | ||
Absentminded Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,307
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
Since the database is being left open by the Kobo, would we be able to avoid corruption by power cycling the Kobo before connecting to a computer? Quote:
Sent from my iPhone using Tapatalk Pro |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help in Australia (ebook purchase) | heymae | News | 14 | 01-21-2013 10:33 PM |
Young Adult Novel (eBook) - Ghost of Doors | WrongDayToQuit | Self-Promotions by Authors and Publishers | 0 | 11-16-2012 07:56 PM |
First ebook purchase! | gumleaf | Introduce Yourself | 5 | 10-10-2010 06:22 PM |
How to tell if an eBook is Topaz before purchase? | JSWolf | Amazon Kindle | 42 | 11-13-2009 08:59 AM |
Can't Purchase eBook outside of US? | Jakodai | Kindle Formats | 2 | 01-15-2009 08:12 PM |