Last active
December 10, 2020 22:23
-
-
Save smcnally/c668c6a3ec7c4edd88cf15e66887a822 to your computer and use it in GitHub Desktop.
elasticsearch updates and plugin issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Even with minor updates, elasticsearch often fails. | |
tl;dr: removing and re-installing plugins resolves the issue | |
> sudo /usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment | |
> sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment | |
(ingest-attachment is the lone es plugin I'm currently running) | |
the service fails to start with | |
Job for elasticsearch.service failed because the control process exited with error code. | |
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.''' | |
the status and journal message details aren't directly actionable, but | |
/var/log/elasticsearch/elasticsearch.log | |
shows plugin errors like | |
Exception java.lang.IllegalArgumentException: Plugin [ingest-attachment] was built for Elasticsearch version 7.10.0 but version 7.10.1 is running | |
the service throws similar errors for other major and minor updates, so I've changed my approach with apt upgrades. | |
es has become much more straightforward to admin and runs well locally, in a container, and on servers. This has hightened my expectations and makes the three-tiered errors thrown stick out poorly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment