Upgrading Connectware to 2.0.1 (Docker)

How to upgrade Connectware to version 2.0.1 on Docker.

Connectware 2.0.1 introduces enhancements to the Data Explorer.

circle-exclamation

Disclaimer

circle-exclamation

Hardware Requirements

Connectware 2.0.1 adds a new microservice for MQTT topic exploration. As a result, Connectware requires the following additional resources:

  • 200m CPU (0.2 CPU)

  • 750 MiB of memory

circle-exclamation

Upgrading Procedure

circle-exclamation
1

Upgrading Connectware to 2.0.1

  1. To stop Connectware, go to the Connectware installation directory (default: /opt/connectware) and run the following command:

  1. Download and install Connectware 2.0.1. For more information, see Upgrading Connectware (Docker).

  2. Start Connectware with the following command:

Result: Connectware is upgraded to 2.0.1.

circle-exclamation
2

Migrating Services with CYBUS_MQTT_ROOT Configuration

If you are using services configured with CYBUS_MQTT_ROOT, you must run a migration script after installing Connectware 2.0.1 to ensure full Data Explorer compatibility.

  1. Ensure that only a single instance of Connectware is running in this Docker installation. If you run multiple installations on the same machine, identify the system-control-server container belonging to this installation manually using docker ps and use its name as CW_SCS_CONTAINER in the next step.

  2. Run the migration script. This is required if you have services using CYBUS_MQTT_ROOT.

  1. Verify that the script ran without errors.

  2. Ensure that only a single instance of Connectware is running in this Docker installation. If you run multiple installations on the same machine, identify the topic-explorer container that belongs to this installation manually using docker ps and use its name as CW_TE_CONTAINER in the next step.

  3. Restart the topic-explorer container:

Result: The migration script updates the database with new column values. You do not need to reinstall your services.

Last updated

Was this helpful?