[Koha-bugs] [Bug 13396] New: koha-rebuild-zebra: Couldn't open collection.abs error after 3.18 package update

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 5 06:51:18 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13396

            Bug ID: 13396
           Summary: koha-rebuild-zebra: Couldn't open collection.abs error
                    after 3.18 package update
 Change sponsored?: ---
           Product: Koha
           Version: 3.18
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: swarren at wwwdotorg.org
        QA Contact: testopia at bugs.koha-community.org

After the upgrade to 3.18 (auto package update from the repo...), cron spits
out errors such as the following every 5 minutes (or perhaps every 5 minutes
when there's new data?):

Subject: Cron <root at leibniz> test -x /usr/sbin/koha-rebuild-zebra &&
    koha-rebuild-zebra -q $(koha-list --enabled)

14:10:03-03/12 zebraidx(27193) [warn] Couldn't open collection.abs [No such
file or directory]
14:10:03-03/12 zebraidx(27193) [warn] Record didn't contain match fields in
(bib1,Local-number)

I can reproduce this by running koha-rebuild-zebra directly:

root at leibniz:/etc/koha# koha-rebuild-zebra -f -v library
...(elided)
........................
Records exported: 553
====================
REINDEXING zebra
====================
22:43:52-04/12 zebraidx(9338) [warn] Couldn't open collection.abs [No such file
or directory]
22:43:58-04/12 zebraidx(9338) [warn] Record didn't contain match fields in
(bib1,Local-number)
====================
CLEANING
...(continues)

After some Google searching, I wonder if this is because I created
/etc/koha/sites/library/koha-conf.xml using a previous version of Koha, and now
extra parameters are required? I found some previous discussion of similar
problems:

http://irc.koha-community.org/koha/2013-10-14
(search for zebra_bib_index_mode)

... which triggered me to look at the differences between
/etc/koha/sites/library/koha-conf.xml and
/etc/koha/sites/library/koha-conf.xml. One thing I found was:

+ <zebra_bib_index_mode>__BIBLIOS_INDEXING_MODE__</zebra_bib_index_mode>
+ <zebra_auth_index_mode>__AUTHORITIES_INDEXING_MODE__</zebra_auth_index_mode>
+ <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
+ <use_zebra_facets>1</use_zebra_facets>

Do I need to add those to /etc/koha/sites/library/koha-conf.xml? If so,
shouldn't the new Koha version add these values automatically, or act as if
they were present but set to a value that's compatible with the previous
versions' behaviour?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list