ElasticSearch remote buckler installer failed without internet connection

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Platform Notice: Data Center Only - This article only applies to Atlassian products on the data center platform.

問題

Setting up Elasticsearch on a remote instance as guided in How to Install and configure a remote Elasticsearch instance KB. The installation is expected to done without internet connection but only with intranet or extranet connection. This would restrict the installation of buckler on remote ElasticSearch server without the connection to Atlassian packages site.   

On installing the plugin onto remote Elasticsearch instance using the plugin helper called elacticsearch-plugin located in Elasticsearch bin/ directory:

  • Instead of using the URL link, download the buckler plugin and move it to the instance hosting remote Elasticsearch.

  • Run the command to install the buckler using elacticsearch-plugin:

    cd /path/to/elasticsearch/bin./elasticsearch-plugin install -b /path/to/elasticsearch/buckler-plugin-1.0.4-5.5.3.zip

The following appears in the UNIX terminal:

hostname@bannamalai:~/atlassian/elasticsearch/elasticsearch-5.5.3/bin$ ./elasticsearch-plugin  install -b /home/user/atlassian/elasticsearch/buckler-plugin-1.0.4-5.5.3.zip 
A tool for managing installed elasticsearch plugins

Commands
--------
list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command              

Option         Description        
------         -----------        
-h, --help     show help          
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown command [/home/user/atlassian/elasticsearch/buckler-plugin-1.0.4-5.5.3.zip]


原因

The buckler is expected to be installed from Buckler plugin URL as the elasticseach-plugin file expects the URL protocol apart from the internet connection.

回避策

Since the elasticseach-plugin file expects the URL protocol, the file:/// can be used point to the buckler-plugin's URL in the local directory.

  • Download the buckler-plugintar file into the local directory.

  • Run with the command with file:/// protocol and removing the -b flag:

hostname@bannamalai:~/atlassian/elasticsearch/elasticsearch-5.5.3/bin$ ./elasticsearch-plugin  install /home/user/atlassian/elasticsearch/buckler-plugin-1.0.4-5.5.3.zip 
  • There will be a warning message with and confirmation option to install the buckler into Elasticsearch as such:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.io.FilePermission /path/to/elasticsearch/elasticsearch-5.5.3/config/buckler/* write
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]
  • If you understand the risk and wish to continue, please key in and enter to continue with the installation.


説明Remote ElasticSearch installation
製品Bitbucket Data Center
最終更新日 2019 年 7 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.