-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade stops running service #9863
Comments
The same happens on Ubuntu using the PPA provided packages. Is there a chance to get this fixed? |
This is still the case upgrading from 5.4.3 to 5.5 with RPM (yum on CentOS 7) with elastic repositories. |
I think this is mislabelled. It is not an enhancement request. It is a bug that really needs fixing. |
Happened again today when upgrading to 5.5.1. |
@jbudz could you check the labelling on this issue. I don't think "enhancement" is the correct label here. |
This is also present in the Debian package when upgrading to 5.6.1 from the Elastic APT repo. Running Ubuntu 16.04 |
This adds a new environment variable KBN_RESTART_ON_UPGRADE with a default value of true. In an upgrade scenario Kibana will automatically restart. Closes elastic#9863
I am experiencing this on 7.17: Scriptlet output: Note that step 6 stops kibana rather than restarts it, and there is no later start of the service to compensate. |
Kibana version: 5.1.2
Elasticsearch version: 5.1.2
Server OS version: CentOS release 6.8
Browser version: n/a
Browser OS version: n/a
Original install method (e.g. download page, yum, from source, etc.): Yum
Description of the problem including expected versus actual behavior:
Yum update breaks a running service. The preinstall script stops the service, but the postinstall script doesn't start it up again. Either you stop managing the service, or you start it up again after upgrade.
Provide logs and/or server output (if relevant):
/var/log/messages:Jan 13 04:06:36 is04 /etc/init.d/kibana: Attempting 'stop' on kibana
/var/log/messages:Jan 13 04:06:36 is04 /etc/init.d/kibana: Killing kibana (pid 14082) with SIGTERM
/var/log/messages:Jan 13 04:06:36 is04 /etc/init.d/kibana: Waiting kibana (pid 14082) to die...
/var/log/messages:Jan 13 04:06:36 is04 /etc/init.d/kibana: kibana stopped.
/var/log/messages:Jan 13 04:06:41 is04 yum[11721]: Updated: kibana-5.1.2-1.x86_64
/var/log/messages:Jan 13 04:06:51 is04 /etc/init.d/kibana: Attempting 'stop' on kibana
My engineer had to manually start the process here -
/var/log/messages:Jan 13 04:23:08 is04 /etc/init.d/kibana: kibana is not running
/var/log/messages:Jan 13 04:23:14 is04 /etc/init.d/kibana: Attempting 'start' on kibana
/var/log/messages:Jan 13 04:23:14 is04 /etc/init.d/kibana: kibana started
The text was updated successfully, but these errors were encountered: