6.0.0-git
2024-04-19
Last Modified 2008-03-26 by Guest

How to replicate data with Horde and your phone, PDA or Outlook

This is Horde the SyncML HowTo page. It describes how to setup your phone, PDA, or Outlook to synchronize its data (calendar, events, tasks, notes) with Horde. You might also want to check out these pages:

  • SyncMLRoadmap describes planned, upcoming or currently missing features.
    • Once you managed to sync your phone with Horde, please check the SyncMLContributeTesting page and provide a test case if there's none for your client yet. You'll help us to improve the stability for your client!
    • If you encounter problems with syncing and can't resolve them on your own or using the FAQ below, please follow the directions in SyncMLProblemReport for reporting problems.

General information

Syncing is beta quality code - to help fixing bugs and locating issues you need to be able to at least read logfiles! Testing is welcome; please report to the sync list (sync@lists.horde.org), but please keep in mind that the code is still in development.

  • You have to use at least Horde 3.2 and x.2 versions of the Horde applications, or Horde Groupware (Webmail Edition) 1.1, or the cvs version or a cvs snapshot. Horde 3.1.x or Horde Groupware 1.0.x won't do. Please note that if you are using a cvs checkout or snapshot, you have to run framework/install-packages.php to install the required packages into your PEAR path.
    • client configuration is as follows:
      • The sync URL is http(s)://pathtoyourhordeinstall/rpc.php
        • Username/password: your Horde account data
        • Databases (sometimes called remote settings or 'server path') must be calendar, tasks, notes, or contacts.
    • For debug output create dir /tmp/sync and make it writeable by web server
    • Set log level to PEAR_LOG_DEBUG in Administration:Horde Setup_Logging.
    • When reporting problems to the mailing list, please include the /tmp/sync/syncml_log.txt. This greatly helps to figure out what's going on.

Information for syncing with Outlook or Blackberry

  • You need the Funambol outlook connector. Go to http://www.funambol.com/ -> Download -> PIM-Only Client Software -> Version for your client -> Download and install.
    • Configure as mentioned above. Device ID must be sc-pim-outlook or anything containing the text sync4j so that the Horde backend can identify the connector. If you're using multiple instances of the connector (one on your home pc, one on your laptop), make sure that the device ID is different on those.
    • Turn page compression off in /horde/config/conf.php by setting $conf['compress_pages'] to false (Funambol does not support compressed pages.)
    • Sync4J Outlook Client needs to have the port configured in the sync url when using https, i.e. https://pathtoyourhordeinstall:443/rpc.php

Information for syncing PDAs with the Synthesis client

  • The Synthesis is a commercial SyncML client from http://www.synthesis.ch/. It is available for PocketPC2002, PocketPC2003, Windows Mobile 5, !Smartphone2003 and PalmOS. Stability and SyncML conformance is very good, currently a lot better than the Funambol Outlook connector. There's a 30 days trial version.
    • Make sure to set the events server path to "calendar"
    • Uncheck the "only from 30 days before until 90 after today" setting

Information for syncing Horde with Evolution

How to configure Horde with Syncevolution (based on Sync4j) : http://www.estamos.de/projects/SyncML/Compatibility.html#Horde

Synchronization of Address Book Data with Turba

The current default Turba address book database structure is not very suitable for SyncML: only one name field instead of separate first name last name, address in one multi line field instead of split into city and so on. Additionally, the default LDAP sources definition does not properly handle the First Name field.

If you want to replicate your address book using SyncML, you should consider altering your Turba configuration. See SyncMLTurbaConfiguration

Sync clients being used succesfully:

  • Synthesis client: that's the primary client used during the development
    • Sony Ericsson P800/P900
    • Outlook with Funambol SyncClient PIM outlook 3.0.15
    • Nokia E65, E60, E90, N73, N80, N95, 6120 Classic
    • Sony Ericsson K800i

FAQ

It's not working! I got a message like "Invalid response" on the phone or "Server returned error code -1" on Funambol clients

There's a chance that SyncML processing stopped due some php error in the server. Like Object of class PEAR_Error could not be converted to string in /usr/share/php/SyncML/Backend.php on line 294. As this is passed to the phone rather than displayed in a web page, the phone gets confused because it doesn't receive a valid XML message. To catch these error message, you need to make php log errors to a file: edit your php.ini and include a line like error_log = /var/log/phperrors.log. Then try a sync an check if anything comes up in this log.

Another common pitfall is a bug in some Funambol clients: The clients propagate that they are able to handle "deflate" encoded HTTP traffic while in fact they don't. This affects e.g. the 6.0.x series of the Outlook Plugin, probably others too. This has been fixed with later versions, i.e. the 6.5.x Outlook Plugins. Either upgrade to a newer Funambol client, or configure your web server to not send deflate encoded HTTP responses for the horde directory, even if the client tells to do so.

Syncing of events fails with a log entry like "No sync object found for URI=calendar?dr(-30,90)"

Syncing of date ranges as used by the Synthesis client is not yet supported. Please uncheck the "only from 30 days before until 90 days after today" checkbox.

I can't find any *.xml log files in /tmp/sync anymore. They used to be there!

We now use our own wbxml libary in the XML_WBXML package. The wbxml gets directly passed and processed, no xml is produced. To see the xml, you can manually decode it like this:


for a in *.wbxml; do wbxml2xml -m 1 -i 4 -o `basename $a .wbxml`_conv.xml $a; done 2>/dev/null

I really don't want to upgrade my complete Horde installation. What can I do?

Nothing. This is cutting edge technology, so you need to invest a bit if you want to participate at these exciting new features.

It's still not working! What can I do?

Please follow the directions in SyncMLProblemReport and report the problem to the sync mailing list.

I Want to test syncing on my pc , does some Palm emulator or Pocket Pc exist and how do i use it?

Please see the PdaEmulators page for info.