Question

DO-Agent unable to update

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…

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Have the exact same error, nothing I did helped.

Mine is borked too…

Even did full clean-up and re-install, nothing 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

Annoying that the logchecker is nagging about it each hour.

You can add something like

do-agent\[[0-9]+\]: [0-9/: ]{19} Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json.*

to a file in /etc/logcheck/ignore.d.server/ to filter these messages from the logchecker output.