Skip to content

V2: Removed download directory prevents the agent container from starting #1159

@cmacknz

Description

@cmacknz

This was first encountered trying to integrate cloudbeat with the agent V2 changes: elastic/cloudbeat#364

The agent immediately exits when run in a container with the error:

Error: syncing download directory to STATE_PATH(/usr/share/elastic-agent/state) failed: lstat /usr/share/elastic-agent/data/elastic-agent-f95c9e/downloads: no such file or directory

To reproduce build the agent container on the feature-arch-v2 branch and run it. It will fail immediately.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions