[Koha-bugs] [Bug 14361] koha-restart-zebra fails and probably breaks upgrade
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 14:48:29 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14361
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40234|0 |1
is obsolete| |
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 40235
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40235&action=edit
Bug 14361: koha-restart-zebra fails and probably breaks upgrade
This patch fixes the koha-restart-zebra and koha-stop-zebra scripts
by adding pidfiles folder to the test is_zebra_running.
It also adds pidfiles to the test is_indexer_running so that
koha-rebuild-zebra will work properly.
Test plan:
1) check if zebrasrv is running, get pid of zebrasrv
ps ax | grep zebrasrv
2) In my case, there was also a warning on the about.pl page on a fresh
install: Error message from Zebra: 1011 (bad credentials)
3) try to restart zebra
koha-restart-zebra instancename
You will get a msg :
Zebra does not appear to have been running for instancename
Starting Zebra server for instancename
4) check again if zebrasrv is running
ps ax | grep zebrasrv
and see that pid has not changed, thus it is not restarted
5) Apply patch
6) repeat 4) and watch now how pid has changed
If there was a warning on about.pl it should now be gone
Signed-off-by: Mason James <mtj at kohaaloha.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Good catch Benjamin! It works as expected with the patch.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list