|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kobo Clara BW
|
![]()
I have built a server that accepts Kobo's sqlite database and syncs highlights and notes to Notion. I have also set up NickelMenu and added an item that uploads the sqlite db to the my server. The communication works fine and I can see my highlights and notes in Notion.
However, I am facing an odd issue with the database itself. When I add a highlight or a note, the database does not get the data. The behavior is very weird. Sometimes it updates when I plug the usb cable, sometimes it updates when click the Sync button but there is no consistency about all highlights being there. Has anyone faced this? Is there a way that I can force Kobo to write the data into the database? Or have I possibly misconfigured something here? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,689
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
You could probably force a database update by rebooting the device. Doing database backups at random times is likely to cause problems, because you can't predict when the OS will decide to flush recent updates to disk (except by forcing the OS to commit everything by rebooting); as such, your backups may be saving the database when it's in an inconsistent/dirty state, and thus the backups won't be useful.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2025
Device: Kobo Clara BW
|
This makes sense but I am still a bit baffled by the fact that device does commit db data to disk on sleep. I need to think how to run my script periodically somehow.
|
![]() |
![]() |
![]() |
Tags |
kobo, nickelmenu, sqlite |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weirdness with Kobo Plus content and KoboReader.sqlite | PeterT | Kobo Developer's Corner | 0 | 09-03-2024 07:58 PM |
Aura KoboReader.Sqlite help (stats lost) | Skyfall | Kobo Developer's Corner | 6 | 03-29-2015 05:21 AM |
Glo koboreader.sqlite File | LaLaLia | Kobo Reader | 3 | 10-05-2014 08:05 PM |
Kobo sqlite database | darkadept | Kobo Reader | 38 | 09-08-2013 08:12 PM |
Koboreader.sqlite gundged | maxwelledison | Kobo Reader | 21 | 01-12-2011 08:24 AM |