After new install "Can not run elasticsearch as root"

here is what I will do.
download new .deb packages for your debian.

https://www.elastic.co/downloads/elasticsearch
https://www.elastic.co/downloads/kibana
https://www.elastic.co/downloads/logstash

there are DEB package

remove your old elasticsearch/kibana/logstash and reinstall again

dpkg -remove elkpackagename kibanapackagename logstashpackagename'

dpkg -install *.deb

and you should have everything back to normal.

1 Like