[Koha] Rebuild Authoroties

Michael Kuhn mik at adminkuhn.ch
Thu Apr 27 08:44:04 NZST 2017


Hi Luis

> When i run this command: sudo koha-rebuild-zebra -b -a -z -f library
>
> Nothing happens with the authoroties.
> How can i rebuild authoroties?

Did you really write "library" as the last argument? "library" has to be 
replaced by the actual name of your instance.

Adding options "-b" and "-a" and "-f" together is somehow redundant.

Also if I print out the help text of the command I can't find no option 
"-z". What do you want "-z" to do? See the full help text:

# koha-rebuild-zebra -h

Rebuild the Zebra indexes for Koha instances. The default behaviour
is to do an incremental rebuild.

Usage: /usr/sbin/koha-rebuild-zebra [options] instancename1 instancename2...
Options:
     --usmarc|-u       Runs the process as USMARC rather than
                       the default of MARCXML.
     --authorities|-a  Only run process for authorities.
     --biblios|-b      Only run process for biblios.
     --full|-f         Does a reindex of the whole collection.
     --force           Run incremental indexing even if 
USE_INDEXER_DAEMON="yes"
     --quiet|-q        Sometimes be a bit quieter for scripts/cronjobs.
     --verbose|-v      Be verbose.
     --help|-h         Print this help.

Note: Any other options are passed directly to rebuild_zebra.pl.


If you only want to rebuild the authorities, the following command 
should be sufficient (add "-v" for more verbosity):

sudo koha-rebuild-zebra -a -v YOURINSTANCE

Hope this helps.

Best wishes: Michael
-- 
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E mik at adminkuhn.ch · W www.adminkuhn.ch


More information about the Koha mailing list