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...")
(No difference)

Revision as of 14:01, 9 July 2012

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.

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