elastic / elastic/logstash

Upgrading Debian Package Loses All Plugins

Open
#3,540 6 comments 0 reactions 0 assignees View on GitHub
bug packaging
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Upgrading by debian package loses all installed plugins.
## Steps to Reproduce
1. Install logstash via `dpkg -i logstash-1.5.1.deb`
2. Install a plugin `/opt/logstash/bin/plugin install my-awesome-filter.gem`
3. Upgrade logstash via `dpkg -i logstash-1.5.2.deb`
4. Try to start logstash with a configuration that requires 'my-awesome-filter', logstash will fail to start because it cannot find the filter.

Maybe this could be avoided by installing plugins to a separate directory? How does Elasticsearch handle this? Elasticsearch always preserves plugins on upgrade.

Thank you!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.