<?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>topic Re: Not able to find webgisdr command in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1061915#M30307</link>
    <description>&lt;P&gt;FYI there's no need to explicitly set the JAVA_HOME environment variable. The issue is more related to:&lt;BR /&gt;&lt;BR /&gt;./webgisdr.sh: 5: [: x: unexpected operator&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;which is specific to differences between sh/bash:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming/3411061" target="_blank"&gt;https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming/3411061&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We made some changes to use a single equal sign, which should fix it without setting JAVA_HOME.&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 17:42:44 GMT</pubDate>
    <dc:creator>JonathanQuinn</dc:creator>
    <dc:date>2021-05-26T17:42:44Z</dc:date>
    <item>
      <title>Not able to find webgisdr command</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059529#M30203</link>
      <description>&lt;P&gt;Hello, I've been having an issue while trying to execute webgisdr. I am not able to find the correct command to run it. I've been using this documentation:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/linux/create-web-gis-backup.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/linux/create-web-gis-backup.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ ./webgisdr --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
bash: ./webgisdr: No such file or directory
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ ./webgisdr.sh --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
./webgisdr.sh: 5: [: x: unexpected operator
./webgisdr.sh: 29: ./webgisdr.sh: /bin/java: not found
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ cd ..
arcgis@ip-172-31-30-16:/arcgis/portal/tools$ ./webgisdr --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
bash: ./webgisdr: Is a directory
arcgis@ip-172-31-30-16:/arcgis/portal/tools$ webgisdr --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
webgisdr: command not found
arcgis@ip-172-31-30-16:/arcgis/portal/tools$ cd webgisdr/
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ webgisdr --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
webgisdr: command not found
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ webgisdr.sh --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
webgisdr.sh: command not found
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ nano webgisdr.sh
arcgis@ip-172-31-30-16:/arcgis/portal/tools/webgisdr$ ./webgisdr.sh --export --file /arcgis/portal/tools/webgisdr/exportgisdr.properties
./webgisdr.sh: 5: [: x: unexpected operator
./webgisdr.sh: 29: ./webgisdr.sh: /bin/java: not found&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 17:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059529#M30203</guid>
      <dc:creator>UalasRohrer</dc:creator>
      <dc:date>2021-05-19T17:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find webgisdr command</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059597#M30206</link>
      <description>&lt;P&gt;I have just realized that&amp;nbsp;$java_home is returning blank, that's why the&amp;nbsp;webgisdr is returning /bin/java: not found.&lt;/P&gt;&lt;P&gt;This ArcGIS Enterprise was installed with Cloud Builder for AWS and I have checked another stack that I have deployed using the tool and it also has the&amp;nbsp;$java_home blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can fix this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 19:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059597#M30206</guid>
      <dc:creator>UalasRohrer</dc:creator>
      <dc:date>2021-05-19T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find webgisdr command</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059639#M30212</link>
      <description>&lt;P&gt;It looks like ArcGIS Enterprise 10.8 Cloud Builder for AWS doesn't set environmental variables for Java and JRE. All I did to fix that was to set&amp;nbsp;$JAVA_HOME and the issue was fixed.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 19:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1059639#M30212</guid>
      <dc:creator>UalasRohrer</dc:creator>
      <dc:date>2021-05-19T19:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find webgisdr command</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1061915#M30307</link>
      <description>&lt;P&gt;FYI there's no need to explicitly set the JAVA_HOME environment variable. The issue is more related to:&lt;BR /&gt;&lt;BR /&gt;./webgisdr.sh: 5: [: x: unexpected operator&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;which is specific to differences between sh/bash:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming/3411061" target="_blank"&gt;https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming/3411061&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We made some changes to use a single equal sign, which should fix it without setting JAVA_HOME.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 17:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1061915#M30307</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2021-05-26T17:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to find webgisdr command</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1062703#M30336</link>
      <description>&lt;P&gt;Thank you, Jonathan. That helped too.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 01:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/not-able-to-find-webgisdr-command/m-p/1062703#M30336</guid>
      <dc:creator>UalasRohrer</dc:creator>
      <dc:date>2021-05-28T01:56:08Z</dc:date>
    </item>
  </channel>
</rss>

