Skip to content

Preserve agent state when upgrading using package manager #3832

@rdner

Description

@rdner

Describe the enhancement:

Currently, we distribute Elastic Agent as a DEB and RPM package. However, we don't support upgrading the agent version using a package manager. Upgrading the agent using a package manager leads to abandoning the previous data/state folder and re-creating the whole state from scratch. Which is not the best user experience.

The only supported upgrade path for the agent at the moment is the elastic-agent upgrade command.

Describe a specific use case for the enhancement or feature:

Users running standalone agents on RPM or DEB driven OS.

What is the definition of done?

Upgrading an Elastic Agent DEB or RPM package using the suitable package manager preserves the existing state and does not lead to invalid behaviour for the agent.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions