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 [29.03.2015 23:12] Pascal Suterowncloud [27.03.2016 17:04] Pascal Suter
Line 18: Line 18:
 ===== php-apcu ==== ===== php-apcu ====
 there seem to be some issues with the version of php-apcu that ubuntu 14.04 is currently using. owncloud 8 makes heavy use of it and therefore crashes about every hour or so when copying files because of that. the only thing that helps is to restart apache. a fix for this will soon be in the offical owncloud installation as they have added a version check and will only use php-apcu in versions they consider stable. until then, the easiest fix is to simply remove it and when you install new stuff, make sure it's not installed again on your system. this is only a temporary workaround until the version check is in their debian package there seem to be some issues with the version of php-apcu that ubuntu 14.04 is currently using. owncloud 8 makes heavy use of it and therefore crashes about every hour or so when copying files because of that. the only thing that helps is to restart apache. a fix for this will soon be in the offical owncloud installation as they have added a version check and will only use php-apcu in versions they consider stable. until then, the easiest fix is to simply remove it and when you install new stuff, make sure it's not installed again on your system. this is only a temporary workaround until the version check is in their debian package
 +
  
 ===== davfs2 mounts ===== ===== davfs2 mounts =====
Line 100: Line 101:
  
  
 +===== OCR for PDF files using ABBYY Fine Reader Corporate =====
 +**Note** you will need the corporate edition for this as this solution here is using hot folders which is only available in the corporate edition. 
 +
 +**Note** this is a work in progress.. i am not done yet with this setup! 
 +
 +I am seting up a [[windows vm in KVM on headless ubuntu server]] to run abby fine reader on my owncloud server. 
 +
 +i created a user "ocr" on owncloud that i used on my server to mount this users folder through davfs and then share it to my windows machine through samba. i then shared a folder that i will use as hotfolder with the user "ocr" and configured ABBY Fine Reader Hot Folders to scan this folder. i then created a second folder called "Originals" and a third called "Done" 
 +
 +The idea is: the scanner creates pdf's and saves them into the hot folder. on my HP MFP i can choose to scan to a samba share and i can set the basename for the pdf it generates.. like this i will have a way to later identify where to put the OCR'd file through a bash or php script running as a cron job on my owncloud server.. 
 +**Note** if you want ownclouds serch_lucene app to be able to index the pdf afterwards, use **PDF/A** as output format. files will be larger then with their other PDF format (actually about twice the size) but unfortunately search_lucene can't read those other pdf's. 
 +
 +one thing needs to be taken into account here: if finereader encounters any errors while saving the parsed file, it will just not save the output and move the input file to "originals".. 
 +
 +here is a one-liner which i might need to use in order to figure out which files where skipped when parsing, so i can copy them back to the hot folder to try again.. 
 +  diff <(cd /mnt/owncloud/OCR/Done; find *) <(cd /mnt/owncloud/OCR/Originals; find *)
 +
 +===== synchronize external caldav and carddav sources =====
 +**caution** this has only been done one-way, so that an external calender which is only changed externally gets regularly synced to owncloud. i haven't tired this in a two way mode. 
 +
 +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: 
 +  apt-get install libxml2 libxml2-dev libxslt libxslt-dev zlib1g python python-virtualenv python-pip
 +  virtualenv /opt/owncloud/vdirsyncer
 +  export CPLUS_INCLUDE_PATH=/usr/include/libxslt/:/usr/include/libxml2/
 +  /opt/owncloud/vdirsyncer/bin/pip install vdirsyncer
  
  • owncloud.txt
  • Last modified: 16.07.2021 00:30
  • by Pascal Suter