View Single Post
Posts: 209 | Thanked: 31 times | Joined on Oct 2006
#14
I don't know where to upload the syncevlolution package... Hope ul.to is fine with you guys.

The following package is based on the source from Ovek (http://people.debian.org/~ovek/harmattan/). I just enabled dav support!
syncevolution_1.2.2-1_armel.deb... http://ul.to/j5wwxjd7

I did the following steps to sync with ownCloud 4.0.4. I don't know if there's a better way to configure syncevolution, but at least it seems to work .

DISCLAIMER / WARNING:
You shoud first create a backup of your N9 calendar and addressbook!!! Don't blame me if you loose your data.


Code:
syncevolution --configure --template WebDAV username=MYNAME password=MYPASS  syncURL=http://MY.DOMAIN.TLD/owncloud/remote.php/ target-config@owncloud
MYNAME = ownCloud login name
MYPASS = ownCLoud password
MY.DOMAIN.TLD = domainname
@owncloud = identifier (maybe replaced with some other name. Important is that it is consistent within the whole configuration!)

If you are using ssl access with a selfsigned certificate, you'll have to use the following code instead:
Code:
syncevolution --configure --template WebDAV username=MYNAME password=MYPASS SSLVerifyServer=0 syncURL=https://MY.DOMAIN.TLD/owncloud/remote.php/ target-config@owncloud
CALDAV sync:
Code:
syncevolution --configure database=https://MY.DOMAIN.TLD/owncloud/remote.php/caldav/calendars/MYNAME/CALNAME/ backend=caldav target-config@owncloud mycalendar
https vs. http = change this according to the URL you are using
CALNAME = Name of your ownCloud calendar.
mycalendar = identifier for this caldav sync.

Code:
syncevolution --configure --template SyncEvolution_Client sync=none syncURL=local://@owncloud username= password= owncloud
Don't enter any credentials! username/password must be empty.
owncloud = identifier...

Code:
syncevolution --configure sync=two-way backend=calendar database=N9calendar owncloud mycalendar
N9calendar = calendarname of your N9 (empty for default calendar!)

First sync [only first sync]:
Code:
syncevolution --sync slow owncloud mycalendar
Later on you should remove "--sync slow":
Code:
syncevolution owncloud mycalendar

CARDDAV sync:

Code:
syncevolution --configure database=https://MY.DOMAIN.TLD/owncloud/remote.php/carddav/addressbooks/MYNAME/ADDNAME/ backend=carddav target-config@owncloud myaddressbook
https vs. http = change this according to the URL you are using
ADDNAME = Name of ownCloud calendar
myaddressbook = identifier

This can be skipped if done already for caldav sync:
Code:
syncevolution --configure --template SyncEvolution_Client sync=none syncURL=local://@owncloud username= password= owncloud
Don't enter any credentials! username/password must be empty.
owncloud = identifier...

Code:
syncevolution --configure sync=two-way backend=addressbook database= owncloud myaddressbook
First sync [only first sync]:
Code:
syncevolution --sync slow owncloud myaddressbook
Later on you should remove "--sync slow":
Code:
syncevolution owncloud myaddressbook

Hope that helps... (sorry for the bad text/layout structure, but I'm running out of time atm). Maybe someone else wants to put this in a proper wiki.

Last edited by N770-Freak; 2012-07-19 at 18:37.
 

The Following 7 Users Say Thank You to N770-Freak For This Useful Post: