We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-05-14 11:53:41 +0200

Calendar app lost access to calendars

My Calendar app has lost access to my calendars. I have Google and CalDAV calendars. I can see them in .local/share/system/privileged, and if I remove them then they are recreated and contain my calendars, but when I start the 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
    enter code here

No events are shown, and there are no calendars listed in 'Manage Calendars'. Here are the current permissions in the privileged dir:

drwxr-xr-x 1 nemo privileged 112 Nov 20  2013 Ambienced
drwxr-xr-x 1 nemo privileged  10 Nov 20  2013 Calendar
drwxr-xr-x 1 nemo privileged 170 May 13 23:54 Calendars
drwxr-xr-x 1 nemo privileged 872 May 13 23:54 Contacts
drwxr-xr-x 1 nemo privileged  38 May 12 15:35 Images
drwxr-x--- 1 nemo privileged  28 Dec 16  2013 Keys
drwxr-xr-x 1 nemo privileged  40 May 13 21:57 Location
drwxr-xr-x 1 nemo privileged 272 May 13 23:56 Notifications
drwxr-xr-x 1 nemo privileged  42 May 14 10:26 Posts
drwxr-xr-x 1 nemo privileged 160 Apr 29 00:17 Sync

Contacts, Messaging, Email app seems to work ok though. I've also noticed that my Warehouse repos have disappeared. If I try to add one I get a 'repo-not-found' error. The last thing I installed from openrepos before this happened was FishNetMount.

Anyone have any idea what might have gone wrong here?

Calendar app lost access to calendars

My Calendar app has lost access to my calendars. I have Google and CalDAV calendars. I can see them in .local/share/system/privileged, and if I remove them then they are recreated and contain my calendars, but when I start the 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
    enter code here

No events are shown, and there are no calendars listed in 'Manage Calendars'. Here are the current permissions in the privileged dir:

drwxr-xr-x 1 nemo privileged 112 Nov 20  2013 Ambienced
drwxr-xr-x 1 nemo privileged  10 Nov 20  2013 Calendar
drwxr-xr-x 1 nemo privileged 170 May 13 23:54 Calendars
drwxr-xr-x 1 nemo privileged 872 May 13 23:54 Contacts
drwxr-xr-x 1 nemo privileged  38 May 12 15:35 Images
drwxr-x--- 1 nemo privileged  28 Dec 16  2013 Keys
drwxr-xr-x 1 nemo privileged  40 May 13 21:57 Location
drwxr-xr-x 1 nemo privileged 272 May 13 23:56 Notifications
drwxr-xr-x 1 nemo privileged  42 May 14 10:26 Posts
drwxr-xr-x 1 nemo privileged 160 Apr 29 00:17 Sync

Contacts, Messaging, Email app seems to work ok though. I've also noticed that my Warehouse repos have disappeared. If I try to add one I get a 'repo-not-found' error. The last thing I installed from openrepos before this happened was FishNetMount.

Anyone have any idea what might have gone wrong here?

EDIT: Solution

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 instead of just the databases 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.

Calendar app lost access to calendars

My Calendar app has lost access to my calendars. I have Google and CalDAV calendars. I can see them in .local/share/system/privileged, and if I remove them then they are recreated and contain my calendars, but when I start the 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
    enter code here

No events are shown, and there are no calendars listed in 'Manage Calendars'. Here are the current permissions in the privileged dir:

drwxr-xr-x 1 nemo privileged 112 Nov 20  2013 Ambienced
drwxr-xr-x 1 nemo privileged  10 Nov 20  2013 Calendar
drwxr-xr-x 1 nemo privileged 170 May 13 23:54 Calendars
drwxr-xr-x 1 nemo privileged 872 May 13 23:54 Contacts
drwxr-xr-x 1 nemo privileged  38 May 12 15:35 Images
drwxr-x--- 1 nemo privileged  28 Dec 16  2013 Keys
drwxr-xr-x 1 nemo privileged  40 May 13 21:57 Location
drwxr-xr-x 1 nemo privileged 272 May 13 23:56 Notifications
drwxr-xr-x 1 nemo privileged  42 May 14 10:26 Posts
drwxr-xr-x 1 nemo privileged 160 Apr 29 00:17 Sync

Contacts, Messaging, Email app seems to work ok though. I've also noticed that my Warehouse repos have disappeared. If I try to add one I get a 'repo-not-found' error. The last thing I installed from openrepos before this happened was FishNetMount.

Anyone have any idea what might have gone wrong here?

EDIT: Solution

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 instead of just the databases 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.

Calendar app lost access to calendars

My Calendar app has had lost access to my calendars. I have Google and CalDAV calendars. calendars synced. I can could see them in .local/share/system/privileged, and if I remove them then they are recreated and contain my calendars, the .local/share/system/privileged directory, but when I start 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
    enter code here

No events are shown, and there are no calendars listed in 'Manage Calendars'. Here are the current permissions in the privileged dir:

drwxr-xr-x 1 nemo privileged 112 Nov 20  2013 Ambienced
drwxr-xr-x 1 nemo privileged  10 Nov 20  2013 Calendar
drwxr-xr-x 1 nemo privileged 170 May 13 23:54 Calendars
drwxr-xr-x 1 nemo privileged 872 May 13 23:54 Contacts
drwxr-xr-x 1 nemo privileged  38 May 12 15:35 Images
drwxr-x--- 1 nemo privileged  28 Dec 16  2013 Keys
drwxr-xr-x 1 nemo privileged  40 May 13 21:57 Location
drwxr-xr-x 1 nemo privileged 272 May 13 23:56 Notifications
drwxr-xr-x 1 nemo privileged  42 May 14 10:26 Posts
drwxr-xr-x 1 nemo privileged 160 Apr 29 00:17 Sync

Contacts, Messaging, Email app seems to work ok though. I've also noticed that my Warehouse repos have disappeared. If I try to add one I get a 'repo-not-found' error. The last thing I installed from openrepos before this happened was FishNetMount.

Anyone have any idea what might have gone wrong here?

EDIT: Solution

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 instead of just the databases 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.

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
    enter code here

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.