Summary: | there should be a Zebra restart button in Staff Interface in About Koha when it says it is not running | ||
---|---|---|---|
Product: | Koha | Reporter: | Hamilton Dwight Walker <dwight> |
Component: | Searching - Zebra | Assignee: | Bugs List <koha-bugs> |
Status: | In Discussion --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook |
Version: | 22.05 | ||
Hardware: | PC | ||
OS: | Linux | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Hamilton Dwight Walker
2025-06-02 11:49:59 UTC
at command line to restart Zebra where instancename is name of library: koha-zebra --start <instancename> It's an interesting idea, although I don't think it'll ever happen. First, I think that koha-zebra does indeed need to be invoked by root, so the web server isn't going to have the permissions to do that. In theory, we could refactor koha-zebra to work at the instance user level instead of requiring root, but... I don't think anyone would be interested in doing that work. Overall, Zebra is being phased out in favour of Elasticsearch as well. Also, the use of koha-zebra is specific to Koha installed by Debian packages. There's other deployment scenarios where Zebra is managed by other means, so there's no guarantees that the web server would ever be able to manage Zebra. I created a bash script to restart koha-zebra. cat restartzebra.sh koha-zebra --start <instance> echo "start koha-zebra" |