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

Filesearch installation

From Group-Office Groupware and CRM Documentation
Revision as of 09:21, 18 February 2013 by Admin (Talk | contribs)

Jump to: navigation, search

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. Put the following in /etc/cron.d/groupoffice-documents

0 1 * * * root /usr/bin/php /usr/share/groupoffice/groupofficecli.php -c=/etc/groupoffice/config.php -r=filesearch/filesearch/sync > /dev/null