Hi All, After changing some file permissions for zebra and rebooting the system, we found the records. We are able to do a rebuild_zebra using -b -a options, we will find all records even those that was recently added. However, if we add records and execute rebuild_zebra with -b -a -z option, the additional records that were added are not displayed in the search. Using rebuild_zebra using -b -a with out the -z option on a regular basis is too time consuming. Can you help to rectify the issue. Regards, Sheldon -- View this message in context: http://koha.1045719.n5.nabble.com/Index-not-rebuilding-with-z-option-tp57474... Sent from the Koha-general mailing list archive at Nabble.com.
On 22 March 2013 09:11, sheldon_tappin <thecarterii@hotmail.com> wrote:
Hi All,
After changing some file permissions for zebra and rebooting the system, we found the records.
We are able to do a rebuild_zebra using -b -a options, we will find all records even those that was recently added. However, if we add records and execute rebuild_zebra with -b -a -z option, the additional records that were added are not displayed in the search.
Using rebuild_zebra using -b -a with out the -z option on a regular basis is too time consuming.
Can you help to rectify the issue.
Hi Sheldon As a guess, I suspect the permissions on the files are messed up, and the user running running the -z is not the same user you are using to do a full rebuild. That would be my guess as the -z works for all the Koha installs I look after Chris
As a guess, I suspect the permissions on the files are messed up, and the user running running the -z is not the same user you are using to do a full rebuild. I'm using the same user to do both rebuilds. What we found is that with the -z option, no record is found. It returns 0 for everything. ==================== exporting authority ==================== 0 Records exported: 0 ==================== REINDEXING zebra ==================== ==================== exporting biblio ==================== 0 Records exported: 0 ==================== REINDEXING zebra ==================== Is there any other possible reason why that is happening? Sheldon -- View this message in context: http://koha.1045719.n5.nabble.com/Index-not-rebuilding-with-z-option-tp57474... Sent from the Koha-general mailing list archive at Nabble.com.
On 22 March 2013 16:17, sheldon_tappin <thecarterii@hotmail.com> wrote:
As a guess, I suspect the permissions on the files are messed up, and the user running running the -z is not the same user you are using to do a full rebuild.
I'm using the same user to do both rebuilds. What we found is that with the -z option, no record is found. It returns 0 for everything.
You somehow have the nozebra systempreference set perhaps? Check in searching, or localuse .. or in the database itself Chris
Chris Cormack-6 wrote
You somehow have the nozebra systempreference set perhaps? Check in searching, or localuse .. or in the database itself
We turned it off from the database level. The value of NoZebra is set to 0 Sheldon -- View this message in context: http://koha.1045719.n5.nabble.com/Index-not-rebuilding-with-z-option-tp57474... Sent from the Koha-general mailing list archive at Nabble.com.
On 22 March 2013 16:25, sheldon_tappin <thecarterii@hotmail.com> wrote:
Chris Cormack-6 wrote
You somehow have the nozebra systempreference set perhaps? Check in searching, or localuse .. or in the database itself
We turned it off from the database level. The value of NoZebra is set to 0
You just turned it off now? Or it was already off? If you turned it off now, did it fix the problem? Check the zebraqueue table for entries where done = 0 Chris
Chris Cormack-6 wrote
On 22 March 2013 16:25, sheldon_tappin <
thecarterii@
> wrote:
Chris Cormack-6 wrote
You somehow have the nozebra systempreference set perhaps? Check in searching, or localuse .. or in the database itself
We turned it off from the database level. The value of NoZebra is set to 0
You just turned it off now? Or it was already off?
If you turned it off now, did it fix the problem? Check the zebraqueue table for entries where done = 0
It was turned off way before we began the zebra index. We noticed that if we change a value in the zebraqueue to zero (0) it automatically turns to one (1). If we add a record and it's before the time for automatic incremental index which is 10 minutes by default, the value in the zebraqueue table is still 1. There is no value in that table that is (0). I think that is why we cannot rebuild with the -z option, but I may be wrong. Sheldon -- View this message in context: http://koha.1045719.n5.nabble.com/Index-not-rebuilding-with-z-option-tp57474... Sent from the Koha-general mailing list archive at Nabble.com.
participants (2)
-
Chris Cormack -
sheldon_tappin