[Kolab-devel] Kolab Z-Push 0.2 causes some duplicate contacts

René Mayrhofer rmayr at debian.org
Wed Jul 14 16:32:26 CEST 2010


Dear Alain,

On Friday 14 May 2010 12:19:57 Alain Abbas wrote:
> The contacts seems to have changed on the server and the UID too, have
> you got another programp who access to the
> same account at the same time ?
> the device seems to change the UID at same sync ..
> could you test just with one contact and one telepone ( maybe on an test
> account to start to zero ?)

I wasn't able to find out which of the contacts caused the problem. As soon as 
some arbitrary number of contacts (roughly >100), duplicates start to appear 
and at the same time some contacts disappear. It seems as if the Z-Push Kolab 
backend 0.4 somehow overwrites some contacts with the data of others.

As my testing wasn't successful with the old version, I now tried to switch to 
Z-Push 1.3 with Kolab backend 0.6.1. Unfortunately, with the attached 
config.php adapted to my paths (Debian Squeeze/testing with native Debian Kolab 
packages), the sync doesn't do anything at all. I removed the Exchange account 
on my test device (HTC Desire running Android 2.1 with HTC Sense support for 
Exchange calendars) and added it from scratch. Then, the synchronization 
attempts do not seem to find the IMAP folders although the login is successful:

==> debug.txt <==
07/14/10 15:36:57 [4768] Start
07/14/10 15:36:57 [4768] Z-Push version: 1.3 355
07/14/10 15:36:57 [4768] Client IP: 90.152.222.32
07/14/10 15:36:57 [4768] Client supports version 2.5
07/14/10 15:36:57 [4768] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:40 
Declaration of BackendKolab::GetMessage() should be compatible with that of 
BackendDiff::GetMessage() (2048)

==> /var/log/z-push/access.log <==
07/14/10 15:36:57 [4768] : r at doc.to : Connecting to 
{doc.to:143/imap/notls/norsh}

==> debug.txt <==
07/14/10 15:36:57 [4768] KolabBackend Version : 0.6.1
07/14/10 15:36:57 [4768] KolabActiveSyndData Version : 20100707

==> /var/log/z-push/access.log <==
07/14/10 15:36:57 [4768] : r at doc.to : KolabBackend Version : 0.6.1
07/14/10 15:36:57 [4768] : r at doc.to : KolabActiveSyndData Version : 20100707
07/14/10 15:36:57 [4768] : r at doc.to : IMAP connection opened sucessfully user 
: r at doc.to
07/14/10 15:36:57 [4768] : r at doc.to : Setup : r at doc.to Mobile ID 
:HTCAnd901168d0 Proto Version : 2.5 DeviceType : htcbravo DeviceAgent : 
Android-EAS/0.1
07/14/10 15:36:57 [4768] : r at doc.to : NOTICE : findMode Flatmode

==> debug.txt <==
07/14/10 15:36:57 [4768] POST cmd: Sync
07/14/10 15:36:57 [4768] Sync folder:Calendar
07/14/10 15:36:57 [4768] Initializing message diff engine
07/14/10 15:36:57 [4768] 0 messages in state
07/14/10 15:36:57 [4768] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2905 
Function ereg() is deprecated (8192)
07/14/10 15:36:57 [4768] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2912 
Function split() is deprecated (8192)
07/14/10 15:36:57 [4768] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2914 
Function ereg() is deprecated (8192)

==> /var/log/z-push/access.log <==
07/14/10 15:36:57 [4768] : r at doc.to : Annotation INBOX/Trash : 0

==> /var/log/apache2/kolab_ssl.log <==
[14/Jul/2010:15:36:57 +0200] 90.152.222.32 TLSv1 DHE-RSA-AES256-SHA "POST 
/Microsoft-Server-
ActiveSync?Cmd=Sync&User=r%40doc.to&DeviceId=HTCAnd901168d0&DeviceType=htcbravo 
HTTP/1.1" 87

==> debug.txt <==
07/14/10 15:36:59 [7341] Start
07/14/10 15:36:59 [7341] Z-Push version: 1.3 355
07/14/10 15:36:59 [7341] Client IP: 90.152.222.32
07/14/10 15:36:59 [7341] Client supports version 2.5
07/14/10 15:36:59 [7341] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:40 
Declaration of BackendKolab::GetMessage() should be compatible with that of 
BackendDiff::GetMessage() (2048)

==> /var/log/z-push/access.log <==
07/14/10 15:36:59 [7341] : r at doc.to : Connecting to 
{doc.to:143/imap/notls/norsh}

==> debug.txt <==
07/14/10 15:36:59 [7341] KolabBackend Version : 0.6.1
07/14/10 15:36:59 [7341] KolabActiveSyndData Version : 20100707

==> /var/log/z-push/access.log <==
07/14/10 15:36:59 [7341] : r at doc.to : KolabBackend Version : 0.6.1
07/14/10 15:36:59 [7341] : r at doc.to : KolabActiveSyndData Version : 20100707
07/14/10 15:36:59 [7341] : r at doc.to : IMAP connection opened sucessfully user 
: r at doc.to
07/14/10 15:36:59 [7341] : r at doc.to : Setup : r at doc.to Mobile ID 
:HTCAnd901168d0 Proto Version : 2.5 DeviceType : htcbravo DeviceAgent : 
Android-EAS/0.1
07/14/10 15:36:59 [7341] : r at doc.to : NOTICE : findMode Flatmode

==> debug.txt <==
07/14/10 15:36:59 [7341] POST cmd: Sync
07/14/10 15:36:59 [7341] Sync folder:Calendar
07/14/10 15:36:59 [7341] Initializing message diff engine
07/14/10 15:36:59 [7341] 0 messages in state
07/14/10 15:36:59 [7341] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2905 
Function ereg() is deprecated (8192)
07/14/10 15:36:59 [7341] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2912 
Function split() is deprecated (8192)
07/14/10 15:36:59 [7341] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2914 
Function ereg() is deprecated (8192)

==> /var/log/z-push/access.log <==
07/14/10 15:36:59 [7341] : r at doc.to : Annotation INBOX/Trash : 0

==> /var/log/apache2/kolab_ssl.log <==
[14/Jul/2010:15:36:59 +0200] 90.152.222.32 TLSv1 DHE-RSA-AES256-SHA "POST 
/Microsoft-Server-
ActiveSync?Cmd=Sync&User=r%40doc.to&DeviceId=HTCAnd901168d0&DeviceType=htcbravo 
HTTP/1.1" 87

==> debug.txt <==
07/14/10 15:37:02 [7343] Start
07/14/10 15:37:02 [7343] Z-Push version: 1.3 355
07/14/10 15:37:02 [7343] Client IP: 90.152.222.32
07/14/10 15:37:02 [7343] Client supports version 2.5
07/14/10 15:37:02 [7343] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:40 
Declaration of BackendKolab::GetMessage() should be compatible with that of 
BackendDiff::GetMessage() (2048)

==> /var/log/z-push/access.log <==
07/14/10 15:37:02 [7343] : r at doc.to : Connecting to 
{doc.to:143/imap/notls/norsh}

==> debug.txt <==
07/14/10 15:37:02 [7343] KolabBackend Version : 0.6.1
07/14/10 15:37:02 [7343] KolabActiveSyndData Version : 20100707

==> /var/log/z-push/access.log <==
07/14/10 15:37:02 [7343] : r at doc.to : KolabBackend Version : 0.6.1
07/14/10 15:37:02 [7343] : r at doc.to : KolabActiveSyndData Version : 20100707
07/14/10 15:37:02 [7343] : r at doc.to : IMAP connection opened sucessfully user 
: r at doc.to
07/14/10 15:37:02 [7343] : r at doc.to : Setup : r at doc.to Mobile ID 
:HTCAnd901168d0 Proto Version : 2.5 DeviceType : htcbravo DeviceAgent : 
Android-EAS/0.1
07/14/10 15:37:02 [7343] : r at doc.to : NOTICE : findMode Flatmode

==> debug.txt <==
07/14/10 15:37:02 [7343] POST cmd: Sync
07/14/10 15:37:02 [7343] Sync folder:Calendar
07/14/10 15:37:02 [7343] Initializing message diff engine
07/14/10 15:37:02 [7343] 0 messages in state
07/14/10 15:37:02 [7343] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2905 
Function ereg() is deprecated (8192)
07/14/10 15:37:02 [7343] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2912 
Function split() is deprecated (8192)
07/14/10 15:37:02 [7343] /srv/z-push-1.3-kolab-0.6.1/backend/kolab.php:2914 
Function ereg() is deprecated (8192)

==> /var/log/z-push/access.log <==
07/14/10 15:37:02 [7343] : r at doc.to : Annotation INBOX/Trash : 0

==> /var/log/apache2/kolab_ssl.log <==
[14/Jul/2010:15:37:02 +0200] 90.152.222.32 TLSv1 DHE-RSA-AES256-SHA "POST 
/Microsoft-Server-
ActiveSync?Cmd=Sync&User=r%40doc.to&DeviceId=HTCAnd901168d0&DeviceType=htcbravo 
HTTP/1.1" 87

state and kolabindex were empty before the first sync attempts.
Is there anything obvious that I'm doing wrong here? I tried to follow the 
installation instructions as closely as possible, adapting to different paths 
where required (as I don't use the OpenPKG version of Kolab).

best regards,
Rene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.php
Type: application/x-php
Size: 2895 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20100714/e72a5695/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20100714/e72a5695/attachment.sig>


More information about the devel mailing list