Skip to content
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

[debian package] failed to invoke rollback watcher #4332

Open
leehinman opened this issue Feb 23, 2024 · 1 comment
Open

[debian package] failed to invoke rollback watcher #4332

leehinman opened this issue Feb 23, 2024 · 1 comment
Labels
bug Something isn't working Team:Elastic-Agent Label for the Agent team

Comments

@leehinman
Copy link
Contributor

leehinman commented Feb 23, 2024

If elastic-agent is installed via a DEB package, it cannot find the executable when it tries to start the watcher.

failed to invoke rollback watcher: failed to start Upgrade Watcher: fork/exec /var/lib/elastic-agent/elastic-agent: no such file or directory

This is because the path library doesn't know that it installed via the package manager and doesn't point to the correct symlink which is /usr/share/elastic-agent/bin/elastic-agent

We need to either not try to start the watcher under a debian package or get the path correct.

See #4301

@leehinman leehinman added the bug Something isn't working label Feb 23, 2024
@pierrehilbert pierrehilbert added the Team:Elastic-Agent Label for the Agent team label Feb 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants