Droplet not available over Internet after attempted 'metrics agent' upgrade

Currently on the droplet’s dashboard, a window prompts us with:

New! Update Droplet to Monitoring

I followed the ‘Learn How to Update’ link, which has two parts:

  1. Uninstall the legacy metrics agent: sudo apt-get purge do-agent
  2. Install the current metrics agent: curl -sSL | sudo bash

Operation 1 completed without error. Operation 2 produces the following:

Failed to start do-agent.service: Unknown unit: do-agent.service

I’m not really sure how to parse the log.

Currently, I’m unable to ping my droplet from any external computer. I’m able to use the DigitalOcean console, but a couchDB server running there is inaccessible.

Any suggestions on how to troubleshoot this? Are my problems linked to the attempted metrics agent upgrade or is that just a coincidence?

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.


I’m sorry to hear about the trouble. In recent cases that I’ve heard of this, somehow cloudinit had been uninstalled. I wonder if you might check with something like this:

grep "cloud" /var/log/apt/history.log

Otherwise some of our team members helped put this together for generic instances of network not working on a droplet: