How to use Standalone plugin offline without internet

Hi Team,

Elasticsearch version: 7.7.0
Kibana Version : 7.7.0
OpenDistro Plugin Version: 1.8.0.0

https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-job-scheduler/opendistro-job-scheduler-1.8.0.0.zip  (Job scheduler)

https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-alerting/opendistro_alerting-1.8.0.0.zip

I do not have internet on my Server so I installed manually and put on my external path but I am getting below error. Please suggest how to do achieve this.

[root@/usr/share/elasticsearch]# sudo bin/elasticsearch-plugin -v install /root/SWIFT/opendistro_alerting-1.8.0.0.zip
-> Installing /root/SWIFT/opendistro_alerting-1.8.0.0.zip
-> Failed installing /root/SWIFT/opendistro_alerting-1.8.0.0.zip
-> Rolling back /root/SWIFT/opendistro_alerting-1.8.0.0.zip
-> Rolled back /root/SWIFT/opendistro_alerting-1.8.0.0.zip
A tool for managing installed elasticsearch plugins

Non-option arguments:
command

Option Description


-E Configure a setting
-h, --help Show help
-s, --silent Show minimal output
-v, --verbose Show verbose output
ERROR: Unknown plugin /root/SWIFT/opendistro_alerting-1.8.0.0.zip
[root@/usr/share/elasticsearch]#

Any help here? Also, I tried on the server having internet. I can see Alerting tab but it was not opening even after 30 minutes. Buffering was keep on going.

Please suggest it is urgent.

Hi Khushboo,

It looks like you need to specify the path to the zip file as a file:// URL, not just a path name.

Try “sudo bin/elasticsearch-plugin -v install file:///root/SWIFT/opendistro_alerting-1.8.0.0.zip” and see if that works.

See https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-management-custom-url.html for more details.

Thanks camerski. It worked.