This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Filesearch installation"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Created page with "The filesearch module only works on Linux. If you installed the Debian packages you don't need to do anything. Everything is configured automatically. If you manually installed G...")
 
(Cron job)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
Also make sure PHP5 has the php5-xsl extension installed.
 
Also make sure PHP5 has the php5-xsl extension installed.
  
The search index must be updated in a cron job. Put the following in /etc/cron.d/groupoffice-documents
+
==Cron job==
<pre>
+
The search index must be updated in a cron job. You can edit the "Filesearch index" cron job at Start menu -> Manage system tasks. It's recommmended to run it once at night.
0 1 * * * root /usr/bin/php /usr/share/groupoffice/groupofficecli.php -c=/etc/groupoffice/config.php -r=filesearch/filesearch/sync > /dev/null
+
</pre>
+

Latest revision as of 14:15, 20 November 2017

The filesearch module only works on Linux. If you installed the Debian packages you don't need to do anything. Everything is configured automatically. If you manually installed Group-Office you'll need to install some additional software. The filesearch module uses some command line programs for file indexing. Make sure the following commands are executable:

  • catdoc
  • xls2csv
  • unzip
  • tar
  • imagemagick
  • pdf2text
  • pdfinfo
  • tesseract-ocr
  • exiv2

Also make sure PHP5 has the php5-xsl extension installed.

Cron job

The search index must be updated in a cron job. You can edit the "Filesearch index" cron job at Start menu -> Manage system tasks. It's recommmended to run it once at night.