Guide for Linux/Windows
Summary
This guide walks through upgrading Chariot MQTT Server from version 2.0.0 to the latest version.
Due to changes introduced in v2.1.0, this upgrade must be performed in two stages:
- Upgrade from v2.0.0 → v2.1.0
- Upgrade from v2.1.0 → latest
⚠️ Chariot will be offline during this process (typically < 10 minutes)
Prerequisites
- Administrative / sudo access
- Ability to run scripts from the command line
- Downloaded
installation packages
for:
- v2.1.0
- Target version
Upgrade Process Overview
The upgrade consists of:
- Exporting data from the existing installation
- Importing into v2.1.0
- Creating a backup
- Installing the latest version
- Restoring configuration
Linux
Step 1: Upgrade to v2.1.0
- Deactivate your license. For reference, see License Management
- Stop the service:
sudo /etc/init.d/chariot stop - Install v2.1.0 in a new directory (see Installation)
⚠️ Do not overwrite the existing installation
⚠️ Install v2.1.0 only — do not start the service yet
Step 2: Export Data from v2.0.0
sudo cp ./chariotv2.1.0/upgradeExport.sh ./chariotv2.0.0/
cd ./chariotv2.0.0
sudo ./upgradeExport.sh
Step 3: Import into v2.1.0
sudo mv chariot_upgrade_*.tgz ../chariotv2.1.0/
cd ../chariotv2.1.0
sudo ./upgradeImport.sh chariot_upgrade_*.tgz
Step 4: Start and Verify
- Start Chariot
sudo /etc/init.d/chariot start
- Navigate to
http://<server-ip>:8080in your browser. - Confirm version = 2.1.0 ✅
Step 5: Backup Configuration
- Navigate to: System → Backup/Restore → Export Backup
- Save the
.tgzfile
Step 6: Upgrade to Latest
⚠️ Do not overwrite the v2.1.0 installation. A directory for each version should exist.
- Install the latest version in a new directory (see
Installation for Linux), then:
- Start service
- Restore backup
- Reactivate license
Windows
Step 1: Upgrade to v2.1.0
- Deactivate your license (see License Management)
- Stop the existing Chariot service:
serviceStop.bat
- Install v2.1.0 in a new directory (see Installation for Windows)
⚠️ Do not overwrite the existing installation.
⚠️ Install v2.1.0 only — do not start the service yet.
Step 2: Export Data from v2.0.0
- Copy the export script from the v2.1.0 installation into the v2.0.0 directory:
copy D:\chariotv2.1.0\upgradeExport.vbs D:\chariotv2.0.0\
- Open a command prompt and change to the v2.0.0 directory.
- Run the export script:
upgradeExport.vbs
This generates an export package named:
chariot_upgrade_YYMMDD_HHMM.zip
Step 3: Import into v2.1.0
- Copy the export package into the v2.1.0 directory:
copy D:\chariotv2.0.0\chariot_upgrade_*.zip D:\chariotv2.1.0\
- Change to the v2.1.0 directory.
- Run the import script:
upgradeImport.vbs
Step 4: Start and Verify
- Start the v2.1.0 service:
serviceStart.bat
- Clear your browser cache.
- Open:
http://<server-ip>:8080
✅ Confirm the version is 2.1.0.
Step 5: Backup Configuration
- Navigate to: System → Backup/Restore → Export Backup
- Save the downloaded backup
.zipfile.
Step 6: Upgrade to Latest
- Stop the v2.1.0 service:
serviceStop.bat
- Install the latest version in a new directory (see Installation for Windows).
⚠️ Do not overwrite the v2.1.0 installation. A directory for each version should exist.
- Start the new service:
serviceStart.bat
- Clear your browser cache.
- Restore the backup:
- Navigate to: System → Backup/Restore → Restore from Backup
- Select the previously exported backup
.zipfile. - Verify configuration settings were restored correctly.
- If SSL is configured, reload SSL certificates.
- Reactivate your license.