On Mon, 2014-07-14 at 14:44 -0400, NeonJohn wrote: > 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 exactly doesn't work? > 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 Hmm, how can this be "okay" when --print-databases doesn't even find any database? > [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. The "-" also means "try looking up the password in GNOME Keyring or KWallet". It only asks the user if no entry is found. The --configure command must have stored the password in such a secure storage, otherwise it would have been in the config.ini as plain text. When you run the syncevolution command line and syncevo-http-server, do you use exactly the same environment (D-Bus session up, gnome-keyring-daemon running)? > 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. When you say, "SyncML now shows 1 task", what do you mean? Either way, increase the log level in your "default" config and then check the syncevolution-log.html files for each session to learn more about which data is sent or received. > 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 The more interesting log is the syncevolution-log.html session log. > 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: > There should be a memo database. Try creating a note in Evolution. Does that work and does --print-databases then find the memo list? -- 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. _______________________________________________ SyncEvolution mailing list [email protected] https://lists.syncevolution.org/mailman/listinfo/syncevolution
