Problem with the upgrade - OPAC search not working
Happy (almost) new year everyone :) I'm in the process of upgrading a very old 3.0 installation to the most current version - I have to say that this process has been really quite nice - Thanks to everyone involved! I've hit a slight snag near the end with the zebra reindex - and I'm not 100% sure where I have gone wrong. If I bring up the console, I can run reports and see that all the books are in the database. However, when I try to search for a very common word, I have 0 hits. I was a little confused about userids, and there's a chance that I've still got something without the proper permission, but I've just run out of ideas, and was hoping you might be able to help. Using http://lists.katipo.co.nz/pipermail/koha/2013-December/038228.html Step #6, I get an error: ... Records exported: 8897 ====================== REINDEXING zebra ====================== 12:39:24-30/12 zebraidx(13255) [warn] Failed to open /var/lib/koha/mgskoha/biblios/register/rci-0.mf [Permission denied] 12:39:24-30/12 zebraidx(13255) [fatal] mf_read2 reci internal error ====================== CLEANING ====================== ... That is the only error left - and the file doesn't exist.... I even tried creating the register directory and an empty rci-0.mf file (and making both world read/write/executable) but I still see the error. Is there a log or something that I can look in to find more information? Thanks in advance Amber <http://lists.katipo.co.nz/pipermail/koha/2013-December/038228.html>
Amber Bole schreef op ma 30-12-2013 om 11:52 [-0600]:
12:39:24-30/12 zebraidx(13255) [warn] Failed to open /var/lib/koha/mgskoha/biblios/register/rci-0.mf [Permission denied] 12:39:24-30/12 zebraidx(13255) [fatal] mf_read2 reci internal error
The directory (/var/lib/koha/mgskoha/biblios/register/) isn't writeable by whatever user the zebra indexing process is running as. I'm going to assume you're using packages for the instructions below: 1. delete the directories that zebra stores its information in: 1. sudo rm -rf /var/lib/koha/mgskoha/authorities 2. sudo rm -rf /var/lib/koha/mgskoha/biblios 2. recreate them with the right permissions: 1. sudo koha-create-dirs mgskoha 3. rebuild zebra: 1. sudo koha-rebuild-zebra -v --full mgskoha Be sure that you get the rm -rf commands totally correct, they can be dangerous if you typo. This situation can happen if you use the non-package commands incorrectly on a package install. My guess is that someone ran rebuild_zebra.pl as root at some point, instead of using koha-rebuild-zebra. This can cause the permissions to get messed up, and this sort of thing happens. Always use the package commands (koha-*) with the package installations. If you must do something manually, run: sudo koha-shell libraryname first. This will set up the permissions and such for you, also setting up the environment to point to your config file so you don't have to do it yourself. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
participants (2)
-
Amber Bole -
Robin Sheat