[Koha] Error retrieving biblio in rebuild_zebra.pl line 680

otuoma otuomathegreat at yahoo.com
Wed Jan 30 19:59:12 NZDT 2019


Yesterday I upgraded from koha 3.22.08 to 18.11 but can't run
koha-rebuild-zebra -f -v -b koha on Ubuntu 16.04

The error I get is exactly the same with bug 18927
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18927

Zebra configuration information
================================
Zebra biblio directory      = /var/lib/koha/koha_library/biblios
Zebra authorities directory = /var/lib/koha/koha_library/authorities
Koha directory              = /usr/share/koha/intranet/cgi-bin
Lockfile                    =
/var/lock/koha/koha_library/rebuild/rebuild..LCK
BIBLIONUMBER in :     999$c
BIBLIOITEMNUMBER in : 999$d
================================
skipping authorities
====================
exporting biblio
====================
1error retrieving biblio 2 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 680.
.error retrieving biblio 3 at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 680.

...

Records exported: 0
====================
REINDEXING zebra
====================
====================
CLEANING
====================


When I check the file at
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 680, the code
already has the fix described at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18927

On further examination, I noticed that the issue is also related to bug
17196 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17196

After the upgrade, it appears the table biblioitems no longer has the
marcxml field. Also, the new table biblio_metadata exists but is empty. The
other new table deletedbiblio_metadata however has data in it.

Indexing with koha-rebuild-zebra -f -v -a koha for authorities works fine
with no problems.

It appears the update process didn't migrate the data from
biblioitems.marcxml to biblio_metadata as should be the case and this is
most likely why zebra is not able to index.

My problem is now how to solve this issue, thank you.







--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html


More information about the Koha mailing list