Terms of service
|
Imprint
|
Copyright
News
Products
Company
Contact
Project Site
February 09, 2012, 10:00:03 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
Home
Help
Search
Login
Register
Kolab on Gentoo
>
Kolab2/Gentoo
>
Extensions
>
SyncML
Pages: [
1
]
2
« previous
next »
Print
Author
Topic: SyncML (Read 15672 times)
xehqter
Jr. Member
Karma: 1
Posts: 94
SyncML
«
on:
October 21, 2007, 07:12:09 AM »
Is there any effort to get SyncML running on kolab/horde? I played around w/ Funambrol & Outlook but couldn't get anywhere with it.
Notes and Tasks claim to have synced but didn't, Contacts and Calendar return an error (error -500 unknown error). The debug logs don't throw an error I can identify.
*Notes:
1. Funambrol won't sync if apache doesn't have a SSL certificate from a trusted CA so you must disable SSLRequireSSL on horde in /etc/apache2/vhosts.d/kolab-domain-base.include
2. create a directory called sync in /tmp then make it writable by horde (for debugging)
3. Change the following in horde/config/conf.php:
$conf['compress_pages'] = true;
$conf['log']['priority'] = PEAR_LOG_DEBUG;
4. Assuming you disable SSL on horde your URL is
http://www.yourdomain.com/horde/rpc.php
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #1 on:
October 21, 2007, 07:27:16 AM »
Quote from: xehqter on October 21, 2007, 07:12:09 AM
Is there any effort to get SyncML running on kolab/horde?
Yes. But all four applications (kronolith, turba, nag, mnemo) need fixes to their api for this to work.
Cheers,
Gunnar
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #2 on:
October 21, 2007, 07:32:17 AM »
Looks like its a PHP error:
[21-Oct-2007 02:31:22] PHP Fatal error: Call to undefined method DB_Error::getOne() in /usr/share/php/SyncML/Backend/Horde.php on line 713
Its making a SQL call to the database, guess it needs to be re-written to use the kolab driver.
Is SyncML a priority or will we be waiting a while for its support? Not that I need it ATM, however it does look like a really nice feature.
Are those modifications something you would be working on, or the horde dev team?
«
Last Edit: October 21, 2007, 07:53:24 AM by xehqter
»
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #3 on:
November 07, 2007, 09:22:27 AM »
I published a basic patch for this now:
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/horde/HK-GW-global_3.2_ALPHA-SyncML.patch?rev=HEAD&content-type=text/vnd.viewcvs-markup
And some basic instructions:
http://kolab.org/pipermail/kolab-devel/2007-November/007883.html
Please note that you will still have to configure a MySQL db for SyncML to get anywhere with it. Two modules required for SyncML only work with a db backend at the moment.
I won't apply the patch to the ebuilds at the moment but rather wait for the next horde release (... which should have occured two weeks ago).
Cheers,
Gunnar
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #4 on:
April 18, 2008, 05:20:23 AM »
I recently got a new phone and would love to have it work with SyncML/Horde/Kolab, would the patch from November still work and are there any hints you can give towards how to setup the mysql database and configure SyncML support.
Thanks,
Jeremy
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #5 on:
April 18, 2008, 10:17:45 AM »
SyncML based on a MySQL db should work out of the box with Horde CVS (HEAD or FW3).
You need to setup the DB from the scripts in the horde base directory (you need the datatree, history and syncml dbs). Then you configure the Mysql connection in your Horde admin frontend and you should be done.
I know I make it sound simple and there are quite a few pitfalls. Especially the Horde installation itself. I hope to be able to provide a Horde update for Kolab2/Gentoo next week.
Cheers,
Gunnar
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #6 on:
April 24, 2008, 03:04:53 AM »
I’m running horde-framework-kolab-3.2_rc1 with mixed results. I imported the databases, switched horde:database to MySQL in the horde admin. In addition I had to disable SSL for Funambol to work.
I’m using Funambol w/ Outlook, communication appears to be one way. I can go from Outlook to Kolab but not the otherway around. Nothing from Kolab gets sync’d on Outlook. Contacts, Calendar, Tasks, and Notes transfer however Notes gives me an authentication error after transferring Outlook -> Kolab.
Items transfered to kolab from outlook are stored in the Kolab2 XML format on the IMAP server
Sync times don’t appeared to be stored because it always wants todo a full sync.
I’m curious if you had similar results.
Here is the debug log.
Code:
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: Backend of class SyncML_Backend_Horde created [pid 11349 on line 251 of "/usr/share/php/SyncML/Backend.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: New session created: ca3e6aa8264081e37e6612f79ba79879 [pid 11349 on line 35 of "/usr/share/php/SyncML/Command/SyncHdr.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: checking auth for user=jeremy@aplusperfect.com [pid 11349 on line 481 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:45 HORDE [debug] [horde] Hook _prefs_change_hook_last_login in application horde not called. [pid 11349 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: authorized=1 version=1 msgid=1 source=fol-WEVIUVRFUjpKZXJlbXk= target=http://www.aplusperfect.com/horde/rpc.php user=jeremy@aplusperfect.com charset=UTF-8 wbxml= [pid 11349 on line 447 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: SyncML: No info about previous syncs found for device fol-WEVIUVRFUjpKZXJlbXk= and database scard [pid 11349 on line 86 of "/usr/share/php/SyncML/Command/Alert.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: Create new sync for scard; synctype=205 [pid 11349 on line 153 of "/usr/share/php/SyncML/Command/Alert.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: HandleFinal for state=0 [pid 11349 on line 539 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: Received Final from client. [pid 11349 on line 31 of "/usr/share/php/SyncML/Command/Final.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: Sending Final to client. [pid 11349 on line 512 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:45 HORDE [debug] [horde] SyncML: SyncML: return message completed [pid 11349 on line 547 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: Backend of class SyncML_Backend_Horde created [pid 11349 on line 251 of "/usr/share/php/SyncML/Backend.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: Existing session continued: ca3e6aa8264081e37e6612f79ba79879 [pid 11349 on line 43 of "/usr/share/php/SyncML/Command/SyncHdr.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: authorized=1 version=1 msgid=2 source=fol-WEVIUVRFUjpKZXJlbXk= target=http://www.aplusperfect.com/horde/rpc.php user=jeremy@aplusperfect.com charset=UTF-8 wbxml= [pid 11349 on line 447 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: created device class SyncML_Device_Sync4j [pid 11349 on line 61 of "/usr/share/php/SyncML/Device.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: HandleFinal for state=1 [pid 11349 on line 539 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: server create sync output for syncType=scard [pid 11349 on line 263 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:46 HORDE [debug] [horde] SyncML: Compiling server changes from 1969-12-31 19:00:00 to 2008-04-23 21:46:45 [pid 11349 on line 295 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:47 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 11349 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:46:47 HORDE [error] [turba] Unable to add INBOX/Contacts: destination folder already exists [pid 11349 on line 435 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: slowsync-add: ignored [pid 11349 on line 192 of "/usr/share/php/SyncML/Backend/Horde.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: sending 0 server changes for syncType=scard [pid 11349 on line 337 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Received Final from client. [pid 11349 on line 31 of "/usr/share/php/SyncML/Command/Final.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Sending Final to client. [pid 11349 on line 512 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: SyncML: return message completed [pid 11349 on line 547 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Backend of class SyncML_Backend_Horde created [pid 11349 on line 251 of "/usr/share/php/SyncML/Backend.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Existing session continued: ca3e6aa8264081e37e6612f79ba79879 [pid 11349 on line 43 of "/usr/share/php/SyncML/Command/SyncHdr.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: authorized=1 version=1 msgid=3 source=fol-WEVIUVRFUjpKZXJlbXk= target=http://www.aplusperfect.com/horde/rpc.php user=jeremy@aplusperfect.com charset=UTF-8 wbxml= [pid 11349 on line 447 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: HandleFinal for state=3 [pid 11349 on line 539 of "/usr/share/php/SyncML/Sync.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Received Final from client. [pid 11349 on line 31 of "/usr/share/php/SyncML/Command/Final.php"]
Apr 23 21:46:47 HORDE [debug] [horde] SyncML: Sending Final to client. [pid 11349 on line 512 of "/usr/share/php/SyncML.php"]
Apr 23 21:46:47 HORDE [info] [horde] SyncML: Successful sync of scard! Summary: failures=0; client(Add,Replace,Delete,AddReplaces)=0,0,0,0; server(Add,Replace,Delete)=0,0,0 [pid 11349 on line 621 of "/usr/share/php/SyncML/Sync.php"]
I also get
Code:
Apr 23 21:47:36 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 10384 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:47:36 HORDE [error] [turba] IMAP error. Folder: INBOX/Contacts. Error: Permission denied [pid 10384 on line 435 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
Apr 23 21:47:36 HORDE [debug] [kronolith] Hook _horde_hook_share_init in application horde not called. [pid 10384 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:47:36 HORDE [debug] [nag] Hook _horde_hook_share_init in application horde not called. [pid 10384 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:47:36 HORDE [debug] [horde] IMAP errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied [pid 10384 on line 177 of "/var/www/kolab/htdocs/horde/imp/lib/IMAP.php"]
Apr 23 21:48:32 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 10305 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:48:32 HORDE [error] [turba] Unable to add INBOX/Contacts: destination folder already exists [pid 10305 on line 435 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
Apr 23 21:48:32 HORDE [debug] [kronolith] Hook _horde_hook_share_init in application horde not called. [pid 10305 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:48:32 HORDE [debug] [nag] Hook _horde_hook_share_init in application horde not called. [pid 10305 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:48:32 HORDE [debug] [horde] IMAP errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN SECURITY PROBLEM: insecure server advertised AUTH=PLAIN [pid 10305 on line 177 of "/var/www/kolab/htdocs/horde/imp/lib/IMAP.php"]
Apr 23 21:49:57 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 10386 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:49:57 HORDE [error] [turba] IMAP error. Folder: INBOX/Contacts. Error: Permission denied [pid 10386 on line 435 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
Apr 23 21:49:57 HORDE [debug] [kronolith] Hook _horde_hook_share_init in application horde not called. [pid 10386 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:49:58 HORDE [debug] [nag] Hook _horde_hook_share_init in application horde not called. [pid 10386 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:49:58 HORDE [debug] [horde] IMAP errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied [pid 10386 on line 177 of "/var/www/kolab/htdocs/horde/imp/lib/IMAP.php"]
Apr 23 21:50:35 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 10308 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:50:35 HORDE [error] [turba] IMAP error. Folder: INBOX/Contacts. Error: Permission denied [pid 10308 on line 435 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
Apr 23 21:50:35 HORDE [debug] [kronolith] Hook _horde_hook_share_init in application horde not called. [pid 10308 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:50:36 HORDE [debug] [nag] Hook _horde_hook_share_init in application horde not called. [pid 10308 on line 1501 of "/usr/share/php/Horde.php"]
Apr 23 21:50:36 HORDE [debug] [horde] IMAP errors: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied SECURITY PROBLEM: insecure server advertised AUTH=PLAIN Permission denied Permission denied [pid 10308 on line 177 of "/var/www/kolab/htdocs/horde/imp/lib/IMAP.php"]
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #7 on:
May 02, 2008, 07:43:25 AM »
Don't try it with the current ebuilds. You'd need Horde CVS for that. And I promise you that it will work out of the box once Horde-3.2-final is out and the new packages are in the overlay.
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #8 on:
May 03, 2008, 09:04:16 AM »
Which horde apps do i need to run CVS versions of? Are the existing .conf files compatible with CVS? Are the existing patches now implemented?
Logged
http://www.aplusperfect.com
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #9 on:
May 04, 2008, 05:40:23 AM »
Ha, after wasting a few hours trying to get horde cvs running on my development box with patches I noticed you had a script on your blog which does it all for me
After installing the framework, moving the horde folder, renaming the .diffs, and running kolabconf I'm proud to say i'm running horde-cvs
http://log.onthebrink.de/2008/03/sync-my-kolab.html
What version of Horde HEAD are you running on your CVS?
I'll screw around with SyncML in Outlook, if that works i'll try it on my Blackberry. I'm sure something will break however thanks for getting me to this point
YOU ROCK!!! THANKS
Logged
http://www.aplusperfect.com
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #10 on:
May 04, 2008, 11:23:32 PM »
Syncing Notes and Calendar items work however contacts and tasks don't.
I'm using Horde CVS with MySQL backend (with new db layout) Funambol & Outlook 2003.
I can sync tasks from Outlook to Horde however I can't sync from Horde to Outlook.
When I check the log I get the following error
Code:
May 04 17:49:41 HORDE [debug] [horde] Adding to client from db tasks, server id 20080504174912.13083fks44bpaxyc@www.aplusperfect.com [pid 1499 on line 207 of "/usr/share/php/SyncML/Backend/Horde.php"]
May 04 17:49:41 HORDE [debug] [horde] Sending add from server: 20080504174912.13083fks44bpaxyc@www.aplusperfect.com [pid 1499 on line 419 of "/usr/share/php/SyncML/Sync.php"]
May 04 17:49:41 HORDE [error] [horde] API export call for 20080504174912.13083fks44bpaxyc@www.aplusperfect.com failed: Nag/kolab: Did not find task 20080504174912.13083fks44bpaxyc [pid 1499 on line 431 of "/usr/share/php/SyncML/Sync.php"]
When syncing Contacts it appears to default to the Global Address Book (stored in LDAP).
Ex: Outlook to Horde Sync
Code:
May 04 18:03:19 HORDE [debug] [turba] LDAP query by Turba_Driver_ldap::_search(): user = jeremy@aplusperfect.com, root = dc=aplusperfect,dc=com (aplusperfect.com); filter = "(&(cn=*Smells, Melvin*)(sn=*Smells*)(givenName=*Melvin*))"; attributes = "dn, cn, givenName, sn, mail, alias, title, o, street, l, st, postalCode, c, homePhone, telephoneNumber, mobile, fax, description, kolabHomeServer"; deref = "0" ; sizelimit = 200 [pid 1500 on line 186 of "/var/www/kolab/htdocs/horde/turba/lib/Driver/ldap.php"]
May 04 18:03:19 HORDE [error] [horde] Error in adding client entry: Failed to add an object: [8] "Strong(er) authentication required" DN: cn="Smells, Melvin",dc=aplusperfect,dc=com (attributes: [a:4:{s:2:"cn";s:14:"Smells, Melvin";s:2:"sn";s:6:"Smells";s:9:"givenName";s:6:"Melvin";s:11:"objectclass";a:1:{i:0;s:13:"inetOrgPerson";}}]).Charset:UTF-8 [pid 1500 on line 213 of "/usr/share/php/SyncML/Sync.php"]
I changed my Default Addressbook from "Global Address Book" to "Contacts" and now I can sync from Outlook to Horde however not from Horde to Outlook.
It looks like SyncML is telling the app there are no updates even though there are. Perhaps its pulling from LDAP?
Code:
May 04 17:59:54 HORDE [debug] [turba] Hook _horde_hook_share_init in application horde not called. [pid 1561 on line 1608 of "/usr/share/php/Horde.php"]
May 04 17:59:54 HORDE [error] [turba] Unable to add INBOX/Contacts: destination folder already exists [pid 1561 on line 464 of "/var/www/kolab/htdocs/horde/turba/lib/Turba.php"]
May 04 17:59:54 HORDE [debug] [horde] Sending 0 server changes for client URI scard [pid 1561 on line 360 of "/usr/share/php/SyncML/Sync.php"]
May 04 17:59:54 HORDE [debug] [horde] Sending <Final> to client [pid 1561 on line 485 of "/usr/share/php/SyncML.php"]
Any suggestions? Am I debugging this correctly?
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #11 on:
May 07, 2008, 03:25:38 PM »
In principle I would only expect contacts (turba) and events (kronolith) to work at the moment. These are the two I have been contracted for and I didn't have the time to fix mnemo and nag correctly (though the might work partially).
It seems strange that the synchronization only works one way.
You are definitely debugging it correctly. Looking for "error" is the right thing to do.
Concerning your nag error: This is what I'd expect as I did not fix the UID situation in nag correctly yet.
The first turba error is okay since setting the correct sync target in Turba is required to get syncing to work with contacts.
But the second error seems strange. It shouldn't try to add another "Contacts" folder if there already is one present. I'd check if the IMAP annotation are okay and there is really only one folder in your system marked with "contacts.default". And you might check if the "Contacts" folder is in the list of folders to be displayed (in the Horde/Turba preferences). But there might of course be other reasons for that error that I currently can't think of
You are of course living right on the edge. To be honest today was the first day I was actually able to sync my own Nokia on my productive server for the very first time. Before that I only played around with the customers Blackberry.
So now I hope to be able to package that in the near future for Gentoo. Horde-3.2 is targeted for the end of this month. And this time I even tend to believe that
So maybe the new set of Gentoo package will still take that long.
Cheers,
Gunnar
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #12 on:
May 09, 2008, 05:40:31 AM »
how do I check IMAP annotations?
Logged
http://www.aplusperfect.com
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: SyncML
«
Reply #13 on:
May 09, 2008, 06:18:20 AM »
Quote from: xehqter on May 09, 2008, 05:40:31 AM
how do I check IMAP annotations?
cyradm is your friend
cyradm -u
user@example.org
localhost
> info INBOX/Contacts
{INBOX/Contacts}:
condstore: false
lastpop:
lastupdate: 8-May-2008 11:53:09 +0200
partition: default
size: 203295
folder-type: contact.default
> mboxcfg INBOX/Contacts /vendor/kolab/folder-type contact
The second line would set the folder type.
Cheers,
Gunnar
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: SyncML
«
Reply #14 on:
May 09, 2008, 04:55:39 PM »
Interesting, I created a new account and contacts synced properly.
On my personal account the following is shown. (doesn't work)
Code:
localhost> info INBOX/Contacts
{INBOX/Contacts}:
condstore: false
lastpop:
lastupdate: 4-May-2008 18:07:21 -0400
partition: default
size: 1465
folder-type: contact
h-share-attr-params: YToxOntzOjY6InNvdXJjZSI7czo1OiJrb2xhYiI7fQ==
the newly created account (works)
Code:
localhost> info INBOX/Contacts
{INBOX/Contacts}:
condstore: false
lastpop:
lastupdate: 9-May-2008 11:47:15 -0400
partition: default
size: 2933
share-params: YToyOntzOjY6InNvdXJjZSI7czo1OiJrb2xhYiI7czo0OiJuYW1lIjtzOjIzOiJzeW5jbWxAYXBsdXNwZXJmZWN0LmNvbSI7fQ==
folder-type: contact.default
UPDATE: I deleted the contacts folder in my account and let syncml recreate it, then changed that address book to the default and it worked
sweet.. YOU ROCK!!
UPDATE: I tried it on my blackberry with funambol and get "Synchronization failed. String index out of range: -9" with no errors (see below)
Code:
May 09 12:23:02 HORDE [debug] [horde] Backend of class SyncML_Backend_Horde created [pid 9702 on line 299 of "/usr/share/php/SyncML/Backend.php"]
May 09 12:23:02 HORDE [debug] [horde] New session created: 19302b5a9f1e4db8e9b1856549816765 [pid 9702 on line 197 of "/usr/share/php/SyncML/Command/SyncHdr.php"]
May 09 12:23:02 HORDE [debug] [horde] Checking authentication for user jeremy@aplusperfect.com [pid 9702 on line 530 of "/usr/share/php/SyncML/Backend/Horde.php"]
May 09 12:23:02 HORDE [debug] [horde] Hook _horde_hook_share_init in application horde not called. [pid 9702 on line 1608 of "/usr/share/php/Horde.php"]
May 09 12:23:03 HORDE [debug] [horde] Hook _prefs_change_hook_last_login in application horde not called. [pid 9702 on line 1608 of "/usr/share/php/Horde.php"]
May 09 12:23:03 HORDE [debug] [horde] Authenticated: yes; version: 1.2; message ID: 1; source URI: fbb-608306203; target URI: http://www.aplusperfect.com:80/horde/rpc.php; user: jeremy@aplusperfect.com; charset: UTF-8; wbxml: no [pid 9702 on line 415 of "/usr/share/php/SyncML.php"]
May 09 12:23:03 HORDE [debug] [horde] SQL Query by SyncML_Backend_Horde::eraseMap(): DELETE FROM horde_syncml_map WHERE syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ?, values: fbb-608306203, contacts, jeremy@aplusperfect.com [pid 9702 on line 899 of "/usr/share/php/SyncML/Backend/Horde.php"]
May 09 12:23:03 HORDE [debug] [horde] Creating SyncML_Sync object for database scard; sync type 201 [pid 9702 on line 289 of "/usr/share/php/SyncML/Command/Alert.php"]
May 09 12:23:03 HORDE [debug] [horde] Received <Final> from client. [pid 9702 on line 51 of "/usr/share/php/SyncML/Command/Final.php"]
May 09 12:23:03 HORDE [debug] [horde] Handle <Final> for state Init [pid 9702 on line 584 of "/usr/share/php/SyncML/Sync.php"]
May 09 12:23:03 HORDE [debug] [horde] Sending <Final> to client [pid 9702 on line 485 of "/usr/share/php/SyncML.php"]
May 09 12:23:03 HORDE [debug] [horde] Return message completed [pid 9702 on line 523 of "/usr/share/php/SyncML.php"]
May 09 12:23:03 HORDE [debug] [horde] Max memory usage: 6553600 bytes [pid 9702 on line 334 of "/usr/share/php/Horde/Registry.php"]
I'll try it with the Synthesis SyncML Client.
Mind if I write a howto?
«
Last Edit: May 09, 2008, 05:27:56 PM by xehqter
»
Logged
http://www.aplusperfect.com
Pages: [
1
]
2
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Kolab2/Gentoo
=> Horde/Kolab
-----------------------------
Kolab2/Gentoo
-----------------------------
=> Bugs
=> Configuration
=> Extensions
=> Miscellaneous
-----------------------------
Horde/Kolab
-----------------------------
=> Installation
=> Problems/Bugs
-----------------------------
Other Languages
-----------------------------
=> Deutsch/German
=> Francais/French