Active Topics

 


Reply
Thread Tools
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#1
Hey Guys,

I've spent a while getting this to work And though I'd share it. There are a few other Cal/Card DAV sync post with syncevolution, however they don't specifically help us n900 users out completely or are for a online service.

I currently have about 6 calendar sync perfectly and all my contacts as well.

I will need more work for contacts/todo/notes to be perfect, but they are very acceptable right now. I still love this phone and I happy to give back to this great community if I can.

So I'm no programer or super geek so hopefully this will work for you or at least start you out in a good place. This tut assume you have tried and like me just needed just a little more help. Use some of the link I've put at the bottom to help with all the details I left out.

Please let me know if I left anything critical out and I'll update this post.

Edit: Please BACK UP Your contacts and calendars before start

Okay, thing you need to change are as follow:
USERNAME = your owncloud user name/ account
PASSWORD = which ever you use to log into the account your using
OWNCLOUD.com = what ever you address is (ex. www.maemo.org/owncloud/ or your url.com/)
cal2 = what ever the name of your calendar is (ex. vacations or jobs) use the exact spelling as your n900 calendars
Cal2 = the same as above but should be the exact case (upper/lower) and spelling as your n900 calendars

And if you don't use SSL also change,
https = http
SSLVerifyServer=1 = 0 (1 means on and 0 means off/ ignore)
SSLVerifyHost=0 = 0

Code:
#!/bin/bash
#SyncEvo config for owncloud            
syncevolution --configure \
	--template webdav \
	username=USERNAME \
	password=PASSWORD \
        SSLVerifyServer=1 \
        SSLVerifyHost=0 \
	target-config@owncloud

syncevolution --configure \
        --template SyncEvolution_Client \
        sync=none \
        syncURL=local://@owncloud \
        username= \
        password= \
        owncloud

#--------------Contacts-------------------------------------------------
#SyncEvo settings for owncloud Contacts
syncevolution --configure \
	database=https://OWNCLOUD.com/remote.php/carddav/addressbooks/USERNAME/contacts/ \
	backend=carddav \
	target-config@owncloud contacts

#SyncEvo settings for Contacts
syncevolution --configure \
	sync=two-way \
	backend=contacts \
	database=file:///home/user/.osso-abook/db \
	owncloud contacts

#--------------calendar------------------------------------------------
#SyncEvo settings for owncloud calendar
syncevolution --configure \
	database=https://OWNCLOUD.com/remote.php/caldav/calendars/USERNAME/calendar/ \
	backend=caldav \
	target-config@owncloud calendar

syncevolution --configure \
	database=https://OWNCLOUD.com/remote.php/caldav/calendars/USERNAME/cal2/ \
	backend=caldav \
	target-config@owncloud cal2

#SyncEvo settings for local calendar
syncevolution --configure \
        sync=two-way \
        backend=calendar \
        database=N900 \
        owncloud calendar

syncevolution --configure \
       sync=two-way \
       backend=calendar \
       database=Cal2 \
       owncloud Cal2
Links that help me out or that I used code from:
http://tanghus.net/2012/07/syncing-y...oud-an-update/
https://syncevolution.org/wiki/synch...ion-http-howto
https://lists.inverse.ca/sogo/arc/us.../msg00475.html
https://answers.launchpad.net/ubuntu...uestion/186791
http://internettabletblog.de/2009/12...syncevolution/
http://talk.maemo.org/printthread.php?t=92788
http://talk.maemo.org/printthread.php?t=40278
http://maemo.org/community/maemo-dev...n_posts_page=3
https://syncevolution.org/documentat...volution-usage
Attached Files
File Type: txt n900sync_generic.sh.txt (1.5 KB, 156 views)

Last edited by xman; 2014-03-01 at 21:48.
 

The Following 10 Users Say Thank You to xman For This Useful Post:
Reply

Tags
caldav, carddav, mameo, owncloud, syncevolution


 
Forum Jump


All times are GMT. The time now is 21:15.