[Koha] Partial Success with re indexing zebra

George Masters masters.george at gmail.com
Fri Aug 3 16:46:03 NZST 2012

I was able to turn the zebra server on and manually reindex with this

sudo -u koha -H env KOHA_CONF=/etc/koha/koha-conf.xml
PERL5LIB=/usr/share/koha/lib /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl -b -r -v

After a cataloging session, I can run the above command and the new
materials are searchable. However, the cron job doesn't seem to index
automatically after each record.

The cron job is locted in /etc/cron.d and is named koha and contains the


# The cronjobs

#1 * * * *    koha    $KOHAPATH/bin/migration_tools/rebuild_zebra.pl -a -b
-z 2>&1 > /dev/null

I am puzzled by this. The koha file is owned by root in the root group. Any
ideas as to why the indexing doesn't work automatically?

George Masters
Network Engineer/Trainer

More information about the Koha mailing list