Google calendar not syncing new events
I'm able to set up a Google account. The first time, the google calendars sync perfectly to my phone (Intex Aqua Fish running Sailfish 2.1.0.11).
When I add an event on the phone, syncing doesn't work any more.
Deleting the account or removing /home/nemo/.local/share/system/privileged/Calendar/mkcal/db* allows to sync from scratch. Could anybody give me a hint how to track down the problem?
This is an excerpt from journalctl | grep google.
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [W] unknown:0 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - connection-manager.cpp 150 init Connected to "libsignon-qt0"
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "PendingRegistration" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - authsessionimpl.cpp 94 initInterface
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "Ready" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "NeedsUpdate" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 96 updateState Updating state: "PendingUpdate" SignOn::IdentityImpl(0xb4f020)
Jun 06 19:57:43 Sailfish google-calendars-client[10389]: [D] unknown:0 - identityimpl.cpp 442 infoUpdated SERVER INFO UPDATED. NeedsUpdate " 27 "
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "Calendars" request with account 19 experienced error: QNetworkReply::NetworkError(ContentGoneError)
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: unable to parse event data from request with account 19 ; got:
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "{"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"error\": {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"errors\": ["
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"domain\": \"calendar\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"reason\": \"updatedMinTooLongAgo\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"locationType\": \"parameter\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"location\": \"updatedMin\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " ],"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"code\": 410,"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "}"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: received 410 GONE from server; marking account for clean sync: 19
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "Calendars" request with account 19 experienced error: QNetworkReply::NetworkError(ContentGoneError)
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: unable to parse event data from request with account 19 ; got:
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "{"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"error\": {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"errors\": ["
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " {"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"domain\": \"calendar\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"reason\": \"updatedMinTooLongAgo\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"locationType\": \"parameter\","
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"location\": \"updatedMin\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " ],"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"code\": 410,"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " \"message\": \"The requested minimum modification time lies too far in the past.\""
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: " }"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: "}"
Jun 06 19:57:48 Sailfish google-calendars-client[10389]: [W] unknown:0 - ERROR: received 410 GONE from server; marking account for clean sync: 19
Jun 06 19:57:50 Sailfish com.google.code.AccountsSSO.SingleSignOn[970]: invoker: Invoking execution: '/usr/bin/signond'
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: [W] unknown:0 - sqlitestorage.cpp: 193 - database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db" opened
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: GLIB WARNING ** accounts-glib - Unable to load account 3
Jun 06 19:58:00 Sailfish google-calendars-client[10690]: [W] unknown:0 - ERROR: existing account with id 3 couldn't be retrieved
UPDATE Jun 7
I flashed the device to factory settings (Sailfish 2.0.1) The problem persists. Also after upgrading to 2.1.0.11, I get the same problem as described above. Syncing events from Google Calendar to the phone seems to work though. Maybe Google changed something in its API?
Google calendar syncing has also stopped working for me in recent weeks - (previously it had worked without problem for at least a year).
I have deleted the account and re-added it, but this has not worked: I've now simply lost all previously synced events too). However, email on this google account does sync properly - just not the calendar.
(My device is a Jolla 1)
pedrox ( 2017-06-07 14:01:02 +0200 )editI can confirm the described behaviour, but I think the problem has been there for a couple of months. It works allright syncing to the phone but not from the phone.
DNG ( 2017-06-08 00:39:46 +0200 )editI can confirm this on my Jolla 1 as well. It just started to cause trouble for me this week. I cannot seem to sync either way
hook ( 2017-06-12 12:01:24 +0200 )editSame problem here on my Jolla 1. I am not able to sync google calendar event from phone to server (upload). It works in opposite direction (download), however.
qeef ( 2017-06-30 17:49:20 +0200 )editmine stopped too, the calendar not showing new events since 10 days. Intex Aquafish / Jolla C. Acalendar, a android app, works ok.
danfin ( 2017-07-03 18:42:58 +0200 )editBroadly speaking, I am having the same issue. I noticed this about a month ago [mid June '17] and have done the usual things of switching off / on, deleting account and re-doing it, clearing cache et al. I've even gone into the Google account on line and made sure that "less secure devices" is enabled [Googles view of 'less secure' makes me laugh] and the device is authorised in the account.
Like others, email works fine, but I can no longer see any calendar entries. I have a Jolla 1 with Sailfish 2.1.0.11.
P.
Additional: a quick trawl of the Google Forum brings me to here [https://productforums.google.com/forum/#!msg/calendar/ZPZh0LrJip8/sL25aKotBgAJ;context-place=forum/calendar]. Don't hold your breathe.
piloti ( 2017-07-21 09:23:14 +0200 )editI can confirm the problem on my Intex Aqua Fish with Sailfish OS 2.1.0.11. The phone doesn’t sync Google calendar in both directions. It only imports the events correctly for the first time after I have added a Google account to the system. By the way, my company uses a Google business account.
It’s also impossible for my colleagues to send me a Hangout message. They can only reply on a message I’ve send them from my Jolla phone. The integration of Google is not really finalised.
I love the user experience of Sailfish OS and I currently evaluate, whether the system is ready for real life use cases, not for myself but for my company, that is looking for a platform for future devices. Unfortunately, Sailfish OS seems still not to be ready for real life and a commercial product.
Has someone an idea to resolve the problem? Has Jolla something like a support? It would be ok to pay for a support ticket.
jsommer ( 2017-07-28 18:01:34 +0200 )editI am new here an have since two weeks also an Aqua Fish with OS 2.1.0.11. I try all thinks to repair this sync bug (also with the file "google.Calendars.xml" in /etc/buteo/profiles/sync/ from here: https://together.jolla.com/question/121216/bug-has-workaround-no-background-sync-of-google-calendar/) but nothing will helps. In the moment I use the app googleCalender from android but it is not a aceptable solution. I hope this is solved in 2.1.1? Thank you for all good Ideas in adbvance and I look also for a easy solution.
Ralf ( 2017-08-25 22:43:46 +0200 )editI found a good solution now!!! I used caldav for google.
Add a Caldav and fill it with follow things:
User name: ralf...@gmail.com
Password: ***
Server: https://www.google.com
Path: /calendar/dav/ralf...@gmail.com/events
In the first time you get an email from google tha an unsafe tool will sync. If you allow this in your google account you make the same steps and now it works.
I have this solution from here: https://together.jolla.com/question/534/experimental-release-in-10716-support-for-caldav-based-calendars-eg-google-calendar/
I hope it helps somebodys....
Ralf ( 2017-08-31 20:20:19 +0200 )edit