[Koha] Zebra index problem after upgrade to 3.18

Robin Sheat robin at catalyst.net.nz
Mon Feb 16 12:46:24 NZDT 2015


clint.deckard schreef op ma 16-02-2015 om 08:02 [+1300]:
> I upgraded a 3.10 package installation on Debian squeeze to 3.18.03 and 
> now zebra will not reindex.

Just base on what you're showing here, you might have some bad data:

> 07:46:54-16/02 zebraidx(11623) [warn] 60:0:XML error: junk after 
> document elemen                          t
> 07:46:54-16/02 zebraidx(11623) [warn] 1:0:XML error: not well-formed 
> (invalid to                          ken)

that's causing the process to abort. We've often found that as time went
on, Koha got stricter about its data, so things that were fine in the
past cause problems now (which is correct, but annoying.)

I think it's a change since 3.10 that Koha now uses XML for indexing by
default. Have a go running koha-rebuild-zebra with '-u', which will tell
it to use USMARC. This might get things working now, and you can look
into figuring out what record it is that is causing the problem.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF



More information about the Koha mailing list