[kronolith] Calendar syncing issues
Michael J Rubinsky
mrubinsk at horde.org
Tue Apr 5 13:11:39 UTC 2016
Quoting Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Re-adding the mailing list in CC for the remainder of the discussion.
>>
>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>
>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>
>>>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>>>
>>>>> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>
>>>>>> Quoting John H. Bennett III <bennettj at thebennetthome.com>:
>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> I am having an issue getting my calendar to sync, correctly.
>>>>>>> If I add an event using kronolith, then that event won't sync
>>>>>>> to my mobile device. I will still get the event reminder, and
>>>>>>> the event will be shown in the daily agenda email. If I add
>>>>>>> an event using my mobile, then that event will sync just fine
>>>>>>> to kronolith. I've no idea how this get into this state.
>>>>>>> Things had been working just fine until the last set of
>>>>>>> updates, but I'm not sure if those updates are really the cause.
>>>>>>>
>>>>>>> If it will help, I can provide a sync log showing when I add
>>>>>>> an event to my phone, then sync, and when I add with kronolith
>>>>>>> and sync, which hopefully would show something.
>>>>>>>
>>>>>>> I appreciate whatever help can be given to me.
>>>>>>
>>>>>> You don't mention what protocol you are using to synchronize.
>>>>>>
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> John
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> kronolith mailing list
>>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>>>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> mike
>>>>>> The Horde Project
>>>>>> http://www.horde.org
>>>>>> https://www.facebook.com/hordeproject
>>>>>> https://www.twitter.com/hordeproject
>>>>>
>>>>>
>>>>> I'm sorry about that. I am using Activesync. My mobile device
>>>>> is a Galaxy S6, with Android 6.0.1, Android security patch level
>>>>> February 1, 2016.
>>>>
>>>> Then, yes. Please provide a synclog showing both a successful and
>>>> unsuccessful attempt.
>>>>
>>>>
>>>>> Part of my horde/conf.php
>>>>> $conf['activesync']['params']['driverconfig'] = 'horde';
>>>>> $conf['activesync']['storage'] = 'Sql';
>>>>> $conf['activesync']['emailsync'] = true;
>>>>> $conf['activesync']['version'] = '14.1';
>>>>> $conf['activesync']['auth']['type'] = 'basic';
>>>>> $conf['activesync']['autodiscovery'] = 'user';
>>>>> $conf['activesync']['outlookdiscovery'] = false;
>>>>> $conf['activesync']['ping']['heartbeatmin'] = 60;
>>>>> $conf['activesync']['ping']['heartbeatmax'] = 2700;
>>>>> $conf['activesync']['ping']['heartbeatdefault'] = 480;
>>>>> $conf['activesync']['ping']['deviceping'] = true;
>>>>> $conf['activesync']['ping']['waitinterval'] = 5;
>>>>> $conf['activesync']['enabled'] = true;
>>>>> $conf['activesync']['logging']['type'] = false;
>>>>>
>>>>> John
>>>>>
>>>>> --
>>>>> kronolith mailing list
>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>>>>> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>>>
>>>>
>>>>
>>>> --
>>>> mike
>>>> The Horde Project
>>>> http://www.horde.org
>>>> https://www.facebook.com/hordeproject
>>>> https://www.twitter.com/hordeproject
>>>
>>> Hi Mike,
>>>
>>> Thank you for looking at the sync log. 2 files attached. The
>>> first file, I added event on my phone, then did a sync. It shows
>>> up on my personal calendar. Second file done on Kronolith, event
>>> doesn't show up. None of the previous events I had on my personal
>>> calendar are showing up. One recurring event I've had on there
>>> for close to 2 years.
>>
>>
>> This is weird:
>>
>> 016-04-04T23:01:49-05:00 INFO: [2596] Initializing message diff
>> engine for Ab2ed48a2 (@Tasks@)
>> 2016-04-04T23:01:49-05:00 INFO: [2596]
>> Horde_Core_ActiveSync_Driver::getSyncStamp(@Tasks@, 42915);
>> 2016-04-04T23:01:49-05:00 INFO: [2596] Using SYNCSTAMP 42915 for Ab2ed48a2.
>> 2016-04-04T23:01:49-05:00 INFO: [2596]
>> Horde_Core_ActiveSync_Driver::getServerChanges(@Tasks@, 42915,
>> 42915, 1452571309, 0, 1, 100, )
>>
>> Somehow the collection id of Ab2ed48a2 is supposed to be for your
>> calendar, but it is being translated server side in some places as
>> tasks. This would definitely cause problems, as it is causing Horde
>> to poll Nag for changes when it should be polling Kronolith. I will
>> have to look into this further to see how this could have happened.
>
>
> The synckey that is being requested by the client for the Calendar
> collection is present in your syncCache attached to two different
> collections - both the Tasks and Calendar. I would need to see the
> log when this actually happened to see when the duplicate sync key
> was added, but it is most likely a client issue - sending the wrong
> synckey during a request which corrupted the synccache. I will look
> to add code to catch this case and reset the state.
I forgot to ask what state storage backend is in use, SQL or Mongo?
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/kronolith/attachments/20160405/f8d2eaaf/attachment.bin>
More information about the kronolith
mailing list