The Following 2 Users Say Thank You to Zeta For This Useful Post: | ||
|
2018-11-06
, 00:28
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#2
|
The Following User Says Thank You to Zeta For This Useful Post: | ||
|
2018-11-06
, 08:09
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#3
|
|
2018-11-08
, 00:08
|
Posts: 339 |
Thanked: 1,623 times |
Joined on Oct 2013
@ France
|
#4
|
[nemo@Sailfish ~]$ devel-su -p vcardconverter --export contacts.vcf
Password:
Enjoy your privileges.
[W] unknown:0 - The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
[D] unknown:0 - Exporting 0 contacts
[D] unknown:0 - Wrote 0 contacts
The Following 2 Users Say Thank You to Zeta For This Useful Post: | ||
Tags |
contacts, database, sailfishos, sqlite |
|
I did a factory reset yesterday as my Jolla 1 went a bit rogue since a few days, after a backup, and then did all the updates to SFOS 3.0.
Getting back the data from the backup (which was on the previous 2.something version, the last one before 3.0), it seems I messed something up with the contacts backup so that I don't have the last up to date contacts restored (the .vault thing).
Anyway, I did a mostly complete backup of the home directory through SSH before the factory reset, so that I have the databases that I think are the files used for the contacts (I can find the last added contacts through sqlite3 searchs in it), but can't find a way to make the system accept them.
The questions are:
* what are the differences between the /home/nemo/.local/share/system/Contacts/qtcontacts-sqlite/contacts.db and /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db databases (except them being owned by a different user) ?
* how can I replace them and get the system to acknowledge the manual replacement ? I noticed that there are programs using them (with lsof) like voicecall. There is also a daemon called contactsd that could be related ?
Simply replacing one or both files didn't help me much, even with reboots in between to be sure it is not kept in memory.
Getting the data from the sqlite database to a vcf file should be possible but it is spread across a lot of tables and would take some work to not lose too much details.
Thanks for any help or pointers you can give me.