<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Can't create dir /snap/chromium/x1/Documents error in vuc-browser.debug log in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Can-t-create-dir-snap-chromium-x1-Documents-error-in-vuc-browser/ta-p/238778</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Self Service Summary&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When troubleshooting the Dynatrace Synthetic ActiveGate installation we encountered the below error messages in the logs.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;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&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These messages keep occurring even though the Synthetic ActiveGate works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Root cause&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;These messages appear because of the missing home directory for the Synthetic user (dtuserag).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For security reasons, the installer does not create home directory when adding the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is instead set to the root directory, where it doesn't have the permissions.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Solution&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is possible to install the ActiveGate and set a specific, existing user as the worker user. This user could have the home directory present.&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;PRE&gt;/bin/bash Dynatrace-ActiveGate-Linux-x86-${VERSION}.sh --enable-synthetic USER=${CUSTOM_USER}&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;It is advisable to use the default user to have that extra level of security.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 10 Jul 2024 14:21:09 GMT</pubDate>
    <dc:creator>ShahbazKhan</dc:creator>
    <dc:date>2024-07-10T14:21:09Z</dc:date>
    <item>
      <title>Can't create dir /snap/chromium/x1/Documents error in vuc-browser.debug log</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Can-t-create-dir-snap-chromium-x1-Documents-error-in-vuc-browser/ta-p/238778</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Self Service Summary&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When troubleshooting the Dynatrace Synthetic ActiveGate installation we encountered the below error messages in the logs.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;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&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These messages keep occurring even though the Synthetic ActiveGate works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Root cause&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;These messages appear because of the missing home directory for the Synthetic user (dtuserag).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For security reasons, the installer does not create home directory when adding the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is instead set to the root directory, where it doesn't have the permissions.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Solution&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is possible to install the ActiveGate and set a specific, existing user as the worker user. This user could have the home directory present.&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;PRE&gt;/bin/bash Dynatrace-ActiveGate-Linux-x86-${VERSION}.sh --enable-synthetic USER=${CUSTOM_USER}&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;It is advisable to use the default user to have that extra level of security.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Jul 2024 14:21:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Can-t-create-dir-snap-chromium-x1-Documents-error-in-vuc-browser/ta-p/238778</guid>
      <dc:creator>ShahbazKhan</dc:creator>
      <dc:date>2024-07-10T14:21:09Z</dc:date>
    </item>
  </channel>
</rss>

