Back again.  I had everything working using SyncML on the Droid and then
Canonical did an update....  Broke everything.

Ubuntu 14.04LTS on the server side.
SyncEvolution 1.4.1, updated from this page

https://syncevolution.org/documentation/installation

Incidentally, this procedure does not work for Ubuntu.  What DOES work
is to put the

deb http://downloads.syncevolution.org/apt stable main

in

/etc/apt/sources.list

And then fire off the Snynaptics package manager.  Do an update and the
new version will appear.  It automatically de-installs the old version.



I used this page

https://syncevolution.org/wiki/synchronizing-evolution-http-howto

For my initial, first setup.  My version of the configure command is

syncevolution --configure --template SyncEvolution_Client \
            --sync-property remoteDeviceId=f87b7a5a6b3c-A000002278B6A4_pro \
            --sync-property username=fredandjake \
            --sync-property password=xxxxxxxx \
            --source-property addressbook/uri=contacts \
            --source-property calendar/uri=events \
            --source-property todo/uri=tasks \
            --source-property memo/uri=notes \
            default

When I ran that command, it outputted the following:
[INFO] addressbook: looking for databases...
[INFO] addressbook: okay
[INFO] calendar: looking for databases...
[INFO] calendar: okay
[INFO] memo: looking for databases...
[INFO] memo: okay
[INFO] todo: looking for databases...
[INFO] todo: okay



After the above config, the connection would time out after several
minutes.  Using a packet sniffer, I saw SyncML send the userid and the
MD5 password hash but no response from the server.

Prowling through the actual config files and found that in

~/.config/syncevolution/default/peers/default/config.ini

--config had set the password to -.  - tells syncevolution to stop and
prompt for a password, something it obviously can't do since it's
running as a daemon.  I put the correct password in the "password = "
field and the address and calendar synced properly.

Tasks and notes remain broken, even after several days of troubleshooting.

With the todo list, SyncML syncs with SOMETHING, just not Evolution.  On
the initial run I got a successful sync but 0 contents.  There are about
30 in Evolution.  I made a dummy entry on the Droid and that was
transmitted to the server and SyncML now shows 1 task.  I haven't been
able to find out where the syncevolution is putting this data.

Notes is simply dead.  I've tried every name I can think of but get the
"not found" error message.  Here's the console output on an unsuccessful
notes run

[DEBUG 2014-07-14 14:33:48,404] twisted: Log opened.
[DEBUG 2014-07-14 14:33:48,404] syncevo-http: connecting to D-Bus
session with DISPLAY=:0.0 DBUS_SESSION_BUS_ADDRESS=
[DEBUG 2014-07-14 14:33:48,409] twisted: Site starting on 9000
[DEBUG 2014-07-14 14:33:48,409] twisted: Starting factory
<twisted.web.server.Site instance at 0xa55494c>
[INFO 2014-07-14 14:33:48,409] syncevo-http: listening on port 9000
[DEBUG 2014-07-14 14:34:04,429] syncevo-http: POST from 192.168.1.100
config  type application/vnd.syncml+wbxml session None args {} length 777
[INFO 2014-07-14 14:34:04,429] syncevo-http: new SyncML session for
192.168.1.100
[DEBUG 2014-07-14 14:34:04,429] syncevo-http: processing incoming
message of type application/vnd.syncml+wbxml and length 777, binary data
[DEBUG 2014-07-14 14:34:04,429] syncevo-http: requesting new session
[DEBUG 2014-07-14 14:34:04,492] syncevo-http: started new connection
/org/syncevolution/Connection/18546568281405362845
[DEBUG 2014-07-14 14:34:04,538] syncevo-http: added new SyncML session
<__main__.SyncMLSession instance at 0xa55a7ec>
[INFO 2014-07-14 14:34:04,538] syncevo-dbus-server:
/org/syncevolution/Server: ready to run
[INFO 2014-07-14 14:34:04,539] syncevo-dbus-server:
/org/syncevolution/Server: matched deviceID
f87b7a5a6b3c-A000002278B6A4_pro against config default
(/home/jgd/.config/syncevolution/default/peers/default)
[DEBUG 2014-07-14 14:34:04,706] syncevo-http: reply session
18546568281405362845 connection
/org/syncevolution/Connection/18546568281405362845 (active
/org/syncevolution/Connection/18546568281405362845) final 0 data len
9584 dbus.Dictionary({dbus.UTF8String('URL'): dbus.UTF8String('')},
signature=dbus.Signature('ss'))
[DEBUG 2014-07-14 14:34:04,707] syncevo-http: processing outgoing
message of type application/vnd.syncml+wbxml and length 9584, binary data
[DEBUG 2014-07-14 14:34:04,707] twisted: 192.168.1.100 - -
[14/Jul/2014:18:34:04 +0000] "POST /syncevolution HTTP/1.1" 200 9584 "-"
"SySync Client PocketPC PRO/V3.0.1 V3.4.0.72 Android/2.3.4 Android DROIDX"
[DEBUG 2014-07-14 14:34:04,707] syncevo-http: done with request in
session None, error None

-------------------------------

Running

$ syncevolution --print-databases

I get:

CalDAV:
   select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)

CalDAVTodo:
   select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)

CalDAVJournal:
   select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)

CardDAV:
   select database via absolute URL, set username/password to scan, set
syncURL to base URL if server does not support auto-discovery (<path>)

Evolution Address Book = Evolution Contacts = evolution-contacts:
   Personal (local:system) <default>

Evolution Calendar = evolution-calendar:
   Personal (local:system) <default>

Evolution Task List = Evolution Tasks = evolution-tasks:
   Personal (local:system) <default>

Evolution Memos = evolution-memos:

[ERROR] KDE Address Book = KDE Contacts = kde-contacts:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Calendar = kde-calendar:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Task List = KDE Tasks = kde-tasks:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.
[ERROR] KDE Memos = kde-memos:
[ERROR] accessing databases failed
[ERROR] Akonadi is not running. It can be started with 'akonadictl start'.

------------------

I've tried every combination of "memo, memos, note, notes and
evolution-memos in the SyncML Notes URL field but nothing works.


I've been working with Beat Forster at Synthesis (best tech support I've
ever gotten!).  We're both stumped.  Patrick, he said that you might be
able to help with this.

Todo list I can kinda live without but I gotta have Memos.  I have a ton
of both personal and work-related stuff in there.

Any help will be most gratefully appreciated.

John

-- 
John DeArmond
Tellico Plains, Occupied TN
http://www.fluxeon.com      <-- THE source for induction heaters
http://www.neon-john.com    <-- email from here
http://www.johndearmond.com <-- Best damned Blog on the net
PGP key: wwwkeys.pgp.net: BCB68D77
_______________________________________________
SyncEvolution mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to