Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following upgrade instructions for each of the supported platforms Linux and Windows requires the user has superuser/admin privileges and can execute any scripts at the command line in the directories where these servers are installed.

Warning
During this upgrade process your MQTT broker will be offline. Typical update time is less than 10 minutes.

Linux - Upgrading Chariot MQTT Server

  1. Following the Licensing Procedure, deactivate your existing license on the v2.1.0 Chariot MQTT Server.

  2. Backup your Chariot configuration using the Backup/Restore feature. To do this navigate to System in the left menu bar of the Chariot MQTT UI, select Backup/Restore and Export Backup

  3. Save the backup.tgz file created in a safe, known location as you will need to restore it after the upgrade.

  4. Stop the v2.1.0 Chariot service. From a command prompt, run the Chariot service stop script in the v2.1.0 directory

    Code Block
    sudo /etc/init.d/chariot stop


  5. Install v2.2.* following the Chariot MQTT Server Installation instructions in a new Chariot directory. 

    Warning
    Do not overwrite the old version of Chariot when extracting the Chariot ZIP package, but instead create a new Chariot directory and extract the new Chariot package into that new directory. For example:
    • Old version of Chariot is installed in /opt/chariotv2.1.0
    • New version of Chariot should be installed in /opt/chariotv2.2.1


  6. Start the v2.2.* Chariot service. From a command prompt, run the Chariot service start script in the v2.2.* directory.

    Code Block
    sudo /etc/init.d/chariot start


  7. Clear your web browser cache after upgrading Chariot to pick up the latest Chariot UI features and updates.

  8. Verify the Chariot Version. Navigate to the server URL accessing the Chariot portal on port 8080 and viewing the Version under the Chariot Systems Status. For example: http://localhost:8080/ or http://18.206.192.214:8080/

  9. Restore your Chariot configuration using the Backup/Restore feature. To do this navigate to System in the left menu bar of the Chariot MQTT UI, select Backup/Restore and Restore from Backup. When prompted, navigate to the backup.tgz file created earlier and import.

  10. Confirm that any configuration items have been imported correctly.

  11. If configured for SSL, reload any SSL certificates.

  12. Following the Licensing Procedure, activate your existing license on the v2.2.* Chariot MQTT Server to complete the upgrade.


Windows - Upgrading Chariot MQTT Server

  1. Following the Licensing Procedure, deactivate your existing license on the v2.1.0 Chariot MQTT Server.

  2. Backup your

NOTE: If you're trying to upgrade from 2.0.0 to 2.2.0+ you will first need to upgrade from 2.0.0 to 2.1.0 and then from 2.1.0 to 2.2.0+.

...

  1. Chariot configuration using the Backup/Restore feature

...

  1. . To do this navigate to System in the left menu bar of the Chariot MQTT UI, select Backup/Restore

...

  1. and Export Backup.

  2. Save the backup.zip file downloaded in a safe, known location as you will need to restore it after the upgrade.

...

Deactivate your Chariot license on the old Chariot instance, before you decommission it. You will need to reactivate the license on the new Chariot instance.

...


  1. Stop the v2.1.0 Chariot service. From a command prompt, run the Chariot service stop script in the v2.1.0 directory.

    Code Block
    serviceStop.bat


  2. Install v2.2.* following the Chariot MQTT Server Installation instructions in a new Chariot directory. 

    Warning
    Do not overwrite the old version of Chariot when extracting the Chariot ZIP package, but instead create a new

...

  1. Chariot directory and extract the new Chariot package into that new directory. For example

...

  1. :
      • Old version of Chariot is installed in C:\Program Files\

    ...

      • Chariotv2.1.0
      • New version of Chariot should be installed in C:\Program Files\

    ...

      • Chariotv2.2.1


    1. Start the v2.2.

    ...

    # Linux Example
    Old version of Chariot is installed in /opt/chariot
    New version of Chariot should be installed in /opt/chariot.v2.2.0

    1. * Chariot service. From a command prompt, run the Chariot service start script in the v2.2.* directory.

      Code Block
      serviceStart.bat


    2. Clear your web browser cache after upgrading Chariot to pick up the latest Chariot UI features and updates.

    3. Verify the Chariot Version. Navigate to the server URL accessing the Chariot portal on port 8080 and viewing the Version under the Chariot Systems Status. For example: http://localhost:8080/ or http://18.206.192.214:8080/

    4. Restore your Chariot configuration using the Backup/Restore feature. To do this navigate to System in the left menu bar of the Chariot MQTT UI, select Backup/Restore and Restore from Backup. When prompted, navigate to the backup.zip file created earlier and import.

    5. Confirm that any configuration items have been imported correctly.

    6. If configured for SSL, reload any SSL certificates.

    7. Following the Licensing Procedure, activate your existing license on the v2.2.* Chariot MQTT Server to complete the upgrade

    ...

    Restore your old Chariot configuration from the backup taken in Step 1.

    ...

    Re-upload and reactivate your existing Chariot license.

    ...

    Re-upload your SSL certificates.

    ...

    1. .