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?
Thanks!
Solved! Go to Solution.
the german support told me that there is no supported workaround for this fix.
If you got a support of esri contcact them or edit the url on your own.
We are experiencing the same problem. I believe it started after the portal machine disk got full. I don't understand how this shortname--FQDN thing will get rid of the word portaladmin/ in this url:
https://[fqdn of internal portal url]:7443/arcgis/portaladmin/sharing/rest/generateToken
In our case, this doesn't fix it. webgisdr export still fails. I have installed Enterprise patch 3 and followed the steps as suggested in the solution.
Can somebody please explain?
Sorry, @Anonymous User , I am not able to explain how this works, but did you see this post?
https://community.esri.com/t5/arcgis-enterprise-portal/webgisdr-backup-fails-with-quot-failed-to-generate-token-for/m-p/1041569/highlight/true#M10749
Thanks! I didn't read well enough. I missed the Home Application patch was required as well. After installing it, and doing the 'shortname-fqdn' thing, it seems to work!
Hello
I also encountered the same error after an upgrade to version 10.8.1
i followed all the post and advice but it didn't work.
the installation is on a Linux environment.
Beyond the Sites 3 patch, will another patch be released?
Thank you
You'll need to install the HA Rejoin patch, not the Sites 3 patch. The Sites 3 patch does not have the fix in it. Once you install the HA Rejoin patch, you can try the shortname workflow.
https://support.esri.com/en/Products/Enterprise/portal-for-arcgis/portal-for-arcgis/10-8-1#downloads...
Hi Jonathan I did the environment update and immediately after running all patches.
Since then the Backup hasn't worked anymore.
I haven't changed hostnames or configuration.
Before the upgrade backups in 10.8.0 were successful.
Go to https://portal.domain:7443/arcgis/portaladmin/machines/<machine name>, what is listed as the Admin URL? If it's https://portal.domain:7443/arcgis/portaladmin, then that's the issue (should not have "/portaladmin", should end in just "/arcgis") and follow the instructions in this comment to fix it:
Hi EricA
thanks for your intervention
the portal correctly reports the admin url https: // fqdn: 7443 / arcgis
The portal is in HA, also the second node correctly reports the admin url
@Oiligriv it sounds like this differs than the issue being discussed in this post. Can you please provide the exact error message that WebGISDR is returning? Ideally in debug mode (set in logback.xml in webgisdr folder directory).
Thank you