owncloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
owncloud [27.03.2016 18:34] Pascal Suterowncloud [21.03.2017 06:41] – [synchronize external caldav and carddav sources] Pascal Suter
Line 123: Line 123:
 prior to owncloud9 there was a sync script which did exactly that. unfortunately it no longer works with oc9 and the developer has posted that he won't fix it, so we need a new solution.  prior to owncloud9 there was a sync script which did exactly that. unfortunately it no longer works with oc9 and the developer has posted that he won't fix it, so we need a new solution. 
  
-currently i am trying to use [[https://vdirsyncer.readthedocs.org|vdirsyncer]]. to install in ubuntu 14.04 i did this: +currently i am using [[https://vdirsyncer.readthedocs.org|vdirsyncer]]. to install in ubuntu 16.04 i did this: 
   apt-get install libxml2 libxml2-dev libxslt libxslt-dev zlib1g python python-virtualenv python-pip   apt-get install libxml2 libxml2-dev libxslt libxslt-dev zlib1g python python-virtualenv python-pip
-  virtualenv /opt/owncloud/vdirsyncer +  pip install pipsi 
-  export CPLUS_INCLUDE_PATH=/usr/include/libxslt/:/usr/include/libxml2+  pipsi --home /opt/owncloud/ install --python python3 vdirsyncer 
-  /opt/owncloud/vdirsyncer/bin/pip install vdirsyncer+  mkdir /opt/owncloud/vdirsyncer/status 
 +  chmod 777 /opt/owncloud/vdirsyncer/status
 now it's time to configure your vdirsyncer.. in my case i wanted to sync a html read-only source (ical format) to owncloud. here is my config file:  now it's time to configure your vdirsyncer.. in my case i wanted to sync a html read-only source (ical format) to owncloud. here is my config file: 
 <code> <code>
 [pair photokiste] [pair photokiste]
-a = photokiste_crm +a = "photokiste_crm" 
-b = photokiste_owncloud+b = "photokiste_owncloud"
 collections = null collections = null
-conflict_resolution = a wins+conflict_resolution = "a wins"
  
 [storage photokiste_crm] [storage photokiste_crm]
-type = http +type = "http" 
-url = https://www.source-server.com/ical.ics+url = "https://www.source-server.com/ical.ics"
  
 [storage photokiste_owncloud] [storage photokiste_owncloud]
-type = caldav +type = "caldav" 
-url = https://my.owncloud.server/remote.php/dav/calendars/username/calenarname +url = "https://my.owncloud.server/remote.php/dav/calendars/username/calenarname" 
-username = myuser +username = "myuser" 
-password = mysecret+password = "mysecret"
 </code> </code>
 the owncloud calendar name can be viewed by hovering over the calendar. it will appear as mouse pointer tooltip.  the owncloud calendar name can be viewed by hovering over the calendar. it will appear as mouse pointer tooltip. 
  • owncloud.txt
  • Last modified: 16.07.2021 00:30
  • by Pascal Suter