<?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: Data Store Not Validating in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1386075#M38721</link>
    <description>&lt;P&gt;did you add the IP of the server?&amp;nbsp; you didn't clarify.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 16:09:28 GMT</pubDate>
    <dc:creator>KThomasson</dc:creator>
    <dc:date>2024-02-23T16:09:28Z</dc:date>
    <item>
      <title>Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1071516#M30557</link>
      <description>&lt;P&gt;Our relational data store is no longer validating, and I'm not exactly sure what might have caused it to stop validating. We have previously been able to create hosted feature layers, use them in web maps, etc... without issue.&amp;nbsp; The Tile Cache data store is validating in Server Manager, which is on the same machine as the relational data store.&lt;/P&gt;&lt;P&gt;The Data Store does not validate in either Server Manager nor in Portal when validating the Hosting Server.&lt;/P&gt;&lt;P&gt;The error in the Portal logs is simply: Validation failed for hosting server.&lt;/P&gt;&lt;P&gt;The error in Server Manager when validating is a couple messages:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Exception in get user privileges Server Machine ".../arcgis/sharing/rest/community/self" returned an error: 'Invalid token.'&lt;/LI&gt;&lt;LI&gt;The connection property set was missing a required property or the property value was unrecognized. Bad login user.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I'm really not sure where to look and diagnose what went wrong.&amp;nbsp; I have tried running the "updatelicense" batch file that comes with the Data Store install, with no avail.&lt;/P&gt;&lt;P&gt;The only thing I can think of that may have changed in our Portal is that we demoted the initial admin account from an Admin to User, otherwise, I can't think of any configuration that would have changed.&lt;/P&gt;&lt;P&gt;I dug into the data store logs and this is the entry that seems to repeat when validating through Portal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_0-1624468985777.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/16705i8A12BB293D8B3B2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_0-1624468985777.png" alt="mpboyle_0-1624468985777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;System Info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Version: Enterprise 10.9&lt;/LI&gt;&lt;LI&gt;Multiple Machine Deployment --- all components on a dedicated server&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1071516#M30557</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2021-06-23T17:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1071633#M30563</link>
      <description>&lt;P&gt;Was able to solve our issue based on the error message in the screenshot within the original post.&lt;/P&gt;&lt;P&gt;In case anyone else has a similar issue, here's what I did:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Log into Data Store machine&lt;/LI&gt;&lt;LI&gt;Open Command Prompt&lt;/LI&gt;&lt;LI&gt;Within command prompt, change the active directory to: ...ArcGIS Program Install...\DataStore\tools&lt;/LI&gt;&lt;LI&gt;Ran the command: allowconnection *IP Address* *User Name*&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This added entries to the pg_hba.conf file, located at: ...Data Store Install...\arcgisdatastore\pgdata&lt;/P&gt;&lt;P&gt;The managed relational data store now validates in both Portal and Server Manager.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 18:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1071633#M30563</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2021-06-23T18:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1169184#M33049</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/189832"&gt;@mpboyle&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Have come across exactly the same problem post upgrading to v10.9.1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISUser6_1-1651219020596.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40166i5119C7548C8FC3FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISUser6_1-1651219020596.png" alt="GISUser6_1-1651219020596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISUser6_0-1651218991292.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40165i32568AEF9E984154/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISUser6_0-1651218991292.png" alt="GISUser6_0-1651218991292.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ArcGIS DataStore v10.9.1 was installed then setup and both relational and tileCache succeeded.&lt;/P&gt;&lt;P&gt;Then (same as yourself) AGM and Portal didn't validate?&lt;/P&gt;&lt;P&gt;Your solution:&lt;/P&gt;&lt;P&gt;"Ran the command: allowconnection *IP Address* *User Name*"&lt;BR /&gt;Was that the GIS Server URL &amp;lt;&lt;A href="https://gisserver.domain.com:6443" target="_blank"&gt;https://gisserver.domain.com:6443&lt;/A&gt;&amp;gt; or the IP Address of the AGS&lt;BR /&gt;and the Username for Portal e.g. siteadmin&lt;BR /&gt;&lt;BR /&gt;Typing &amp;gt;allowconnection /?&lt;BR /&gt;returns&lt;BR /&gt;"Usage: allowconnection hostname username [database]"&lt;BR /&gt;&lt;EM&gt;This doesn't relate to me?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Opened a Esri Support Case re this but not had a response after 2 days. Fortunately the problem is on the TST/Staging ArcGIS DB server where ArcGIS Data Store is installed.&lt;BR /&gt;&lt;BR /&gt;Chris Brown&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 08:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1169184#M33049</guid>
      <dc:creator>cpmgisuser</dc:creator>
      <dc:date>2022-04-29T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1172998#M33121</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/64079"&gt;@cpmgisuser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having same issue here after upgrade from 10.7.1 to 10.9.1 on Staging server. Development instance was sucessfully upgraded. Also, we noticed that in Staging the folder 'pgsql12.4' does not exist on datastore instalation directory.&lt;/P&gt;&lt;P&gt;Any luck with support team?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 19:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1172998#M33121</guid>
      <dc:creator>JoãoMartins1</dc:creator>
      <dc:date>2022-05-11T19:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1260076#M35189</link>
      <description>&lt;P&gt;Late to the party, but figured I'd drop some help for posterity here if they encounter issues like &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/64079"&gt;@cpmgisuser&lt;/a&gt;.&amp;nbsp; The behavior described by Chris happened because he only provided the name of the tool but not its required input arguments to PowerShell, so the tool tried to help out with a terse instruction.&lt;/P&gt;&lt;P&gt;To actually run allowconnection, be sure to provide its inputs as below (switching out my example ip and user, of course, which will be logged in the PG logs located at &lt;EM&gt;...\arcgisdatastore\logs\&amp;lt;machine name&amp;gt;\database&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;allowconnection "&amp;lt;ip e.g. 10.0.0.1&amp;gt;" "&amp;lt;user e.g. user_name&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 15:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1260076#M35189</guid>
      <dc:creator>ZackRobison</dc:creator>
      <dc:date>2023-02-21T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1305244#M36410</link>
      <description>&lt;P&gt;This worked for us. Just in case others is still encountering this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1305244#M36410</guid>
      <dc:creator>klandicho</dc:creator>
      <dc:date>2023-07-03T08:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data Store Not Validating</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1386075#M38721</link>
      <description>&lt;P&gt;did you add the IP of the server?&amp;nbsp; you didn't clarify.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 16:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/data-store-not-validating/m-p/1386075#M38721</guid>
      <dc:creator>KThomasson</dc:creator>
      <dc:date>2024-02-23T16:09:28Z</dc:date>
    </item>
  </channel>
</rss>

