Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Michael Hafen
Looks like `koha-start-zebra k318` is one of the command-line tools provided by the koha-common package. I'm guessing the recommended way to use this too is to run it as root, and it will then sudo to the k318-koha user to perform the task inside the tool. Seems there is an error in zebra though.

[Koha-devel] 3.18 zebra

2015-01-21 Thread Paul A
Please bear with me -- I had no luck sorting out my search speed problem, so did a packet apt-get remove, install (not purge.) All went extremely well, OPAC reported under maintenance, staff admin (logging in with install name) upgraded the 3.05 database (new as requested by

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Michael Hafen
Ok, I've poked around a bit with the scripts now. Looks like the few command-line tools I looked at expect to be run as root. The zebra logging level is hard coded in koha-start-zebra as 'none,fatal,warn' which should be sufficient. You probably already know that the zebra error log is

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Paul A
Michael, Thank you, I'm on the same track, but being a little bit cautious. Since the packages were introduced (and I have not yet used them in production) a number of warnings have been expressed (e.g. one of our esteemed developers wrote 20-Aug-2013: Because the packages put koha-common in

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Paul A
At 10:46 AM 1/22/2015 +1300, Robin Sheat wrote: Paul A schreef op wo 21-01-2015 om 13:42 [-0500]: But I have a problem with Zebra. Does 'instancename-koha' really have to be a sudoer? If there's a possible quick fix I'll try it, if not I'll start over. [snip] Instead, be your normal user,

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Robin Sheat
Paul A schreef op wo 21-01-2015 om 16:21 [-0500]: Because the packages put koha-common in /etc/cron.d that does the indexing. The fact you have reindexed as root will have mucked up all sorts of permissions, including breaking this cron job.) That's what happens when you reindex as root,

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Paul A
At 11:55 AM 1/22/2015 +1300, you wrote: Paul A schreef op wo 21-01-2015 om 17:10 [-0500]: However, neither OPAC (Results of search for 'kw,wrdl: smith' No results found! No results found for that in NMA catalog) nor staff-admin (No results match your search for 'kw,wrdl: smith' in NMA

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Robin Sheat
Paul A schreef op wo 21-01-2015 om 18:53 [-0500]: So, then it bounced me around looking for indexer, SIP server and Zebra, which all appear to start, but service koha-common restart doesn't appear to want to play: You probably don't want the indexer at this stage. By default, it's not

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Robin Sheat
Paul A schreef op wo 21-01-2015 om 17:10 [-0500]: However, neither OPAC (Results of search for 'kw,wrdl: smith' No results found! No results found for that in NMA catalog) nor staff-admin (No results match your search for 'kw,wrdl: smith' in NMA Catalog) can find anything ... First thing

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Robin Sheat
Paul A schreef op wo 21-01-2015 om 20:36 [-0500]: k318-ko+ 1285 0.0 0.0 114000 5532 ?S19:47 0:00 \_ zebrasrv -v none,fatal,warn -f /etc/koha/sites/k318/koha-conf.xml OK, so it is running. I have no clue as to user k318-ko+ That's just a truncation of the username. nor

Re: [Koha-devel] 3.18 zebra

2015-01-21 Thread Paul A
At 01:33 PM 1/22/2015 +1300, Robin Sheat wrote: Paul A schreef op wo 21-01-2015 om 18:53 [-0500]: So, then it bounced me around looking for indexer, SIP server and Zebra, which all appear to start, but service koha-common restart doesn't appear to want to play: [snip] You just want to