[Koha] zebra not rebuilding

Tomas Cohen Arazi tomascohen at gmail.com
Tue Feb 15 03:31:35 NZDT 2011


On Mon, Feb 14, 2011 at 10:23 AM, sheldon_tappin
<thecarterii at hotmail.com> wrote:
>
> Hi,
>
> Can you tell in which file I need to put these:
> export KOHA_CONF=/etc/koha/koha-conf.xml
> export PERL5LIB=/usr/share/koha/lib

You can put them in /etc/environment to have a global scope.
If you're planning to run more than one koha in your server you might
prefer have something like this in your cron definition. For example,
create a file:

/etc/cron.d/koha_1

with

0/1 * * * *      koha KOHA_CONF=/etc/koha_1/koha-conf.xml
/usr/share/koha_1/bin/migration_tools/rebuild_zebra.....

for the koha_1 install, and so on. Even if you want one koha you might
prefer not to populate that global variables.
Fr running a "rebuild" from command line, remeber to do it like this:

su - koha -c "KOHA_CONF=/etc/koha/koha-conf.xml
/path/to/rebuild_zebra.pl PARAMS"

To+


More information about the Koha mailing list