I am currently trying to setup Elasticsearch for a project. I have installed Elasticsearch 7.4.1 and I have also installed Java, t
Elasticsearch 7.4.1
If you installed using package management, check if the owner of /etc/elasticsearch directory is elasticsearch.
/etc/elasticsearch
sudo chown -R elasticsearch:elasticsearch /etc/elasticsearch/