Debugging ElasticSearch Ingest Attachment Plugin - nextcloud/fulltextsearch GitHub Wiki

This document is here to help you with common troubleshooting for ElasticSearch (in use with FullTextSearch & Nextcloud).

In my example I use a server with following setup:

  • Ubuntu 16.04,
  • Nextcloud 12.5,
  • Java "1.8.0_151",
  • ElasticSearch 6.2.0.

Starting ElasticSearch Service failed via systemd

This can happen after you installed an update for ElasticSearch via APT. In my case, I had ElasticSearch in the version 6.1.2 with the "ingest-attachment" plugin.

The "systemctl status elasticsearch" or "journalctl -xe" information don't show any hints about the problem. You then have to uninstall the current plugin via /usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment and install it again with /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment. Now you are able to start the service.