Closed ashkan-jafarzadeh closed 2 years ago
What is the command that you are using to install the plugin?
And is /path/to/ParsiAnalyzer/target/releases/ParsiAnalyzer-1.0-SNAPSHOT.zip
the actual path that you are using when installing the plugin? Because it was just an example and you should give the actual absolute path to the zip file on your computer.
Thanks for answering.
The command is: sudo ./elasticsearch-plugin install /path/to/ParsiAnalyzer/target/releases/ParsiAnalyzer-1.0-SNAPSHOT.zip
And of course it is the absolute path, I've just hidden it in my question and replaced it with /path/to
The problem is solved.
I extracted the zip file and copied it to the elasticsearch/plugins
folder and then restarted the elasticsearch service. It worked for me.
Try this command next time:
sudo ./elasticsearch-plugin install file:///path/to/ParsiAnalyzer/target/releases/ParsiAnalyzer-1.0-SNAPSHOT.zip
I've followed the build steps for version 7.17.4 and built the
ParsiAnalyzer-1.0-SNAPSHOT.zip
under thetarget/releases
folder. When I try to install it byelasticsearch-plugin
, it fails:Any idea about this problem?