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

[bug] Contacts disappear if Google account contact sync fails

Tracked by Jolla

asked 2017-12-03 12:33:16 +0200

ehakkarainen gravatar image

updated 2017-12-04 15:46:00 +0200

jiit gravatar image

On our second JollaC - when the Google account sync fails - which it does quite often - allmost all contacts disappear (probably the ones that are synced from Google) - and reappear again when the account is manually synced.

Also when I disable the contact sync on the account most (the same) contacts disappear again - and reappear when I enable the contact sync again.

SFOS versios affected are 2.1.1 and 2.1.3 Jämsänjoki and Kymijoki updates (at least)

Some of the behaviour described may be intentional, but a simple break in Internet connectivity makes most of the contacts vanish so I marked this as bug.

edit retag flag offensive close delete

Comments

1

This has happened to me on 2.1.1 at least half a dozen times and it's bitten me badly at least once when I picked up the phone to call someone and found out, their and quite a few other contacts were just gone!!!

vaibhav ( 2017-12-04 11:21:52 +0200 )edit
1

I also have the same problem (using Jolla 1) Happens after i removed one google account and added new. What happens: Time to time phone-book become blank, not contacts from google, only from SIM card. I go to accounts>google> manually syncing and contacts are back... Is there a solution/fix for this? Is it a known issue?

China6665 ( 2018-08-01 14:16:07 +0200 )edit
1

Confirm this bug. Sometimes I can't call because the contact has disappeared. I use INOI R7 with SF 2.2.0.29.

svalx ( 2018-08-31 17:01:39 +0200 )edit

I have this problem as well.

johanh ( 2018-09-05 23:24:08 +0200 )edit

From last month this issue has also starting to bother me. It's really irritating!

vaibhav ( 2018-09-15 19:39:45 +0200 )edit

3 Answers

Sort by » oldest newest most voted
7

answered 2018-08-10 17:10:24 +0200

shubell gravatar image

Same issue here. Contacts dissapering. After a new sync contacts are back. Really anoying when you don't know who is calling. I think my issues started when i readded my google account.

edit flag offensive delete publish link more

Comments

I have notice the same - i had to change my Gmail account and after this it start happening. Reset my Jolla 1 - added account again and its working fine

China6665 ( 2018-10-26 15:57:48 +0200 )edit
4

answered 2019-01-08 09:40:44 +0200

wosrediinanatour gravatar image

updated 2019-01-09 23:28:23 +0200

Bug still exists in SailfishOS X 3.0.1.11. :-/ (Note that this is wrong, see Update 3)

Update 1:

Journal tells:

Jan 08 16:12:05 Sailfish [3138]: [W] unknown:0 - CDExport: triggering contacts remote sync: ""    
Jan 08 16:01:23 Sailfish google-contacts-client[24126]: [W] unknown:0 - This device does not have a BT adapter
Jan 08 16:01:24 Sailfish google-contacts-client[24126]: [W] unknown:0 - The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
Jan 08 16:01:25 Sailfish invoker[1705]: SailfishKeyProvider_ini_read: reached end of file
Jan 08 16:01:25 Sailfish invoker[1705]: SailfishKeyProvider_ini_read: reached end of file
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - connection-manager.cpp 107 setupSocketConnection p2p error: QDBusError("org.freedesktop.DBus.Error.FileNotFound", "Failed to connect to socket /run/user/100000/signond/socket: No existe el fichero o el directorio") 1
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - connection-manager.cpp 148 init Peer connection unavailable, activating service
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "PendingRegistration" SignOn::IdentityImpl(0x1bcda0)
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jan 08 16:01:25 Sailfish dbus-daemon[1604]: Activating service name='com.google.code.AccountsSSO.SingleSignOn'
Jan 08 16:01:25 Sailfish [19971]: signondaemon.cpp 388 init Failed to SUID root. Secure storage will not be available.
Jan 08 16:01:25 Sailfish dbus-daemon[1604]: Successfully activated service 'com.google.code.AccountsSSO.SingleSignOn'
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - connection-manager.cpp 165 init Connected to "libsignon-qt1"
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "Ready" SignOn::IdentityImpl(0x1bcda0)
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "NeedsUpdate" SignOn::IdentityImpl(0x1bcda0)
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state:  "PendingUpdate" SignOn::IdentityImpl(0x1bcda0)
Jan 08 16:01:25 Sailfish google-contacts-client[24126]: [D] unknown:0 - identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 17 "

Msync log:

D] unknown:0 - Sync session started
[D] unknown:0 - Synchronizer::getBackUpRestoreState
[D] unknown:0 - Start sync requested for profile: "google.Contacts-14"
[D] unknown:0 - ProfileManager::syncProfile( "google.Contacts-14" )
[D] unknown:0 - found a valid sync profile with the given name: "google.Contacts-14"
[D] unknown:0 - Synchronizer::getBackUpRestoreState
[D] unknown:0 - Starting sync with profile "google.Contacts-14"
[D] unknown:0 - Disable sync on change: false false
[D] unknown:0 - Starting oop plugin  "google.Contacts-14"
[D] unknown:0 - Starting process  "/usr/lib/buteo-plugins-qt5//oopp/google-contacts-client"  with plugin name  "google-contacts"  and profile name  "google.Contacts-14"
[W] unknown:0 - This device does not have a BT adapter
[D] unknown:0 - New network state: true  New type:  "WLAN" ( 2 )
[D] unknown:0 - Network status:
[D] unknown:0 -     Online:: true
[D] unknown:0 -     Connection:: 2
[D] unknown:0 - attempting to register dbus service: "com.buteo.msyncd.plugin.google.Contacts-14"
[D] unknown:0 - Plugin  "google-contacts"  with profile  "google.Contacts-14"  registered at dbus  "com.buteo.msyncd.plugin.google.Contacts-14"  and path  /
[D] unknown:0 - Process  "/usr/lib/buteo-plugins-qt5//oopp/google-contacts-client"  started with pid  9183
[D] unknown:0 - Client plug-in runner initialized
[D] unknown:0 - New network state: true  New type:  "WLAN" ( 2 )
...
...
...
[D] unknown:0 - found a valid sync profile with the given name: "google.Contacts"
[D] unknown:0 - No sync log found for profile: "google.Contacts"
[D] unknown:0 - ProfileManager::syncProfile( "google.Signon" )
...
[D] unknown:0 - debug:  successfully triggered sync with profile: "google.Contacts-14"
...
[D] unknown:0 - info :  finalCleanup() fixed up avatars from 0 Google contacts
[D] unknown:0 - info :  Finished "google" "Contacts" sync at: "2019-01-08T16:58:21"
[D] unknown:0 - Session finished: "google.Contacts-14" , status: 4
[D] unknown:0 - ProfileManager::enableStorages
[D] unknown:0 - ProfileManager::enableStorages
[D] unknown:0 - aStatus 4
[D] unknown:0 - ProfileManager::syncProfile( "google.Contacts-14" )
[D] unknown:0 - found a valid sync profile with the given name: "google.Contacts-14"
[D] unknown:0 - Stopping the OOP process for  "google-contacts"
[D] unknown:0 - Process  "/usr/lib/buteo-plugins-qt5//oopp/google-contacts-client"  finished with exit code 15
[D] unknown:0 - ProfileManager::syncProfile( "google.Contacts-14" )
[D] unknown:0 - found a valid sync profile with the given name: "google.Contacts-14"
[D] unknown:0 - Sync status changed for account "14"

I don't want to post all logs here, since they include calendar events.

Update 2:

I found in the logs that I still had "Voicecall combined patch" installed using Patch Manager 3.0.55. I removed the patch, restarted, and haven't observed the error in the first 20 minutes.

Update 3:

Sorry...my patchmanager installation interferred with the latest Google Contacts Client. In my case, the error have been fixed with 3.0.1.11!*

edit flag offensive delete publish link more

Comments

Is it possible to have some logs for this issue? Thank you.

jiit ( 2019-01-08 10:32:26 +0200 )edit
2

I have synchronization set to manual, because of this problem (and only sync contacts to the unit). I fought with this a long time also together with Jolla support, but we didn't solve it. Nobody asked for logs. What kind of logs could show information?

johanh ( 2019-01-08 10:41:58 +0200 )edit
2

@jovirkku Thanks, good to know. It would have been good to have this information earlier. Now I upgraded to 3.0.1.11 and turned on automatic sync. So far the problem hasn't appeared. At least initially it gives some hope that the problem is fixed.

johanh ( 2019-01-11 10:38:49 +0200 )edit

To me, this bug is not fixed in 3.0.1.11

I have enabled two-way sync of contacts

To reproduce, close People app, disconnect both wifi and cellular network, manually do a sync, then open Peoples app and contacts gone. To get back contacts, connect to wifi and sync, contacts gets back again. (Doesn't work with cellular for me)

Malinux ( 2019-01-17 19:32:09 +0200 )edit
3

answered 2019-03-19 10:37:01 +0200

mcencora gravatar image

Problem still shows up in 3.0.2.8

edit flag offensive delete publish link more

Comments

Yeah here as well. It is very, very annoying.

martonmiklos ( 2019-03-26 16:42:30 +0200 )edit

is there any workaround?

ElderOrb ( 2019-05-23 00:21:28 +0200 )edit
Login/Signup to Answer

Question tools

Follow
8 followers

Stats

Asked: 2017-12-03 12:33:16 +0200

Seen: 1,411 times

Last updated: Mar 19 '19