cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ShahbazKhan
Dynatrace Contributor
Dynatrace Contributor

Self Service Summary

 

When troubleshooting the dynatrace synthetic activegate installation we encountered the below error messages in the logs.

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Desktop

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Downloads

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Templates

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Public

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Documents

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Music

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Pictures

2023-12-22T10:23:37,604Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: Can't create dir /snap/chromium/x1/Videos

2023-12-22T10:23:37,630Z DEBUG [visitId=5][browser-gobbler-3] ChromeGobblerLogger: mkdir: cannot create directory ‘/snap/chromium/x1/.config’: Permission denied

 

These messages keep occurring even though the Synthetic ActiveGate works fine.

 

Root cause

 

These messages appear because of the missing home directory for the Synthetic user (dtuserag).
For security reasons, the installer does not create home directory when adding the user.
It is instead set to the root directory, where it doesn't have the permissions. 

Solution

 

Unfortunately, these messages are going to be displayed. Because of snap confinements, there are some warnings reported by Chromium, but they do not impact the monitor's executions.

 

However, it is possible to install the Active Gate and set a specific, existing user as the worker user. This user could have the home directory present.

/bin/bash Dynatrace-ActiveGate-Linux-x86-${VERSION}.sh --enable-synthetic USER=${CUSTOM_USER}

It is advisable to use the default user to have that extra level of security.

Version history
Last update:
‎04 Mar 2024 08:51 AM
Updated by: