After a update (here 5.4.1) self installed plugins deleted. Reproducible: Always Steps to Reproduce: 1. install plugins... 2. logstash stop 3. emerge -u logstash-bin 4. logstash start Actual Results: [2017-06-24T11:25:32,945][FATAL][logstash.runner ] The given configuration is invalid. Reason: Couldn't find any filter plugin named 'translate'. Are you sure this is correct? Trying to load the translate filter plugin resulted in this error: Problems loading the requested plugin named translate of type filter. Error: NameError NameError Expected Results: Installed plugins are present.
Good question. It works the same on Debian for example.. Haven't found an answer yet,also asked on discuss: https://discuss.elastic.co/t/keeping-user-installed-plugins-after-logstash-update/92272
Ok, here is what we do. We will not install plugins directly, but use a wrapper script, that will create a list of user installed plugins. Each upgrade will trigger a reinstall on each of those plugins. Is that ok for your Wolfgang? https://github.com/gentoo/gentoo/pull/5098
Yes, this is helpful, thank you!
https://github.com/gentoo/gentoo/commit/15b28a3312f35244dbe093946f127d046555f42a Please try and reopen if it's still an issue.
This works pretty well. As a side note, when this is used in a proxied environment one has to make sure http_proxy and https_proxy is set in order to be able to install plugins.