OK, i fixed that one, but now i get this error:

NOTE: This is default SyncML client on Android 2.3 AFAIK
-----------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] syncevo-http: new SyncML session for 92.36.223.145
[INFO] sync: /usr/libexec/syncevo-dbus-server: ready to run
[INFO] sync: matched deviceID DEVICE-ID against config PEER (/home/USER/.config/syncevolution/default/peers/PEER)
[INFO] sync: creating complete data backup after sync (enabled with dumpData and needed for printChanges)
[INFO] sync: 
[INFO] sync: Synchronization successful.
[INFO] sync: 
Changes applied during synchronization:
[INFO] sync: +---------------|-----------------------|-----------------------|-CON-+
[INFO] sync: |               |         LOCAL         |        REMOTE         | FLI |
[INFO] sync: |        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |   addressbook |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |      calendar |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          memo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          todo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          start Thu Jul 12 03:59:22 2012, duration 0:00min           |
[INFO] sync: |               synchronization completed successfully                |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: 
[INFO] syncevo-http: new SyncML session for 92.36.223.145
[INFO] sync: matched deviceID IMEI:012789001776081 against config PEER (/home/USER/.config/syncevolution/default/peers/PEER)
[INFO] sync: addressbook: inactive
[ERROR] sync: SML (or SAN) error processing incoming message (local, status 20007)
[INFO] sync: creating complete data backup after sync (enabled with dumpData and needed for printChanges)
[INFO] sync: 
[INFO] sync: Synchronization failed, see /home/USER/.cache/syncevolution/PEER-2012-07-12-03-59-a/syncevolution-log.html for details.
[INFO] sync: 
Changes applied during synchronization:
[INFO] sync: +---------------|-----------------------|-----------------------|-CON-+
[INFO] sync: |               |         LOCAL         |        REMOTE         | FLI |
[INFO] sync: |        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |   addressbook |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: |SML (or SAN) error processing incoming message (local, status 20007) |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |      calendar |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          memo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          todo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          start Thu Jul 12 03:59:22 2012, duration 0:01min           |
[INFO] sync: |SML (or SAN) error processing incoming message (local, status 20007) |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: First ERROR encountered: SML (or SAN) error processing incoming message (local, status 20007)
[INFO] sync:
-----------------------------------------------------------------------------------------------------------------------------------------------------

NOTE: If i try to connect with Funambol app fro android, this is what i get when i try to sync contacts + all sync is refused on the device:
-----------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] syncevo-http: new SyncML session for 92.36.223.145
[INFO] sync: /usr/libexec/syncevo-dbus-server: ready to run
[INFO] sync: matched deviceID DEVICE-ID against config PEER (/home/USER/.config/syncevolution/default/peers/PEER)
[INFO] syncevo-http: new SyncML session for 92.36.223.145
[INFO] sync: matched deviceID DEVICE-ID against config PEER (/home/USER/.config/syncevolution/default/peers/PEER)
[INFO] sync: creating complete data backup after sync (enabled with dumpData and needed for printChanges)
[INFO] sync: 
[INFO] sync: Synchronization failed, see /home/USER/.cache/syncevolution/PEER-2012-07-12-04-02/syncevolution-log.html for details.
[INFO] sync: 
Changes applied during synchronization:
[INFO] sync: +---------------|-----------------------|-----------------------|-CON-+
[INFO] sync: |               |         LOCAL         |        REMOTE         | FLI |
[INFO] sync: |        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |   addressbook |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |      calendar |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          memo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          todo |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: |          start Thu Jul 12 04:02:18 2012, duration 0:01min           |
[INFO] sync: |           aborted on behalf of user (local, status 20017)           |
[INFO] sync: +---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
[INFO] sync: 
-----------------------------------------------------------------------------------------------------------------------------------------------------


Concerning documentation:
-----------------------------------------------------------------------------------------------------------------------------------------------------
1. First of all if would be nice that if i get certain error number, to be able to read something about it...
2. It seems that there are may "bits and peaces" of docs all around website but no comprehensive explanations of possible cases and usages that would also explain all common mistakes etc..
3. I couldn't find any article how actually this "engine" works under the hood, the way it saves settings, how it exchanges, stores messages etc etc...That should be something like developers docs.. 

For example, i want to establish data sync for my phone, email client(for contacts) and desktop. I believe, this is beyond this project, but it's simply need by the clients.
I don't want to use Google or someone else's cloud, so please, provide me proper guidelines. I WOULD LIKE TO CONTRIBUTE BACK to the project... but i need something that works on the beginning.

Thank you

p.s. i'm really glad that such project exists anyway.




On Wed, Jul 11, 2012 at 8:39 PM, Patrick Ohly <patrick.ohly@intel.com> wrote:
On Wed, 2012-07-11 at 17:52 +0200, vedran alajbegovic wrote:
> Hello,
>
>
> this is config that i set:
> ------------------------------------------------------------------------------------------------------------------------------------------------
> syncevolution --configure \
>   --template default \
>   --sync-property syncURL= \
>   --sync-property peerIsClient=1 \
>   --sync-property remoteDeviceId=${deviceID} \
>   --sync-property username=${syncUserName} \
>   --sync-property password=${syncPassword} \
>   --source-property uri= \
>   --source-property sync=none \
>   ${peer}
> ------------------------------------------------------------------------------------------------------------------------------------------------
> syncevolution --configure \
>   --source-property type=file:text/vcard:3.0 \
>   --source-property evolutionsource=file://${datapath}/addressbook \
>   ${peer} addressbook
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> and this is what i get when i try to connect with device:
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> [INFO] syncevo-http: new SyncML session for 31.176.241.1
> [INFO] sync: /usr/libexec/syncevo-dbus-server: ready to run
> [INFO] sync: matched deviceID DEVICEID against config CONFIG
> (/home/USER/.config/syncevolution/default/peers/PEERNAME)
> [INFO] sync: todo: inactive
> [INFO] sync: memo: inactive
> [INFO] sync: addressbook: inactive
> [INFO] sync: calendar: inactive
> [ERROR] sync: error code from SyncEvolution fatal error (local, status
> 10500): no sources active, check configuration

That's the problem - the "addressbook" source is not enabled in the
peer. Did you follow the server HOWTO at
https://syncevolution.org/wiki/http-server-howto ?

It shows the following step:

# Enable the sources the client is meant to have access to.
# The real sync mode is chosen by the client; all that matters
# here is that sync != disabled.
syncevolution --configure \
  --source-property sync=two-way \
  ${peer} addressbook calendar todo memo

You seem to have skipped that step.

> Since, the official docs are very poor, please explain me what is
> going on.

Can you explain what you found poor about the docs and perhaps suggest
improvements?


--
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.