question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Download operation failure

See original GitHub issue

Exception retrieving agent manifests: [ProtocolError] /var/lib/waagent/GoalState.1.xml is missing.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
EricTendiancommented, Jan 2, 2018

I’m also running into this issue on Ubuntu 16.04 and while the workaround mentioned by @kailashms worked for most of my VMs, it doesn’t seem to work for a few of my newer ones. I managed to come up with this command as a workaround (run as root):

cp -a $(ls -td /var/lib/waagent/GoalState.*.xml | head -n 1) /var/lib/waagent/GoalState.1.xml

What this will do is copy the most recent goal state to GoalState.1.xml and preserve permissions, suppressing the error. I don’t know what kind of adverse effects this could cause, but it worked for my VMs. (As long as the goal state is recent, to prevent any significant changes increasing the possibility of error.) I’d like an official workaround to the issue if possible.

1reaction
kailashmscommented, Jan 3, 2018

@EricTendian @Shuanglu I too had a similar case with Ubuntu 16.04 and this is what i did to overcome the issue. #waagent --version à check the version #apt-get remove walinuxagent à to remove the waagent #apt-get purge walinuxagent à if not removed the above command, use this one #waagent –version à recheck again #mv /var/lib/waagent /var/lib/waagent_old à move the folder #apt-get install walinuxagent à install the waagent again #service walinuxagent status. and then check the waagent.log file. #tail -f /var/log/waagent.log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

download operation failed, please try to restart the ...
I'm following the beginner tutorial and I've applied the "Enable Offline OData in Your Android Application" step to my Customers.
Read more >
"Download operation failed" Error When Using the NR File ...
"Download operation failed" Error When Using the NR File Transfer Utility to Download a Snapshot or Export file (Doc ID 2723276.1).
Read more >
Fix file download errors - Google Chrome Help
To fix the error: Cancel the download and try again. Instead of clicking the file to download, right-click the link and select Save...
Read more >
Download Error: Operation Could Not Be Completed Or ...
This message indicates that something is preventing NetUpdate from properly downloading or installing updates. Restart your computer and try ...
Read more >
Download Error 11863 : r/Hulu
Trying to download episodes and this error code keeps coming up. I've deleted a few later episodes and apps to create space but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found