Versions Compared

Key

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

...

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

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


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


  3. Install v2.1.0 following the Chariot MQTT Server Installation instructions. This instance should be installed ONLY and should not be started.

    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 /chariotv2.0.0
    • New version of Chariot should be installed in /chariotv2.1.0


  4. Copy the upgradeExport.sh file from the v2.1.0 directory to the v2.0.0 directory. For example:

    sudo cp ./chariotv2.1.0/upgradeExport.sh ./chariotv2.0.0/upgradeExport.sh


  5. From a command prompt, run the upgradeExport script in the v2.0.0 directory to create the upgrade zip file containing the data from the old installation. The file naming convention will be chariot_upgrade_YYMMDD_HHMM.tgz.

    sudo ./upgradeExport.sh


  6. Copy the upgrade.tgz file from the v2.0.0 directory to the v2.1.0 directory. For example:

    sudo mv ./chariotv2.0.0/chariot_upgrade_20220113_1612.tgz ./chariotv2.1.0/chariot_upgrade_20220113_1612.tgz


  7. From a command prompt, run the upgradeImport script in the v2.1.0 directory referencing the upgrade.tgz file

    sudo ./upgradeImport.sh chariot_upgrade_20220113_1612.tgz


  8. Start the v2.1.0 Chariot service. From a command prompt, run the Chariot service start script in the v2.1.0 directory

    sudo /etc/init.d/chariot start


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

  10. 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/

  11. 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

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

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

    sudo /etc/init.d/chariot stop


  14. 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 /chariotv2.1.0
    • New version of Chariot should be installed in /chariotv2.2.1


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

    sudo /etc/init.d/chariot start


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

  17. 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/

  18. 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.

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

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

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

...