-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins should be removed before installed #2
Comments
The reason why your check here (https://github.com/wodby/elasticsearch/blob/master/bin/docker-entrypoint.sh#L17) fails is because plugins are identified differently than their installation names. For the plugins mentioned in original message list would output the following
|
What's the point in removing and then installing a plugin, wouldn't it be the same version? You know we all images rebuilt when a new ES version gets released, right? you specified
to install plugins (separated by command):
I guess the first plugin isn't exactly |
Yeah, problem is that is a contrib so list gives a different name. I'm not sure how elastic names it's contribs, if thats :: then we can try to parse this format. I just realize that uninstall would need a |
Its a part of #1
If you have any plugins defined in
ES_PLUGINS_INSTALL
it will be installed at first but subsequent image stop/start will cause errors like this:We should attempt to remove plugin first as described here: https://www.elastic.co/guide/en/elasticsearch/plugins/current/listing-removing-updating.html
Use case:
ES_PLUGINS_INSTALL: pl.allegro.tech.elasticsearch.plugin:elasticsearch-analysis-morfologik:6.8.0,analysis-icu
The text was updated successfully, but these errors were encountered: