[Koha] Two Koha instance but only one Zebra configuration

Michael Kuhn mik at adminkuhn.ch
Mon Jun 22 04:15:06 NZST 2020


Hi Katrin and Tomas

Thanks for the information!

I have studied the comments on bug 12216, especially 
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12216#c4 and 
the attachment
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41304&action=diff

The profilePath looks like: 
/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl

Tomas wrote: "You can put the config files in the instance site directory."

This seems to be true for the following files:

* /etc/koha/zebradb/biblios/etc/bib.att
* /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
* /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl

But what about the following files that reside elsewhere? We need to 
change some stuff in them to make the changes of the Zebra configuration 
visible, but only for one of the two instances:

* /etc/koha/zebradb/ccl.properties
* /usr/share/koha/lib/C4/Koha.pm
* 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/includes/facets.inc
* 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/includes/search_indexes.inc
* 
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/de-DE/includes/opac-facets.inc
* 
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/de-DE/modules/opac-advsearch.tt

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch



Am 21.06.20 um 13:22 schrieb Katrin Fischer:
> Hi Michael,
> 
> we have never tested it out, but I think this could be helpful:
> 
> *Bug 12216*
> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12216> - One
> should be able to override zebra configuration on a per instance basis
> 
> Hope this helps,
> 
> Katrin
> 
> On 16.06.20 18:11, Michael Kuhn wrote:
>> Hi
>>
>> We run a host containing two Koha 18.11 instances which both use the
>> same Zebra configuration (as is the standard). Zebra uses the
>> following files (etc.) that make no difference between instances:
>>
>> * /etc/koha/zebradb/ccl.properties
>> * /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
>> * /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
>> * /usr/share/koha/lib/C4/Koha.pm
>> *
>> /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/includes/facets.inc 
>>
>>
>> We would like to have separate Zebra configurations for each Koha
>> instance - I think it's not possible (as long as both instances reside
>> on the same host), but am I maybe missing something?
>>
>> Best wishes: Michael
>> -- 
>> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
>> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
>> T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch
>> _______________________________________________
>>
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> 
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha




More information about the Koha mailing list