Calendar app lost access to calendars
My Calendar app had lost access to my calendars. I have Google and CalDAV calendars synced. I could see them in the .local/share/system/privileged directory, but when I started the Jolla Calendar application from a terminal I see the following output:
[W] mKCal::ExtendedCalendar::defaultStorage:2057 - Unable to create calendar database directory: "/home/nemo/.local/share/system/privileged/Calendar/mkcal"
[C] mKCal::SqliteStorage::open:174 - sqlitestorage.cpp: 174 - sqlite3_open error: 14 on database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db"
[C] mKCal::SqliteStorage::open:175 - sqlitestorage.cpp: 175 - unable to open database file
Even though this looked like a permission problem, if I chowned the privileged directory to nemo I got a data corruption from sqlite instead. I found that deleting the directory /home/nemo/.local/share/system/privileged/Calendar/mkcal completely, and rebooting, solved the problem. My suspicion is that this was caused by some filesystem corruption, but if anyone has any better ideas, please let me know.
I don't know a solution, but you are not the only one. I have the same issue, may have been around the time of the second to last update
coley ( 2015-05-14 14:19:01 +0200 )editI copied (unfortunatelly without preserving privileges) /home/nemo/.local/share to the sdcard then created a link. Calendar's manage calendar does not list anything and save event does not work. After ssh to device and running devel-su and journalctrl -f I opened up calendar :
llg179 ( 2015-06-11 02:58:44 +0200 )editJun 11 01:40:30 Jolla [4516]: [W] mKCal::ExtendedCalendar::defaultStorage:2057 - Unable to create calendar database directory: "/home/nemo/.local/share/system/privileged/Calendar/mkcal"
nemo user cannot list content of privileged folder:
[nemo@Jolla ~]$ ls -l /home/nemo/.local/share/system/privileged/
ls: cannot open directory /home/nemo/.local/share/system/privileged/: Permission denied
[nemo@Jolla ~]$ ls -l /home/nemo/.local/share/system | grep priv
d---rwx--- 9 nemo nemo 4096 Feb 21 19:36 privileged
[root@Jolla system]# chmod u+rwx privileged/
After that nemo could access the folder and I got back my local calendar's events... but not my call history and can't send sms...
Thanks, your suggestion (deleting the mkcal folder) also solved my problem of suddenly disappeared calendars which I sync with memotoo. :D
jobe-m ( 2015-12-13 16:50:27 +0200 )edit