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

How to clean Google contacts cache?

asked 2014-06-14 13:57:28 +0300

SergeiStPete gravatar image

updated 2014-07-18 16:01:13 +0300

jiit gravatar image

After the update on 1.0.7.16 for some reason my google contacts stopped sync. Switch sync on/off under the account didn't help. I removed my google account and after the reboot added it again. Now sync works, but i have another set of google contacts (from "first" account) linked to new ones. Other words, all contacts are doubled (and marked as "google").

Any ideas how to clean that and start sync from scratch?

edit retag flag offensive close delete

Comments

2

Not exactly. First, i use "to device only" sync mode, have no idea about two-way sync behavior, just don't use it. Second, in above question the way described is "it was necessary to delete all existing Google contacts". Here is exactly my question - how to delete existing Google contacts?

SergeiStPete ( 2014-06-14 14:16:59 +0300 )edit

I found only a bit circuitous method :

  1. delete Google account.
  2. manually delete all Google contacts in contacts app - one by one, which is quite annoying if you have lots of contacts :-/
  3. after you cleaned up your contacts app re-setup your Google account and initiate the sync.

Maybe there's an easier procedure, but at least that's the way it worked for me.

moosiqpipl ( 2014-06-14 14:42:35 +0300 )edit

@moosiqpipl i hope someone knows an easier way to delete all google contacs, because i have more than 900 !!!

peter-berlin ( 2014-06-14 14:50:58 +0300 )edit

@peter-berlin You know way too many people :-D

moosiqpipl ( 2014-06-14 14:55:10 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-06-15 12:28:51 +0300

Tofe gravatar image

updated 2014-06-15 12:29:30 +0300

What you can do is the following, if you only have a Google account + some local contacts on the phone :

  1. Export all your contacts (see https://together.jolla.com/question/384/export-vcf-from-people/ ). This will only export the contacts created on device, which should be exactly what you want to do here.
  2. Remove Google account
  3. Remove all your contacts (from System > Application > Contacts > Pulley menu )
  4. Recreate the Google account, with two-ways sync enabled. It will retrieve the Google contacts.
  5. Import the .vcf file created at step 1.
edit flag offensive delete publish link more

Comments

@Tofe, thank you, but that doesn't work after updating on 1.0.7.16 from previous versions. After the 2) removing Google account, google contacts are not disappeared on the phone, they are still here, marked as "google" and are not removed on step 3).

Finally i removed them one by one manually. After that procedure you described works fine. With some minor things - in newly created Google account contacts part of the menu could disappear. Sync could work or not. If remove/create from scratch account it usually helps. i did this procedure many times for these couple of days, what is stable now - contacts are here and nothing to remove manually.

SergeiStPete ( 2014-06-15 12:58:18 +0300 )edit

Step 3 could eventually be changed to a more radical solution (i.e. remove the database file of Contacts); but as this is potentially quite dangerous to do, I didn't talk about that in my answer.

Tofe ( 2014-06-15 22:35:27 +0300 )edit

Thank you @Tofe, hope that was only one time. If repeated i'll ask you how to find Contacts database file.

SergeiStPete ( 2014-06-16 10:46:00 +0300 )edit

it would be great if someone can make a patch, which deletes all contacts on the phone (maybe on openrepos), for the "stupid" people like me...

peter-berlin ( 2014-06-16 12:08:09 +0300 )edit

you have to move/rename the contacts db file named : qtcontacts-sqlite

Look at this thread:

https://together.jolla.com/question/10161/fixed-in-1038-how-to-delete-manyall-contacts-from-people-app/

pizzulicchio ( 2014-07-17 17:01:48 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2014-06-14 13:57:28 +0300

Seen: 2,420 times

Last updated: Jun 19 '14