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

Chris Cormack chris at bigballofwax.co.nz
Tue Jan 17 13:19:52 NZDT 2017


Hi Michael

I have a 16.11.01 with 97224 records in, that is indexing fine
(without the marc column) so the good news is there should be an easy
solution.

Try it with an -x
sudo koha-rebuild-zebra -x -f -v phsh

Does that work better?

Chris

On 17 January 2017 at 12:12, Michael Kuhn <mik at adminkuhn.ch> wrote:
> 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
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list