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

Chris Cormack chrisc at catalyst.net.nz
Wed Jan 30 20:10:26 NZDT 2019


Hi

The best thing to do is restore from a backup (you did this upgrade on a test server eh? You've jumped about 3 years worth of upgrades)

Then run the upgrade again, paying particular attention to any errors that occur. Because there may well have been other ones too. You will want to catch all of them to make sure you fix them all, before you start using it in production.

Chris 

On 30 January 2019 7:59:12 PM NZDT, otuoma <otuomathegreat at yahoo.com> wrote:
>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
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha at lists.katipo.co.nz
>https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Koha mailing list