Two Koha instance but only one Zebra configuration
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@adminkuhn.ch · W www.adminkuhn.ch
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@adminkuhn.ch · W www.adminkuhn.ch _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
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@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@adminkuhn.ch · W www.adminkuhn.ch _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Michael, as far as know you can't have instance specific template files (.inc. .tt) the same way as the configuration files. In theory you could try and set up your own theme for them. Koha should fall back to the standard theme for files not existing in yours, so that could be an option, but will always require continuous maintenance. And then there is also translations to worry about. I'd probably try to do the change in a way that doesn't affect your other instances visibly and still has them using the same code. For example by using a locally defined system preference or CSS to switch things off and on. Or maybe your new facet would be interesting as an addition to Koha itself? Best wishes, Katrin On 21.06.20 18:15, Michael Kuhn wrote:
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
You can put the config files in the instance site directory. El mar., 16 de junio de 2020 13:13, Michael Kuhn <mik@adminkuhn.ch> escribió:
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@adminkuhn.ch · W www.adminkuhn.ch _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Katrin Fischer -
Michael Kuhn -
Tomas Cohen Arazi