PackagesIndexDaemon

From Koha Wiki
Jump to navigation Jump to search

Using the Zebra Indexing Daemon with the Packages (3.18 onwards)

As of version 3.18, the setting of Zebra indexing daemon is simpler:

On 18.11 onwards (at least) the index daemon is enabled by default (USE_INDEXER_DAEMON="yes").

  • Edit /etc/cron.d/koha-common and comment out the koha-rebuild-zebra line
  • Edit /etc/default/koha-common and change this line:
 USE_INDEXER_DAEMON="no" to USE_INDEXER_DAEMON="yes"
  • Run: sudo service koha-common restart
  • Now the daemon should be running.

Note: Above instructions will apply to all instances. If you need to stop one instance's indexer, please take a look at the koha-indexer command (man koha-indexer)


Older than Koha 3.18

If you want to use a indexing daemon in older versions, there are a few small changes to make. This feature is currently experimental (October 2012), so we would appreciate people testing it and reporting any bugs found.

  • Run: sudo apt-get install libkoha-contrib-tamil-perl
  • Edit /etc/cron.d/koha-common and comment out the koha-rebuild-zebra line
  • Edit /etc/init.d/koha-common and uncomment the references to koha-start-indexer, koha-stop-indexer, and koha-restart-index
  • Run: sudo service koha-common restart
  • Now the daemon should be running.