On Tue, Apr 12, 2011 at 11:38 AM, Tomas Cohen Arazi <tomascohen@gmail.com>wrote:
2011/4/12 Fridolyn SOMERS <fridolyn.somers@gmail.com>:
Hie,
There is one problem with multi instances that you maybe didn't notice :
The environment variables KOHA_CONF and PERL5LIB are the same for each instance (they are redefined in cronjobs and apache conf). They are mandatory for lauching perl scripts manually.
This is acknowledged in the instructions when creating the cronjob files.
To+
Yes I agree for cronjobs. But I understood the problem was when lauching a script manually. For example, recreating Zebra database : *perl /usr/share/koha/misc/migration_tools/rebuild_zebra.pl -b -v -r* In this case, the script looks for C4::Context using the PERL5LIB env var. Regards, -- Fridolyn SOMERS ICT engineer PROGILONE - Lyon - France fridolyn.somers@gmail.com