[horde] ActiveSync 2.0.12 update, error finding IMAP Server

Klaus Weidenbach Klaus.Weidenbach at gmx.net
Sat Dec 29 10:08:07 UTC 2012


Samuel Wolf wrote:

> Zitat von Tom Buehlmann <tomnet at tbuhl.ch>:
>> @Michael
>>
>> Yes, i restored the database, reset the device and everything works
>> as far as i can tell.
> 
> @ Tom,
> thank you for testing.
> That are good news, I hope the problem is now definitive fixed.
> 
> @ Mike,
> thank you for the two new versions.
> 
> Samuel
> 
>> At this moment i am on
>>
>> Horde_Core-2.1.3
>> Active-Sync-2.0.14
>>
>>> Also, another user via IRC reported that enabling the IMAP cache
>>> fixes this issue for him. So in imp/config/backends.local.php set
>>> 'cache' => true.
>>
>> Haven't tried this, but i'll test as soon as i have more time.
>> I still have the "defective" database archived.
>>
>>>
>>> --
>>> mike
>>>
>>> The Horde Project (www.horde.org)
>>> mrubinsk at horde.org

I have the same problem with both horde users I have. Devices are iOS6 and 
Android4.0 and 4.1. I have a Dovecot IMAP backend and Horde authenticates 
against imp. I use the pear packages from this morning. IMAP cache was 
always enabled.

If I disable $conf[activesync][emailsync] it seems first as if it would 
synchronize now, but then it is only repeating this every few seconds:

2012-12-29T10:55:48+01:00 DEBUG: [15642] Initializing state for collection: 
INBOX, synckey: {50debc9f-0d40-4fe4-b3f7-337dc0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Loading state for synckey 
{50debc9f-0d40-4fe4-b3f7-337dc0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Initializing message diff engine 
for INBOX
2012-12-29T10:55:49+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(INBOX, 1356774570, 
1356774949, 0, 1)
2012-12-29T10:55:49+01:00 DEBUG: [15642] Found 0 message changes in INBOX.
2012-12-29T10:55:49+01:00 DEBUG: [15642] Initializing state for collection: 
@Contacts@, synckey: {50debca2-2f48-44f1-b4fd-4e21c0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Loading state for synckey 
{50debca2-2f48-44f1-b4fd-4e21c0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Initializing message diff engine 
for @Contacts@
2012-12-29T10:55:49+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(@Contacts@, 1356774570, 
1356774949, 0, 1)
2012-12-29T10:55:49+01:00 DEBUG: [15642] Found 0 message changes in 
@Contacts at .
2012-12-29T10:55:49+01:00 DEBUG: [15642] Initializing state for collection: 
@Calendar@, synckey: {50debca2-0ef8-43c8-9201-3d1ac0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Loading state for synckey 
{50debca2-0ef8-43c8-9201-3d1ac0a80003}2
2012-12-29T10:55:49+01:00 DEBUG: [15642] Initializing message diff engine 
for @Calendar@
2012-12-29T10:55:49+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(@Calendar@, 1356774570, 
1356774949, 0, 1)
2012-12-29T10:55:49+01:00 DEBUG: [15642] Found 0 message changes in 
@Calendar at .
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing state for collection: 
INBOX, synckey: {50debc9f-0d40-4fe4-b3f7-337dc0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Loading state for synckey 
{50debc9f-0d40-4fe4-b3f7-337dc0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing message diff engine 
for INBOX
2012-12-29T10:55:54+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(INBOX, 1356774570, 
1356774954, 0, 1)
2012-12-29T10:55:54+01:00 DEBUG: [15642] Found 0 message changes in INBOX.
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing state for collection: 
@Contacts@, synckey: {50debca2-2f48-44f1-b4fd-4e21c0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Loading state for synckey 
{50debca2-2f48-44f1-b4fd-4e21c0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing message diff engine 
for @Contacts@
2012-12-29T10:55:54+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(@Contacts@, 1356774570, 
1356774954, 0, 1)
2012-12-29T10:55:54+01:00 DEBUG: [15642] Found 0 message changes in 
@Contacts at .
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing state for collection: 
@Calendar@, synckey: {50debca2-0ef8-43c8-9201-3d1ac0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Loading state for synckey 
{50debca2-0ef8-43c8-9201-3d1ac0a80003}2
2012-12-29T10:55:54+01:00 DEBUG: [15642] Initializing message diff engine 
for @Calendar@
2012-12-29T10:55:54+01:00 DEBUG: [15642] 
Horde_Core_ActiveSync_Driver::getServerChanges(@Calendar@, 1356774570, 
1356774954, 0, 1)
2012-12-29T10:55:54+01:00 DEBUG: [15642] Found 0 message changes in 
@Calendar at .

I have found in the logs also this:
NOTICE: [17651] Error saving state for synckey {50debc9f-0d40-4fe4-
b3f7-337dc0a80003}2: QUERY FAILED: Duplicate entry '{50debc9f-0d40-4fe4-
b3f7-337dc0a80003}2' for key 'PRIMARY'

Could this be related to the problem? Unfortunately I have no database 
Backup that is reaching so far back until ActiveSync was still working. Any 
other way how I could reset the database?

-- 
Regards, Klaus



More information about the horde mailing list