Upgrade Agent on Debian/Ubuntu with Packages

This page details step to upgrade Bleemeo agent and its dependencies on a Debian or Ubuntu systems.

Before upgrading Bleemeo agent, please check that you meet the system requirements.

The agent works with your native packaging tools. For Debian/Ubuntu the agent uses APT and deb package.

Upgrade Your System

The agent could be upgraded with the rest of your system with:

$ sudo apt-get update
$ sudo apt-get upgrade

Note

This will upgrade all installed software, not only Bleemeo agent. While it’s a best practice to keep you system up-to-date, be aware that some service may be restarted during the upgrade and may cause disruption.

Upgrade only the Agent

If you want to only upgrade Bleemeo agent and its primary dependencies, you may use:

$ sudo apt-get update
$ sudo apt-get install bleemeo-agent bleemeo-agent-telegraf telegraf python3-paho-mqtt

Troubleshoot

If the above command does not upgrade your Agent or Telegraf, it may be due to Bleemeo repository being disable. This may happen after upgrading your distribution (for example upgrade from Ubuntu 16.04 to Ubuntu 18.04).

If that happen, re-enable the repository by either:

  • Re-running the wget -qO- “https://get.bleemeo.com?accountId=<YOUR ACCOUNT_ID>&registrationKey=<YOUR_REGISTRATION_KEY>” | sh

  • Edit /etc/apt/sources.list.d/bleemeo-agent.list and /etc/apt/sources.list.d/bleemeo-agent.list: uncomment the line and update the distribution codename (for example change “xenial” in “bionic”).