Update Humly Sensor Gateway
To update Humly Sensor Gateway (HSG), run the installer of the new version over the old one. Your sensors, settings, MQTT logins and pairing stay in place. Do not uninstall first.
In this article
Before you update
- Note the current version. The dashboard shows it next to the name in the top left, for example v2.5.0.
- Check the release notes for anything to do before or after the update.
- Plan a short break in readings. HSG stops for a minute or two during the update. Readings sent during that time are lost.
- Back up the data folder:
- Windows:
C:\ProgramData\Humly\SensorGateway - Linux:
/home/<user>/Humly/SensorGateway/application_data
- Windows:
Update on Windows
- Run the new
HsgInstaller_v<version>.exeas an administrator. - Follow the wizard. Your port, log level and Humly Control Panel details are kept. You do not need to enter passwords again.
- Wait for the installer to finish. It restarts the services.
The installer saves a copy of the database as hsg.db.backup_<date> in the data folder.
Update on Linux
- Copy the new archive to the server and extract it:
tar -xzf hsg_installation_v<version>.tar.gz cd v<version>
- Run the installer as the same user that ran the first installation:
sudo bash install.sh
- The installer finds the existing installation and keeps your settings. It does not ask the setup questions again.
- The installer saves a copy of the database as
application_data/hsg.db.backup_<date>. - If the update fails, it restores the previous version.
After the update
- Sign in to the dashboard and check the new version number in the top left.
- On the Sensors page, check that sensors return to Online. LoRaWAN sensors come back at their next uplink. MQTT sensors reconnect on their own.
- Under Settings > HCP pairing, check that the status is Paired.
Humly Sensor Gateway guide
Get started
- Humly Sensor Gateway - Overview
- Humly Sensor Gateway - Use cases
- Humly Sensor Gateway - Requirements
Install and set up
- Install Humly Sensor Gateway on Windows
- Install Humly Sensor Gateway on Linux
- Humly Sensor Gateway - First-time setup
Connect sensors
- Connect LoRaWAN sensors to Humly Sensor Gateway
- Connect ChirpStack to Humly Sensor Gateway
- Connect The Things Stack to Humly Sensor Gateway
- Connect MQTT sensors to Humly Sensor Gateway
Manage and troubleshoot
- Humly Sensor Gateway - Dashboard tour
- Humly Sensor Gateway - Settings reference
- Update Humly Sensor Gateway
- Humly Sensor Gateway - Troubleshooting