Last Friday we installed Enterprise Sites 2 Patch on our 10.6.1 ArcGIS Enterprise instance and now it seems to be broken.
We have Portal and Server federated and Data Store. All software are installed in the same server machine on our network.
We use two different Web Adaptor one for Server (named: server ) and one for Portal (named: portal).
The patches we have already installed are:
Our server is exposed both on intranet and in public network with two different addresses and on the same machine there's the Internet Information Services (IIS).
At a first look the problem may be with the WEB Adaptor of Portal, when I call my portal address with my web adaptor (https://MachineName/portal/home) the browser is automatically redirect to https://MachineName:7443/arcgis/home accessed without web adaptor.
When I try to reach form outside my Server (https://MachineName/portal/home) I successfully do, but when I try to login the browser send me back:
And I'm not able to insert my credentials.
I'm able, instead to reach both admin interfaces of Portal and Server with webadaptor addresses.
The security configuration of the Server are:
When I look at webadaptor configuration in the HOST machine all seems to be OK
I also try to reconfigure the web adaptor but with no success.
Before the patch installation all seemed to be right ...
I must say, Honestly, that in the last week our IT made same changes in the network configuration (Proxy and Firewall), and probabilly from these changes we had not restart yet the portal and server services.
Before disinstall the patch or re-install webadaptor or review the federation, I ask for some helps.
You mentioned a proxy server. Is this a forward or reverse proxy?
If using a reverse proxy server, I would recommend checking with your IT department to make sure that the reverse proxy is properly configured to match the web adaptor name. For example, in the httpd.conf file, the ProxyPass and ProxyPassReverse directives need to include the web adaptor name. An example:
ProxyPass /arcgis https://webadaptorhost.domain.com/webadaptorname
ProxyPassReverse /arcgis https://webadaptorhost.domain.com/webadaptorname
Also, is the X-Forwarded-Host header properly set?
Lastly, check in the Portal Admin directory to ensure the WebContextURL property is set. Sign in to the Portaladmin directory as an administrator, then navigate to System > Properties > Update.
Make sure the WebContextURL is properly pointing to the reverse proxy server (see screenshot below).
Hope this helps!
For further reference:
I spoke with the IT and they told me that in the server machine there aren't proxy, but they made some address mapping in the configuration etc\hosts file.
when I applied the patch, Portal was restart and so the new configuration probably created the problem.
I found a precedent thread https://community.esri.com/thread/212190-web-adaptor-automatically-redirecting-to-portal-7443-url in which a similar problem was caused by the etc\hosts file.
As suggested in the thread I commented the new mapping in the file and restarted portal service, after the restarted I uncommented back the file.
The problem with the redirect was solved, but I have now another problem:
In the Portal home page I don't see any of the content item.
I see correctly Groups and Users but not Maps, Layers, Apps and other contents.
But If I browse to the correct URL of any ITEM I can fetch, and also the items are visible in ArcGIS PRO and if I search with Python API!
I tried to reindex the portal but nothing has changed!
After the Portal restart I had another issue with AD domain Users access, but I solved with the updating (without changing any parameter!) of the identity store in the portaladmin,
Any ideas about this problem?
Portal doesn't handle machine name changes too well, so that's likely causing at least the first problems. What does the index status show? You may need to rebuild the search index manually.
Thanks Jonathan for your reply
The index status seems to be good:
|Type||Count in store||Count in index|
I've just noticed that in the Portal Web interface:
But if I count the records in the gw_users table in Postgresql DB the result is 72, and in gw_items are 9545 ...
I've, any way, made a FULL Reindex and also made a content configuration update (.../portaladmin/system/content/configuration/update), but nothing has changed.
I've checked also .../portaladmin/system/directories and the folder paths in the server machine seem to be correct.
This is the CONTENT directory path:
In this directory I find, in items folder, my content.
In Portal's logs I don't find nothing can help to understand!!