11 Mar 2024 11:33 AM - edited 20 Nov 2025 11:51 AM
This article covers failures to update the Synthetic Module or Chromium. Many of these scenarios are also beneficial for troubleshooting issues with the Synthetic Module installation.
You can confirm the versions of the ActiveGate, Synthetic Module, and Chromium on the Deployment Status > ActiveGates page. The Last Update column will report 'Skipped' or 'Failed' if an issue occurred.
The Synthetic module installer writes to a separate file. This will either be
/var/log/dynatrace/synthetic/dynatracesynthetic-install_<datetimeOfInstall>.log
orC:\ProgramData\dynatrace\autoupdater\log\Synthetic_<version>.log
For Linux, if the file doesn't exist, check in /tmp/ for any dynatracesynthetic-install_<datetimeOfInstall>.log files
And, also, the autoupdater log
/var/log/dynatrace/autoupdater/dynatrace_ag_autoupdater_nnn.log
orC:\ProgramData\dynatrace\autoupdater\log\dynatrace_ag_autoupdater_nnn.log
If the ActiveGate was updated within the last 7 days, you can use the ActiveGate diagnostics feature to download it; otherwise, you'll need to check on the machine itself.
Most of the time, the message in the installer log is quite verbose and helpful. There are some scenarios listed below also:
This can be seen in the dynatrace_ag_autoupdater_nnn.log:
2023-02-06 08:51:49 UTC 1.257.216.20230119-103521 (120107) Installing package /var/lib/dynatrace/packages/Dynatrace-Synthetic-Linux-x86-1.257.23.20221220-170840.sh
2023-02-06 09:06:49 UTC 1.257.216.20230119-103521 (120107) Installation process has been killed as the timeout expired (1)
2023-02-06 09:06:49 UTC 1.257.216.20230119-103521 (120107) Installation has failed.
Check the last lines in the Synthetic installer log
Unmounting cache…
This behavior is usually due to Microsoft Defender Service, mdatp, interfering. Verify if any antivirus applications are running on this server. To complete the update:
Stop Microsoft Defender/ other antivirus.
Delete any .sh files from /var/lib/dynatrace/packages.
Retry the update - either wait for the autoupdate to retry (usually hourly) or manually select 'Update'.
Note: If this resolves the issue, you'll need to update the Antivirus exclusions to prevent this behavior from happening with every update.
sudo umount /var/tmp/dynatrace/synthetic/cache sudo umount -l /var/tmp/dynatrace/synthetic/cacheDelete any .sh files from /var/lib/dynatrace/packages
Retry the update - either wait for the autoupdate to retry (usually hourly) or manually select 'Update'.
Command: yum versionlock chromium chromium-common
The yum versionlock command usually takes less than 10 seconds to complete. Then manually run it before retrying the update.
Try running versionlock manually by running the following commands:yum versionlock clear
yum versionlock chromium chromium-common
yum versionlock | grep chromium
If this takes more than 30 seconds, check the health of the machine and identify what might be causing it commands to execute more slowly.
If chromium-common is locked, you can rerun the update after deleting any .sh files from /var/lib/dynatrace/packages.
If it's not, check the output from yum versionlock | grep chromium
Checking if user dtuserag has read access to:
There are multiple checks like this in the installer logs, as the installer checks each folder for access. If the checks are always taking a long time, for instance, more than a minute, it is likely that something like an Antivirus is interfering. Retry the installation after disabling the antivirus from scanning those directories.
Chromium autoupdate is only relevant for Linux installations, as Windows ActiveGates have Chromium packaged with the installer. These are the most common scenarios:
Search the Synthetic installer log forDetected ActiveGate configuration (joined)
Below that is the section that states which options are enabled. For Chromium autoupdate to complete, both synthetic.synthetic_autoupgrade_chromium and synthetic_autoinstall must be true.
If synthetic.synthetic_autoupgrade_chromium is false or has no value, update this in the location (this can't be updated in the custom.properties).
For Private locations, this can be done in the WebUI
For Cluster locations, this can be done using the Cluster API
If synthetic_autoinstall is false or has no value, add synthetic_autoinstall = true to the [synthetic] section of the /var/lib/dynatrace/gateway/config/custom.properties file and restart the vuc and gateway services.
Search the installer log for Downloading Chromium package
This line and the lines that follow will indicate if/ why the download failed. Like this example, where the connection was refused
01/08 11:22:24 Downloading Chromium packages from https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/chromium-99.0.4844.84-1.el8.tgz...
01/08 11:22:24 Executing command: curl --silent --show-error --continue-at - --connect-timeout 5 --retry 5 --retry-delay 10 --retry-max-time 80 --output /tmp/chromium/chromium.tgz https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/chromium-99.0.4844.84-1.el8.tgz
curl: (7) Failed to connect to synthetic-packages.s3.amazonaws.com port 443: Connection refused
01/08 11:22:24 ERROR: Failed to download Chromium. Please check if https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/chromium-99.0.4844.84-1.el8.tgz address is accessible.
For Chromium autoupdate to be successful, one of the following options must be chosen:
Allow direct connection to https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/ from the ActiveGate.
Use a mirror server on your network to serve the packages. See documentation for configuration details.
Use a /.curlrc file to force curl to always use your proxy. https://reqbin.com/req/c-ddxflki5/curl-proxy-server
Note: The Synthetic Installer does not have access to any proxy information provided in the custom.properties file.
Alternatively, Disable Chromium autoupdate on the location and manually update Chromium.
Search for ERROR
The explanation is usually beneficial. For example:
29/06 05:39:55 ERROR: chromium-common package is not in supported version, min version: 96. Installed version is 90.0.4430.93 (90)
29/06 05:39:55 ERROR: Package libwayland-server is NOT installed!
29/06 05:39:56 ERROR: Package mesa-libgbm is NOT installed!
29/06 05:39:56
29/06 05:39:56 For a typical OS installation with a working internet connection, use
29/06 05:39:56 the following commands to install required package(s):
29/06 05:39:56
29/06 05:39:56 sudo yum install -y libwayland-server mesa-libgbm
29/06 05:39:56
29/06 05:39:56 sudo rpm -e chromium chromium-common
29/06 05:39:56
29/06 05:39:56 curl --remote-name https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/chromium-112.0.5615.165-1.el8.tgz
29/06 05:39:56 tar xzf chromium-112.0.5615.165-1.el8.tgz
29/06 05:39:56 sudo yum install -y chromium-112.0.5615.165-1.el8.x86_64.rpm chromium-common-112.0.5615.165-1.el8.x86_64.rpm
29/06 05:39:56
29/06 05:39:56 ERROR: Install missing or reinstall invalid packages and restart installation.
Here, you can see that there are two packages that needed to be installed. These are Chromium dependencies. The commands to resolve it are provided in Private Synthetic locations: ActiveGate installation/update failed because of missing dependencies.
Alternatively, you can just try updating all the Chromium and Engine dependencies using the commands relevant to your OS, found here.
Search the Synthetic installer log for ERROR
The explanation is usually beneficial.
For example:
18/11 14:46:15 Verifying installed software compatibility...
18/11 14:46:15 ERROR: chromium package is not in supported version, min version: 126. Installed version is 125.0.6422.76 (125)
18/11 14:46:15 ERROR: chromium-common package is not in supported version, min version: 126. Installed version is 125.0.6422.76 (125)
18/11 14:46:15
18/11 14:46:15 For a typical OS installation with a working Internet connection, use
18/11 14:46:15 the following commands to install required package(s):
18/11 14:46:15
18/11 14:46:15 sudo rpm -e chromium chromium-common
18/11 14:46:15
18/11 14:46:15 curl --remote-name https://synthetic-packages.s3.amazonaws.com/Chromium/rpm/chromium-140.0.7339.185-1.el9.tgz
18/11 14:46:15 tar xzf chromium-140.0.7339.185-1.el9.tgz
18/11 14:46:15 sudo yum install -y chromium-140.0.7339.185-1.el9.x86_64.rpm chromium-common-140.0.7339.185-1.el9.x86_64.rpm
18/11 14:46:15
18/11 14:46:15 ERROR: Install missing or reinstall invalid packages and restart installation.
18/11 14:46:15 Aborting installation...
18/11 14:46:15 Installation failed.
This error indicates that the Chromium version installed on the machine is lower than the minimum required for the ActiveGate version, and provides the necessary commands to install the required version.
Note:
The ActiveGate status will remain at Update Pending until the .sh files from the failed update are removed from the packages folder. After that, the update option will be available.
You can find further troubleshooting tips for Synthetic in the Synthetic Troubleshooting Map
Thank you @HannahM ,
My synthetic AG failed to update and the root cause was a timeout on the curl command.
The following recommendation solved the issue : Use a /.curlrc file to force curls to always use your proxy. https://reqbin.com/req/c-ddxflki5/curl-proxy-server
Thank you 👌