The Portal Installation has been updated from 10.7.1 to 10.8.1.
I am not sure if webgisdr worked after update. But now I got the following error in the webgisdr log:
2021-02-26 12:53:32 ERROR [main] com.esri.arcgis.webgis.client.WebGISDR - Failed to generate token for Portal for ArcGIS. Verify that the credentials you entered are correct. Check the WebGIS DR utility logs and the Portal for ArcGIS logs for more information.
I double checked the password 🙂
In the logback.xml in the webgis directory I set the loglevel to DEBUG. After that I saw the following exception.
Caused by: java.lang.RuntimeException: The response returned HTTP status code 404. Requested URL: https://[fqdn of internal portal url]:7443/arcgis/portaladmin/sharing/rest/generateToken
I got the same response in a browser.
The url to the generateToken endpoint is:
https://[fqdn of internal portal url]:7443/arcgis/sharing/rest/generateToken
without the portaladmin directory
Did I miss something?
Solved! Go to Solution.
We are attempting this in our development environment today. Just want to clarify the name should change in the Portal Admin > Machines > Machine name. We have installed the Enterprise Sites 3 patch that was supposed to correct the behavior. We plan to:
Update the C:\Program Files\ArcGIS\Portal\framework\etc\hostname.properties file to the shortname
Restart the Portal
check the admin page for shortname
Change the short name back to the FQDN in the hostname.properties file
Check admin name again for FQDN
The german support team helped me out 👍
There is a (very unsupported) workaround for this bug.
Sign in to the Portal DB (gwdb) and update the Admin-URL of the Portal. (remove the directory portaldmin)
We're also hitting this exact issue at 10.8.1, but our Portal hostname has never changed. This is currently a HA Portal and the primary Portal admin URL shows as :7443/arcgis/portaladmin, while the standby shows as :7443/arcgis (checking from webadaptor.domain/webadaptor/portaladmin/machines page).
Is there any *supported* way to update the admin URL for our primary machine and remove the /portaladmin reference?