Report this

What is the reason for this report?

DO-Agent unable to update

Posted on July 24, 2017

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!

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 @sarahwiechers

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.