[Koha] Zebra troubles after upgrading from 2.2

Tom Francart francart at gmail.com
Thu Jul 12 23:27:30 NZST 2012


On Thu, Jul 12, 2012 at 12:50 PM, Chris Cormack
<chris at bigballofwax.co.nz> wrote:
>>
>> Hi Chris,
>>
>> First of all, thank you very much for taking the time to help us.
>>
>> That query returns no records. In table biblioitems, biblionumber goes
>> only up to 667.
>>
>> Most records have the marcxml field set, but I haven't found any that
>> contain the 999 field. Additionally, records 663-667 have an empty
>> marcxml field.
>>
>> What would be the best way to fix it? I still have the original Koha 2
>> database. Removing biblioitems 663-667 and re-addng them to the
>> library wouldn't be a problem either.
>>
> Hmm it doesn't appear to be indexing anything, not just missing those 4.
>
> You could try the rebuild zebra with -k to keep the files, then you
> could take a look at them.
>
> I'd try -k -v -r -b -x
>
> Chris

Aha, new error message!
13:02:13-12/07 zebraidx(22559) [warn]
/usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml: stylesheet
biblio-zebra-indexdefs.xsl not found in path
/usr/local/koha3/etc/zebradb/biblios/etc:/usr/local/koha3/etc/zebradb/etc:/usr/local/koha3/etc/zebradb/marc_defs/marc21/biblios:/usr/local/koha3/etc/zebradb/lang_defs/en:/usr/local/koha3/etc/zebradb/xsl

 biblio-zebra-indexdefs.xsl was indeed missing from my entire koha
installation. I downloaded biblio-koha-indexdefs.xml from git,
generated  biblio-zebra-indexdefs.xsl from it, and now get the
following error message:

...
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] dir /tmp/AIIkP2_AHS/biblio
13:15:40-12/07 zebraidx(22788) d056e7b5 [loglevel] returning NO log
bit for 'extract'
13:15:40-12/07 zebraidx(22788) d056e7b5 [loglevel] returning NO log
bit for 'indexdetails'
13:15:40-12/07 zebraidx(22788) d056e7b5 [log]
/usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml dom filter:
loading config file
/usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 0
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 4100
.... many times the same ...
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 4100
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 8196
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 8196
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 8196
13:15:40-12/07 zebraidx(22788) d056e7b5 [log] skip
dom./usr/local/koha3/etc/zebradb/biblios/etc/dom-config.xml
/tmp/AIIkP2_AHS/biblio/exported_records 8196
Entity: line 133: parser error : XML declaration allowed only at the
start of the document
<?xml version="1.0" encoding="UTF-8"?>
     ^
13:15:40-12/07 zebraidx(22788) d056e7b5 [warn] extract error: generic


There are no XML files in my koha installation that have <?xml
version="1.0" encoding="UTF-8"?> beyond the first line though.

best regards,
Tom


More information about the Koha mailing list