ERROR: Could not load plugin descriptor for existing plugin [shield]. Was the plugin built before 2.0?

Can someone please help with the issue . Received an error while installing the plugin shield while rolling upgrade.I am upgrading ES from 2.2 to 2.4.5

root@dfsyselasticp1:/usr/share/elasticsearch# dpkg -l | grep elasticsearch
ii elasticsearch 2.4.5 all Elasticsearch is a distributed RESTful search engine built for the cloud. Reference documentation can be found at https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html and the 'Elasticsearch: The Definitive Guide' book can be found at https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html
root@dfsyselasticp1:/usr/share/elasticsearch# bin/plugin install shield
-> Installing shield...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.4.5/shield-2.4.5.zip ...
Downloading ...............................................................................................................................................DONE
Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/shield/2.4.5/shield-2.4.5.zip checksums if available ...
Downloading .DONE
ERROR: Could not load plugin descriptor for existing plugin [shield]. Was the plugin built before 2.0?
root@dfsyselasticp1:/usr/share/elasticsearch#

There was a symbolic link for shield which was causing the problem . After removing it , resolved the issue. I was able to install .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.