- Upgrading from 5.0.0 or later
- Upgrading Sensu clusters from 5.7.0 or earlier to 5.8.0 or later
- Upgrading Sensu backend binaries to 5.1.0
- Upgrading from 1.x or later
Upgrading to the latest version of Sensu Go from 5.0.0 or later
To upgrade to the latest version of Sensu Go from version 5.0.0 or later, first install the latest packages.
Then restart the services.
NOTE: For systems using
sudo systemctl daemon-reload before restarting the services.
# Restart the Sensu agent sudo service sensu-agent restart # Restart the Sensu backend sudo service sensu-backend restart
You can use the
version command to determine the installed version using the
sensuctl tools. For example:
Upgrading Sensu clusters from 5.7.0 or earlier to 5.8.0 or later
NOTE: This applies only to Sensu clusters with multiple backend nodes.
Due to updates to etcd serialization, Sensu clusters with multiple backend nodes must be shut down while upgrading from Sensu Go 5.7.0 or earlier to 5.8.0 or later. See the backend reference for more information about stopping and starting backends.
Upgrading Sensu backend binaries to 5.1.0
NOTE: This applies only to Sensu backend binaries downloaded from
s3-us-west-2.amazonaws.com/sensu.io/sensu-go, not to Sensu RPM or DEB packages.
For Sensu backend binaries, the default
state-dir in 5.1.0 is now
/var/lib/sensu/sensu-backend instead of
To upgrade your Sensu backend binary to 5.1.0, first download the latest version, then make sure the
/etc/sensu/backend.yml configuration file specifies a
To continue using
/var/lib/sensu as the
state-dir, add the following configuration to
# /etc/sensu/backend.yml configuration to store backend data at /var/lib/sensu state-dir: "/var/lib/sensu"
Then restart the backend.