[Koha-devel] Authorities / cron

Paul paul.a at aandc.org
Tue Oct 9 19:45:57 CEST 2012


At 01:42 PM 10/9/2012 +1300, Robin Sheat wrote:
>Paul schreef op ma 08-10-2012 om 19:18 [-0400]:
[snip]
>interactively, otherwise you'll get piles of emails.

Thanks Robin, you're quite right of course.  In fact, I'm only using these 
rather non-standard methods as a temp measure for testing the sandbox 3.8.5 
-- I even tried it with a double " -v " to increase it's verbosity and the 
file size is not too bad (and the sandbox has no email capability at this 
time). Sorry I wasn't more clear in my first email.

>I'd figure out what records are causing you problems. There are tools
>around that do this.
>
>This is one that could help:
>http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7286
>Note that I've not used it.

Thanks for that. I'll dig a bit deeper later on, as I must be missing a 
subtlety: it appears to run the "standard" rebuild-zebra in chunks, with 
output and logging separate. From the bug, it seems to be designed to 
locate failures within rebuild-zebra. My "standard" reindexing completes 
every time (full and incremental) with just the three "[warn]s" but not 
failures, and the output from this tool *apparently* doesn't record them as 
such -- grep -i "\[warn\]" gives nothing in either the record or the log 
files -- but maybe there's other messages that will help.

koha at server:/usr/share/koha/bin/migration_tools$ ./rebuild_zebra_sliced.sh 
-o 0 -l 20000 -s 1000 -t 'authorities'
[snip ...]
CLEANING
====================
NOTHING cleaned : the export /tmp/rebuild/export has been kept.
You can re-run this script with the -s parameter
if you just want to rebuild zebra after changing the record.abs
or another zebra config file
Splitting file in chunks of 1000 records
Indexing /tmp/rebuild/export/authority/exported_records_1000_0000000
[snip]
Indexing /tmp/rebuild/export/authority/exported_records_1000_0000016


>There's another one that talks to zebra to find out what isn't there and
>tells you about them, but I can't find it with a quick search.

If anyone remembers what that is, I would really appreciate.

Again thanks and best regards - Paul



More information about the Koha-devel mailing list