<?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: Failed to import webgisdr site failed to update database in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-import-webgisdr-site-failed-to-update/m-p/1612260#M42190</link>
    <description>&lt;P&gt;Just a thought:&amp;nbsp; Are you using the same service account and does the service account have access to all the folders where the three components are stored?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2025 23:57:54 GMT</pubDate>
    <dc:creator>LavanyaVasudevanNES</dc:creator>
    <dc:date>2025-05-06T23:57:54Z</dc:date>
    <item>
      <title>Failed to import webgisdr site failed to update database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-import-webgisdr-site-failed-to-update/m-p/1612251#M42189</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;
&lt;P&gt;we have created WEBGISDR site from production with backup_restore_mode =backup,&lt;/P&gt;
&lt;P&gt;now trying to import it in DR site(backup_restore_mode=backup) which has the same admin credentials,same arcgis enterprise version 11.1 and main site url ,services url is same in DR and PROD except admin urls internal loadbalancer urls.and content location is different&lt;/P&gt;
&lt;P&gt;All arcgis&amp;nbsp; servers are imported except portal Throws error "&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;InPortal(WEBGISDR log) : ” {"error":{"code":500,"details":null,"message":"Failed to import site. Failed to update the federated servers. Failed to update the database.."}}”&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In log found:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV&gt;Refresh service webhook processor http post response :{"status":"error","messages":["Server machine '&lt;A href="https://xyz:7443/arcgis/sharing/rest/community/self" target="_blank" rel="noopener"&gt;https://xyz:7443/arcgis/sharing/rest/community/self&lt;/A&gt;' returned an error. 'Invalid token.'"],"code":498}&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Server request cannot be verified for account: 0123456789ABCDEF ,Request url: xyz:7443/arcgis/sharing/rest/community/self Server Id : UnCvLIT3D0Qy9giG , Serverkey recieved 'true'.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Unable to validate Server request using 'serverKey', Request mode 'https', ServerKey recieved fec8d016e00a4d0fbf637b4876b128e7, Server SecretKey determined f4ceac19ecb84fff96935cc92b761acd.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;inPGSQL below error:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2025-05-04 10:15:04.426 PDT [1356] FATAL: no pg_hba.conf entry for host "::1", user "xyz", database "xyz", no encryption&lt;BR /&gt;2025-05-04 10:15:04.426 PDT [1356] DETAIL: Client IP address resolved to "PortalP2", forward lookup matches.&lt;BR /&gt;2025-05-04 10:15:31.757 PDT [1316] FATAL: no PostgreSQL user name specified in startup packet&lt;BR /&gt;2025-05-04 10:15:31.784 PDT [7940] FATAL: no PostgreSQL user name specified in startup packet&lt;BR /&gt;2025-05-04 10:15:36.034 PDT [9848] FATAL: no PostgreSQL user name specified in startup packet&lt;BR /&gt;2025-05-04 10:15:36.057 PDT [8908] FATAL: no PostgreSQL user name specified in startup packet&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;I Tried to modify file in pg_hba.conf file with line below but still same above error is thrown.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;same service account is used for both PROD and DR site&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;# PostgreSQL Client Authentication Configuration File&lt;BR /&gt;# ===================================================&lt;/P&gt;
&lt;P&gt;# TYPE DATABASE USER ADDRESS METHOD&lt;/P&gt;
&lt;P&gt;# IPv4 local connections:&lt;BR /&gt;host all all 0.0.0.0/0 trust&lt;BR /&gt;host replication all 0.0.0.0/0 trust&lt;BR /&gt;#host all GISUNPAdmin 127.0.0.1/32 scram-sha-256&lt;BR /&gt;#host replication GISUNPAdmin 127.0.0.1/32 scram-sha-256&lt;BR /&gt;# IPv6 local connections:&lt;BR /&gt;host all all ::1/0 trust&lt;BR /&gt;host replication all ::1/0 trust&lt;BR /&gt;#host all GISUNPAdmin ::1/128 scram-sha-256&lt;BR /&gt;#host replication GISUNPAdmin ::1/128 scram-sha-256&lt;/P&gt;
&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;&lt;STRONG&gt;05.14.25 Update:&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE style="font-weight: 400;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="623"&gt;
&lt;P&gt;The post is now resolved&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Solution:&lt;/P&gt;
&lt;P&gt;Two steps were performed&lt;/P&gt;
&lt;P&gt;1.unregister Standby portal server&lt;/P&gt;
&lt;P&gt;2.Change content directory Location from NAS Storage to Primary portal server C Drive default location&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run the Import WEGGISDR tool,it successfully imported Prod Portal and federated servers.&lt;/P&gt;
&lt;P&gt;Once import is done then I copied the content to nas storage and then joined the standby portal server .&lt;/P&gt;
&lt;P&gt;IT Worked greatly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="font-weight: 400;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 14:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-import-webgisdr-site-failed-to-update/m-p/1612251#M42189</guid>
      <dc:creator>MohammedAbdul</dc:creator>
      <dc:date>2025-05-14T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to import webgisdr site failed to update database</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-import-webgisdr-site-failed-to-update/m-p/1612260#M42190</link>
      <description>&lt;P&gt;Just a thought:&amp;nbsp; Are you using the same service account and does the service account have access to all the folders where the three components are stored?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 23:57:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-import-webgisdr-site-failed-to-update/m-p/1612260#M42190</guid>
      <dc:creator>LavanyaVasudevanNES</dc:creator>
      <dc:date>2025-05-06T23:57:54Z</dc:date>
    </item>
  </channel>
</rss>

