User Tools

Site Tools


elastic:kibanaonlinuxupdate

This is an old revision of the document!


Automatic update Kibana with apt when running on standard ports (HTTP :80 or HTTPS :443)

When Kibana is installed with the ES repository, Kibana will be updated when running apt upgrade. Even though this is very convenient and simple to do, Kibana won't start after the update for two reasons:

1. the newly installed binaries are installed as root user - therefore they are owned by root:root and the user kibana cannot execute it

2. The new installation is lacking the permission to run on the default http/ https ports.

Solution

As root or with sudo run:

chown -R kibana:kibana /usr/share/kibana
 
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-plugin
setcap cap_net_bind_service=+epi /usr/share/kibana/bin/kibana-keystore
setcap cap_net_bind_service=+epi /usr/share/kibana/node/bin/node
elastic/kibanaonlinuxupdate.1691847890.txt.gz · Last modified: 2023/08/12 13:44 by olaf