Since saturday the do-agent seems to have trouble updating. Every hour it tries and then logs this to my syslog: gbol5 do-agent[1429]: 2017/07/24 07:11:58 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC Is there any way to fix it? Right now I’m getting an E-Mail notification about this update error every time and it starts to clutter my postbox…
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!
If you run ls -l /opt/digitalocean/bin/do-agent it will tell you the install/update date.
If the automatic update works, then the date should be about 5 days ago, since that was the latest release.
I think you might be experiencing something similar to this: https://github.com/digitalocean/do-agent/issues/21 What happens if you run the installation script again?
The last update date is the 19th, which seems to be fine. Running the install script again results in “do-agent is already the newest version (0.5.0). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.” Seems to be fine as well. It is still good to know someone is working on this, since it is quite annoying. So, thanks for your help!
Ditto, even after purge/reinstall via Debian repo.
Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.