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...")
 
Line 13: Line 13:
 
Also make sure PHP5 has the php5-xsl extension installed.
 
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
 
The search index must be updated in a cron job. Put the following in /etc/cron.d/groupoffice-documents
 
<pre>
 
<pre>
 
0 1 * * * root /usr/bin/php /usr/share/groupoffice/groupofficecli.php -c=/etc/groupoffice/config.php -r=filesearch/filesearch/sync > /dev/null
 
0 1 * * * root /usr/bin/php /usr/share/groupoffice/groupofficecli.php -c=/etc/groupoffice/config.php -r=filesearch/filesearch/sync > /dev/null
 
</pre>
 
</pre>

Revision as of 09:21, 18 February 2013

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