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.
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
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.