[Bug 14106] New: koha-conf paths to zebra libraries are wrong in jessie
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Bug ID: 14106 Summary: koha-conf paths to zebra libraries are wrong in jessie Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: robin@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz On jessie, doing a zebra reindex will cause errors like: 15:10:47-01/05 zebraidx(16108) [warn] No such record type: dom./etc/koha/zebradb/biblios/etc/dom-config.xml A workaround is documented here: http://wiki.koha-community.org/wiki/Troubleshooting_Zebra#No_such_record_typ... However we need to get it working out of the box, and to be backwards compatible. My plan is: * have koha-start-zebra check for the location of mod-dom.so, probably searching through a predefined list. * have it create a symlink inside /var/lib/koha that points to the right directory for the libraries. * update the zebra*.cfg templates so that they point to the new symlink location * as part of postinst, update the configuration for currently installed files so that they point to the symlink location. This'll mean that it'll work on all the layouts of the zebra libraries that we care to handle. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |robin@catalyst.net.nz |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com Keywords| |rel_3_16_candidate -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 39356 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39356&action=edit Bug 14106: koha-start-zebra ensures a correct link exists When koha-start-zebra starts, it first checks to see if there is a symlink (/var/lib/koha/zebramodules) pointing to the location that contains the zebra modules. If not, it makes one. It will also remove and replace incorrect ones. Testing: * Run koha-start-zebra, see that /var/lib/koha/zebramodules exists and points to whatever directory contains your zebra modules. * Run koha-start-zebra, see that nothing has changed * Delete the symlink, run koha-start-zebra, see that it puts it back, * Make a new symlink that points to the wrong place, run koha-start-zebra, see that it replaces it with a correct one. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39356|0 |1 is obsolete| | --- Comment #2 from Robin Sheat <robin@catalyst.net.nz> --- Comment on attachment 39356 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39356 Bug 14106: koha-start-zebra ensures a correct link exists Turns out this is unnecessary, we can put multiple paths directly into the zebra configuration. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #3 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 39357 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39357&action=edit Bug 14106: fill up the zebra config with a list of modulePaths This adds the full list of paths that debian might use for zebra to the search path for modules. It also means we can say we support s390x architecture. Whatever that is. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #4 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 39378 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39378&action=edit Bug 14106: patch existing zebra configs with new modulePath This patches the zebra configuration of existing Koha installations so that their modulePath will work on newer Debian (and presumably Ubuntu) releases. Testing: * Install a package built with this patch onto a system with instances created by an older Koha version. * Check that the files in /etc/koha/sites/*/zebra-*.cfg have the new modulePath: directive rather than the old one. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39357|0 |1 is obsolete| | --- Comment #5 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 39410 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39410&action=edit [PASSED QA] Bug 14106: fill up the zebra config with a list of modulePaths This adds the full list of paths that debian might use for zebra to the search path for modules. It also means we can say we support s390x architecture. Whatever that is. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #39378|0 |1 is obsolete| | --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 39411 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39411&action=edit [PASSED QA] Bug 14106: patch existing zebra configs with new modulePath This patches the zebra configuration of existing Koha installations so that their modulePath will work on newer Debian (and presumably Ubuntu) releases. Testing: * Install a package built with this patch onto a system with instances created by an older Koha version. * Check that the files in /etc/koha/sites/*/zebra-*.cfg have the new modulePath: directive rather than the old one. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |tomascohen@gmail.com Keywords|rel_3_16_candidate | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #7 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patches pushed to master. Good job Robin! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #8 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 39429 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39429&action=edit Bug 14106: (QA followup) avoid failures if no instances created If there are no instances already created on install/upgrade, the koha-common.postinst script hungs in the absence of files to fix and keeps waiting for user input. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #9 from Robin Sheat <robin@catalyst.net.nz> --- oh, good catch on that last one. Thanks! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Liz Rea <liz@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liz@catalyst.net.nz Version|master |3.18 --- Comment #10 from Liz Rea <liz@catalyst.net.nz> --- Marking for inclusion in 3.18.x -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wizzyrea@gmail.com Status|Pushed to Master |Pushed to Stable --- Comment #11 from Liz Rea <wizzyrea@gmail.com> --- Patch pushed to 3.18.x will be in 3.18.08 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #12 from Liz Rea <liz@catalyst.net.nz> --- Note to self to include "This makes Koha 3.18 compatible with Debian (Jessie)" in the release notes. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #13 from Mason James <mtj@kohaaloha.com> --- (In reply to Liz Rea from comment #12)
Note to self to include "This makes Koha 3.18 compatible with Debian (Jessie)" in the release notes.
curious, would this be a problem in 3.16.x too? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #14 from Robin Sheat <robin@catalyst.net.nz> --- (In reply to Mason James from comment #13)
(In reply to Liz Rea from comment #12)
Note to self to include "This makes Koha 3.18 compatible with Debian (Jessie)" in the release notes.
curious, would this be a problem in 3.16.x too?
Yep. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Stable |Pushed to Master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 --- Comment #15 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 43886 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43886&action=edit Bug 14106: (RM followup) sick of failing tests in Jessie This patch adds the original fix for source installs too... Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14106 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|koha-conf paths to zebra |koha-conf.xml paths to |libraries are wrong in |zebra libraries are wrong |jessie |in jessie -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org