How can I manually upgrade the agent?
PreviousDifference between "Datetime", "event_time" and "store_time"NextWhat ports does the agent require?
Last updated
Was this helpful?
To manually upgrade the agent, there are two primary methods:
Stop the service and replace the binary
Upgrade or reinstall the package
The command to stop the service will vary depending on your init system. For this example, we will be using systemd.
sudo systemctl stop ardexaOnce the service has stopped and the agent reports as being offline in the Ardexa Web App, proceed to Step 2.
Take the new binary and copy it to /usr/sbin/ardexa. Confirm that the new binary is working as expected by running the following commands (some systems to not include /usr/sbin/ in the PATH for standard users, so you may need to provide the absolute path to the binary). This will print the version of the agent and then test that the configuration file is compatible with the new binary.
ardexa -v
sudo ardexa -t /etc/ardexa/ardexa.yamlIf the commands both return successfully, you may start the service once more.
sudo systemctl start ardexaThe agent should reconnect and in the Ardexa Web App you should see a "Configuration Update" notice. Browse to [Devices], click on the target device and open the [Configuration] tab. Here you should see that the agent version has been updated.
Last updated
Was this helpful?
Was this helpful?