Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-23-2024, 02:00 PM   #46
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,937
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by compurandom View Post
I'm getting database corruption with calibre on this firmware again, so I'm going back to rebooting before connecting via usb. I've had to reset the database twice this week, and the second corruption was pretty massive. I coudln't even repair by dumping the database.
Have you been going to the home screen before connecting to the computer? Give that a try before going down the road of rebooting.
JSWolf is online now   Reply With Quote
Old 09-23-2024, 04:58 PM   #47
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,546
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by compurandom View Post
I'm getting database corruption with calibre on this firmware again, so I'm going back to rebooting before connecting via usb. I've had to reset the database twice this week, and the second corruption was pretty massive. I couldn't even repair by dumping the database.
Could I ask you to check if when you connect your LC to your computer without the reboot, if in the .kobo directory, you see files with names such as BookReader.sqlite-wal, BookReader.sqlite-shm, KoboReader.sqlite-wal and KoboReader.sqlite-shm. These are part of the write ahead logging/shared memory process and should be removed when the database is closed.

That was the issue with the Kobo firmware that was prone to database corruption in that the USB connection was established before the databases were closed.
DNSB is offline   Reply With Quote
Old 09-24-2024, 07:11 AM   #48
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 938
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by DNSB View Post
Could I ask you to check if when you connect your LC to your computer without the reboot, if in the .kobo directory, you see files with names such as BookReader.sqlite-wal, BookReader.sqlite-shm, KoboReader.sqlite-wal and KoboReader.sqlite-shm.
I have looked a few times and didn't see them, but then, I don't know when exactly the corruption occurred so I could have just missed it.

Does calibre check for those? Can we change it to or add a plugin that does?
compurandom is offline   Reply With Quote
Old 09-24-2024, 01:19 PM   #49
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,546
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by compurandom View Post
I have looked a few times and didn't see them, but then, I don't know when exactly the corruption occurred so I could have just missed it.

Does calibre check for those? Can we change it to or add a plugin that does?
calibre does not check for them. There are multiple ways to corrupt the database, this was just one that was visually obvious when you looked at the file system.
DNSB is offline   Reply With Quote
Old 09-24-2024, 06:50 PM   #50
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 938
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by DNSB View Post
calibre does not check for them. There are multiple ways to corrupt the database, this was just one that was visually obvious when you looked at the file system.
It would be super useful if calibre could check for the database scratch files before it opens the database, because after it opens the database, they are guaranteed to be there. So the only way to tell is to close calibre before I plug the device in.
compurandom is offline   Reply With Quote
Old 09-24-2024, 07:04 PM   #51
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,619
Karma: 74358024
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Unfortunately the damage is probably already done regardless of any access being done by calibre to the file system.

The presence of any of the wal / shm files means that processes have not been shutdown cleanly on the Linux side of the Kobo, before the file system has been shared via usb with the PC. I don't recall all the details but it's even possible that the shared file system has been remounted as read only on the Kobo side.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 09-25-2024, 02:23 AM   #52
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 938
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by PeterT View Post
Unfortunately the damage is probably already done regardless of any access being done by calibre to the file system.
That may be so, but continuing to open the database can't possibly make things better, and that's even more true if the linux side on the kobo wasn't actually made read only.

And not checking for this before opening the database makes this very difficult to detect and debug.

If I knew that the database was damaged, rather than let calibre damage it more by using it, I could reboot the kobo, attempt repair on the database before it gets worse, and/or restore the database from backup before it goes for another 2-3 days and gets further corrupted to the point where restoring the database isn't going to help more than just deleting the database and rebuilding it.

Without some kind of detection of this problem, I'm left with the best option of rebooting the kobo before every usb connection.

And no, going back to home screen doesn't fix this issue and never did. I'd say that maybe it makes it less likely, but really I think it's just waving a rubber chicken at the problem.

Last edited by compurandom; 09-25-2024 at 02:28 AM.
compurandom is offline   Reply With Quote
Old 09-25-2024, 06:04 AM   #53
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 75,937
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by compurandom View Post
That may be so, but continuing to open the database can't possibly make things better, and that's even more true if the linux side on the kobo wasn't actually made read only.

And not checking for this before opening the database makes this very difficult to detect and debug.

If I knew that the database was damaged, rather than let calibre damage it more by using it, I could reboot the kobo, attempt repair on the database before it gets worse, and/or restore the database from backup before it goes for another 2-3 days and gets further corrupted to the point where restoring the database isn't going to help more than just deleting the database and rebuilding it.

Without some kind of detection of this problem, I'm left with the best option of rebooting the kobo before every usb connection.

And no, going back to home screen doesn't fix this issue and never did. I'd say that maybe it makes it less likely, but really I think it's just waving a rubber chicken at the problem.
I went back to the home screen on my Libra 2 and it always worked for me.
JSWolf is online now   Reply With Quote
Old 09-25-2024, 07:32 AM   #54
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 938
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by JSWolf View Post
I went back to the home screen on my Libra 2 and it always worked for me.
If I go to the home screen, sometimes it works. If I go to the home screen and wave a rubber chicken at it too, then sometimes it works more.
compurandom is offline   Reply With Quote
Old 09-25-2024, 09:12 PM   #55
Cootey
Absentminded Reader
Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.Cootey ought to be getting tired of karma fortunes by now.
 
Cootey's Avatar
 
Posts: 1,256
Karma: 6467285
Join Date: Apr 2017
Device: Kobo Mini, Clara HD, Elipsa; Kindle Paperwhite 3 & 4; iOS eReader apps
Quote:
Originally Posted by compurandom View Post
If I go to the home screen, sometimes it works. If I go to the home screen and wave a rubber chicken at it too, then sometimes it works more.

The importance of rubber chickens in technical troubleshooting is highly underrated.
Cootey is offline   Reply With Quote
Old 09-26-2024, 07:51 AM   #56
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 962
Karma: 1806248
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
... and never underestimate the usage of the enforcing hammer for fine-tuning...
DrChiper is online now   Reply With Quote
Old Yesterday, 09:17 PM   #57
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 938
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by DrChiper View Post
... and never underestimate the usage of the enforcing hammer for fine-tuning...
Yes, waving hammers and screwdrivers in the general direction of computers frequently makes them decide to work suddenly.
compurandom is offline   Reply With Quote
Old Today, 08:50 AM   #58
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 962
Karma: 1806248
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by compurandom View Post
Yes, waving hammers and screwdrivers in the general direction of computers frequently makes them decide to work suddenly.
That's quantum-mechanics in action for you ...
DrChiper is online now   Reply With Quote
Reply

Tags
firmware, firmware release


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to install international Boox Poke 5 firmware to China firmware jeremynhan96 Onyx Boox 2 07-19-2024 08:42 PM
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 113 10-24-2023 09:02 PM
Nouveau firmware firmware 6.5.765 pour la Inkpad 3/PB740 mooms PocketBook 0 11-08-2021 08:23 AM
Firmware Update Kindle firmware 5.12.1 eilon Amazon Kindle 102 09-26-2019 08:38 PM
Firmware glitch - typing text slow on some firmware+device combinations mdp Onyx Boox 11 11-11-2017 12:48 AM


All times are GMT -4. The time now is 11:24 AM.


MobileRead.com is a privately owned, operated and funded community.