Upgrading Connectware to 1.7.0 (Docker)
How to upgrade Connectware to version 1.7.0 on Docker.
Connectware 1.7.0 affects the backward compatibility of the Connectware broker. Older broker data volumes are not compatible with brokers of Connectware 1.7.0 and newer. Upgrading to Connectware 1.7.0 requires additional upgrade procedures.
Additionally, multi-factor authentication (MFA) is now controlled via a dedicated configuration switch.
Check your upgrade path
This upgrade is one step of a longer upgrade path. Before you continue, check Connectware Upgrade Paths to determine which steps apply to your installation.
Important Notes
This upgrade will delete all persisted data of the Connectware broker. This includes client sessions, subscriptions, and retained data. If your configuration relies on any type of data persisted by the broker, make sure to properly initialize your applications after the upgrade.
If you rely on persisted data, create a backup or snapshot of the broker data volumes. This allows you to roll back in case of complications.
Upgrading Procedure
To stop Connectware, go to the Connectware installation directory (default:
/opt/connectware) and rundocker compose down.Delete the broker data volume of Connectware. Find the broker data volume in the list of volumes with
docker volume lsand delete it withdocker volume rm <connectware_brokerData>.If you are using multi-factor authentication (MFA), set the environment variable
CYBUS_MFA_ENABLEDtotrueinside your .env file.Download and install the new Connectware version. For more information, see Upgrading Connectware (Docker).
Last updated
Was this helpful?

