[Koha] No Zebra indexing - missing field "biblioitems.marc"

Michael Kuhn mik at adminkuhn.ch
Tue Jan 17 12:12:22 NZDT 2017


Hi

I have a new installation of Koha 16.11.01 on Debian GNU/Linux 8, using 
Koha instance "phsh".

I was able to successfully load 76'216 data records in format MARCXML 
using script "bulkmarcimport.pl".

"select count(*) from biblio" shows 76'216 hits in my database.

Now I try to index these records in Zebra. To be sure I have restarted 
the Koha daemon as follows.

  $ sudo /etc/init.d/koha-common stop
  $ sudo /etc/init.d/koha-common start

Then I try to index my records using the following command:

  $ sudo koha-rebuild-zebra -f -v phsh

But all I get is 76'216 lines like the following:

  ...
  .error retrieving biblio 76215 at 
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 713.
  .error retrieving biblio 76216 at 
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 713.

  Records exported: 0

Actually absolutely NOTHING is exported and consequently, nothing is 
indexed by Zebra.

I looked into script "rebuild_zebra.pl" at line 713 - some lines before 
I found the statement "SELECT marc FROM biblioitems WHERE biblionumber = 
?" but in the current database schema 
http://schema.koha-community.org/16_11/tables/biblioitems.html there is 
no such field "marc" in table "biblioitems"! There was such a field in 
Koha 16.05 and older versions though.

Can anyone please tell me what's wrong here and how to overcome this 
problem?

Best wishes: Michael


More information about the Koha mailing list