Enabling automatic updates of clients and sensors
You can have all OpenText ScanCentral SAST clients and sensors check with the Controller after a manual update and following each startup to determine whether updates are available (meaning the client or sensor version is earlier than the Controller version). Then, if an update is available, the Controller updates all sensors and clients.
The upgrade paths for clients and sensors are as follows:
You can update standalone clients to a major or a patch version (for example from 24.4.0 to 25.4.0, or from 24.4.0 to 24.4.1).
If automatic updates are enabled and a major update of standalone clients fails, the clients do not start any jobs until they are updated.
If automatic updates are enabled and a patch update of standalone clients fails, the clients continue to work, and a warning is displayed.
You can only update embedded clients and sensors to a patch version (for example, from 24.4.0 to 24.4.1 or 24.4.2, but not to 25.4.0). Automatic updates for major versions is not available for embedded clients and sensors.
If automatic updates are enabled and a patch update of an embedded client fails, the clients and sensors continue to work, and a warning is displayed.
To update sensors and embedded clients to the next version, you must install the latest OpenText SAST version.
OpenText ScanCentral SAST clients and sensors check for updates only if you use the ‑url or -sscurl options. The package command does not start the update process.
To enable automatic updates of your clients and sensors:
Open the
<controller_install_dir>/tomcat/webapps/scancentral-ctrl/WEB-INF/classes/config.propertiesfile in a text editor.To enable automatic updates, set
client_auto_updatetotrue.- Save and close the file.
- Restart Tomcat server.
The update process (and its resulting success or failure status) is written to the console.
If you have OpenText SAST installed in a location that requires that you have administrator permissions to modify it (for example in Program Files), then to update a sensor, you must start it with administrator permissions. Otherwise, the sensor cannot write files to disk. If automatic updates is enabled, major updates on standalone clients must finish successfully before the sensor can start. With automatic updates enabled, patch updates allow sensors and clients to start unless the upgrade fails.
See also