Upgrade to 2.0, unable to initialize plugins

On startup ES looks for /usr/share/elasticsearch/plugins/head/plugin-descriptor.properties but can't find it. Is there a way to bypass or reinitialize?

Caused by: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/head/plugin-descriptor.properties

Solution was to rm -r /usr/share/elasticsearch/plugins

The folder is getting created again when the node is restarted. So the issue still remains.

You probably have another problem . Create a new thread and provide details.

In my case, the folder was not created again... I prefer run

rm -rf /usr/share/elasticsearch/plugins && mkdir /usr/share/elasticsearch/plugins