owncloudrefers to the URL to the root of your onCloud installation e.g.
useris your login and
passwordis your password. My default calendar is called
calendarand my address book is called
default. First create a main configuration for ownCloud:
syncevolution --configure \ --template webdav \ username=Then configure remote URLs and link them to the
owncloudconfig we just created. First the calendar:
syncevolution --configure \ database=And the address book:
user/calendar/ \ backend=caldav \ target-config@owncloud calendar
syncevolution --configure \ database=I think the next command creates the entry which will be available in the UI pointing to the
user/default/ \ backend=carddav \ target-config@owncloud contacts
owncloudconfig we created with the first command, and yes, username and password are supposed to be empty:
syncevolution --configure \ --template SyncEvolution_Client \ sync=none \ syncURL=local://@owncloud \ username= \ password= \ owncloudNow create the configuration for the local storage. The calendar:
syncevolution --configure \ sync=two-way \ backend=calendar \ database=N900 \ owncloud calendarThe N900 database is the standard storage. You can see the available ones by running
syncevolutionfrom the command line, and you can create new local calendars from the Calendar app and link them to e.g. your Work and Private calendars, just remember that the case matters, so the names must be entered exactly as they are printed by
syncevolution. And the address book:
syncevolution --configure \ sync=two-way \ backend=contacts \ database=file:///home/user/.osso-abook/db \ owncloud contactsNow everything should be OK, but let us make some quick tests.
syncevolution --print-items target-config@owncloud calendarThis should print the URI part and and the summary of all events.
syncevolution --print-items target-config@owncloud contactsThis should just show the URI part of all contacts. If everything worked out OK it's time to do the actual syncing. If you already have events and/or contacts on your device you want to keep you should do an initial slow sync:
syncevolution --sync slow owncloudSome times you need to do it several times for it to succeed, but once you don't get any more error you can run a normal incrementel sync just by running
syncevolution owncloudI chose to update everything from the server and ran
syncevolution --sync refresh-from-server owncloud calendar syncevolution --sync refresh-from-server owncloud contactsNote: Read this comment first!
Now you can also sync using the
syncevolution-frontend app. Just click on the icon and you will see owncloud listed, and when you click on it you will get to the sync options:
If you have any problems when configuring, please read the original post and any comments there first.