[Tickets #13038] Error saving state for synckey - no Inbox synchronization

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 12 08:59:50 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13038
------------------------------------------------------------------------------
  Ticket             | 13038
  Created By         | samuel.wolf at wolf-maschinenbau.de
  Summary            | Error saving state for synckey - no Inbox
                     | synchronization
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


samuel.wolf at wolf-maschinenbau.de (2014-03-12 08:59) wrote:

My Android 4.1.2 device stop synchronize my mail Inbox with  
Horde_ActiveSync-2.13.1, other Mailfolders work fine. Reset the device  
does not help.

Horde Log:
2014-03-12T04:14:53+00:00 INFO: [25603] Updating state during change
2014-03-12T04:14:53+00:00 DEBUG: [25603] O     </Commands>
2014-03-12T04:14:53+00:00 INFO: [25603] Saving state:  
a:8:{i:0;s:39:"{531fddad-xxxx-xxxx-xxxx-xxxxxxxxxxxx}5";i:1;O:21:"Horde_Db_Value_Binary":1:{s:5:"value";s:206:"C:28:"Horde_ActiveSync_Folder_Imap":164:{{"s":{"messages":"1","uidnext":"5378","uidvalidity":"1342278888","highestmodseq":"12679"},"m":"5377","f":"INBOX","c":"Email","lsd":1393992593,"sd":1394597393,"v":2}}";}i:2;s:17:"ANDROID1xxxx";i:3;i:1394597693;i:4;s:9:"F3ef80eea";i:5;s:6:"samuel";i:6;i:0;i:7;i:1394597693;}
2014-03-12T04:14:53+00:00 NOTICE: [25603] Error saving state for  
synckey {531fddad-xxxx-xxxx-xxxx-xxxxxxxxxxxx}5: QUERY FAILED:  
Duplicate entry '{531fddad-xxxx-xxxx-xxxx-xxxxxxxxxxxx}5' for key  
'PRIMARY'

INSERT INTO horde_activesync_state (sync_key, sync_data, sync_devid,  
sync_mod, sync_folderid, sync_user, sync_pending, sync_timestamp)  
VALUES ('{531fddad-xxxx-xxxx-xxxx-xxxxxxxxxxxx}5',  
'C:28:"Horde_ActiveSync_Folder_Imap":164:{{"s":{"messages":"1","uidnext":"5378","uidvalidity":"1342278888","highestmodseq":"12679"},"m":"5377","f":"INBOX","c":"Email","lsd":1393992593,"sd":1394597393,"v":2}}', 'ANDROID1xxxx', 1394597693, 'F3ef80eea', 'samuel', 'a:0:{}', 1394597693) - removing previous sync state and trying  
again.
2014-03-12T04:14:53+00:00 DEBUG: [25603] O    </Folder>
2014-03-12T04:14:53+00:00 DEBUG: [25603] O   </Folders>
2014-03-12T04:14:53+00:00 DEBUG: [25603] O  </Synchronize>

Found some errors in the apache log:
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP Fatal  
error:  [] operator not supported for strings in  
/usr/share/php/Horde/ActiveSync/Folder/Imap.php on line 222
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP Stack trace:
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   1.  
{main}() /var/www/https/horde/rpc.php:0
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   2.  
Horde_Rpc_ActiveSync->getResponse() /var/www/https/horde/rpc.php:156
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   3.  
Horde_ActiveSync->handleRequest()  
/usr/share/php/Horde/Rpc/ActiveSync.php:143
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   4.  
Horde_ActiveSync_Request_Base->handle()  
/usr/share/php/Horde/ActiveSync.php:897
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   5.  
Horde_ActiveSync_Request_Sync->_handle()  
/usr/share/php/Horde/ActiveSync/Request/Base.php:249
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   6.  
Horde_ActiveSync_Collections->getCollectionChangeCount()  
/usr/share/php/Horde/ActiveSync/Request/Sync.php:399
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   7.  
Horde_ActiveSync_Collections->getCollectionChanges()  
/usr/share/php/Horde/ActiveSync/Collections.php:1216
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   8.  
Horde_ActiveSync_State_Base->getChanges()  
/usr/share/php/Horde/ActiveSync/Collections.php:1180
[Wed Mar 12 05:29:28 2014] [error] [client 93.201.xx.xx] PHP   9.  
Horde_ActiveSync_Folder_Imap->updateState()  
/usr/share/php/Horde/ActiveSync/State/Base.php:445

Downgrade to Horde_ActiveSync-2.12.4 help.
php5 5.4.4-14+deb7u8
Horde_Mime                2.3.0   stable
Horde_Imap_Client         2.19.0  stable







More information about the bugs mailing list