I have done a do-release-upgrade, and now droplet-agent exits with return code 1 from the cron.hourly executions.
run-parts: /etc/cron.hourly/droplet-agent exited with return code 1
I have tried shutting it down, then using apt to purge it, then reinstalled it using apt and it still has this problem.
Any ideas?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Does this work if you were to try running the script manually to see if it outputs any errors:
Also, check
journalctl
for any additional logs:Also would you mind confirming:
/var/log/droplet-agent.log
or/opt/droplet-agent
If it still fails after a full purge and reinstall, I would recomend opening an issue at: https://github.com/digitalocean/do-agent/issues
That way the maintainers can take a closer look.
- Bobby
Heya,
Check your journal to see the exact error
From the error we’ll be able to further troubleshoot the exact reason behind this behavior.