Anyone with a good description how ES can be run on a raspberry pi 4 with raspbian?
I have tried to use the information from this thread but was not successful.
When checking syslog I can see two lines saying elasticsearch starting and started but when running
gives me "... Failed to connect to 127.0.0.1 port 9200: connection refused"
I also appreciate suggestions how the logfiles will be created. I have modified /etc/elasticsearch/elasticsearch.yml and logging.yml - uncommenting the lines for log patch and changing es.logger.level: DEBUG but cannot find anything.
Sep 27 21:00:08 raspberrypi systemd[1]: Started Elasticsearch.
Sep 27 21:00:08 raspberrypi elasticsearch[861]: could not find java in JAVA_HOME or bundled at /usr/share/elasticsearch/jdk/bin/java
Sep 27 21:00:08 raspberrypi systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep 27 21:00:08 raspberrypi systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
That's pretty obvious -- in my case, I need to set JAVA_HOME in...
@martingwb_99 Use the last reply on this thread. Sorry about the double post there. I needed to edit the one, but couldn't, so I deleted it, but it takes 24 hours to withdraw, hence the double post.
Anyway, if you haven't already found your answer, this should work.
@sadoht That's great. Keep in mind though his procedure won't work for 7.4. If you ever need to install the latest, it's worth copying the setup at the end of my post there and putting it somewhere.
@glassman Yes, I saw your posts for both Elasticsearch and Kibana. I recommend the reading to @anyone reaching this answer.
I actually decided for 7.3.2 after reading your post about Elasticsearch 7.4 hahaha It looks way too complex. 7.4 is quite recent. I have hope that it will get some official support in the near future, at least to solve the most hacky parts of your solution.
Also, I just managed to install Kibana 7.3.2 thanks to your post about 7.4. Thanks a lot for it. I can now confirm it works on a Raspberry 4 with Raspbian Buster.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.