AnsweredAssumed Answered

webgisdir.bat cannot create folder in SHARED_LOCATION

Question asked by agaxon on Oct 22, 2019
Latest reply on Oct 24, 2019 by agaxon

Running Portal for ArcGIS 10.5.1, on Windows 2016; no WebAdaptor, but using Enterprise and ArcGIS authentication on Portal

Have 2 federated servers behind a proxy as well and fullBackupSite operation fails on both. I've changed the logging level in which is in the same directory as webgisdr.bat, but I don't seem to get any other messages but FINER, SEVERE, and a few INFOs.


The first error (reported in a FINER statement seems to be after the call to getBaseBackkupTimeStamp; since it's a FINER message, not sure if this is actually a problem.

The main error is related to not creating a backup directory. I've confirmed that the account running the webgisdr.bat has write access to this directory. I've confirmed that the service account running Portal has access to this directory.

I'm also assuming the token is ok because there is no error after the getServerToken call


Question: Is the JSON response issue necessary to fix first?

Question: what other aspects of creating the backup folder should I explore?


Oct 22, 2019 3:11:32 PM com.esri.arcgis.webgis.util.WebGISUtil getBaseBackupTimeStamp
FINER: {"code":500,"messages":["Error while processing request. Internal error. JSON response not set."],"status":"error"}

Oct 22, 2019 3:11:33 PM com.esri.arcgis.webgis.util.WebGISUtil getServerToken

FINER: {"owningSystemUrl":"https://<portal_url_Proxy>/arcgis","fullVersion":"10.5.1","secureSoapUrl":null,"soapUrl":"","currentVersion":10.51,"authInfo":{"tokenServicesUrl":"https://<portal_url_Proxy>/arcgis/sharing/generateToken","isTokenBasedSecurity":true}}

FINER: {"owningSystemUrl":"https://<portal_url_Proxy>/arcgis","fullVersion":"10.5.1","secureSoapUrl":null,"soapUrl":"https://<federated_server_url_internal>/arcgis/services","currentVersion":10.51,"authInfo":{"tokenServicesUrl":"https://<portal_url_Proxy>/arcgis/sharing/generateToken","isTokenBasedSecurity":true}}


Oct 22, 2019 3:11:37 PM com.esri.arcgis.webgis.product.Server fullBackupSite
SEVERE: Failed to back up the ArcGIS Server.
Admin Url: https://<federated_server_url_Proxy>/arcgis/admin.
Oct 22, 2019 3:11:37 PM com.esri.arcgis.webgis.product.Server fullBackupSite
SEVERE: {"code":500,"messages":["Export operation failed. Failed to create the folder 'D:\\PortalBackupShare\\WebGISSite1571771489332\\server\\t4b1j9y2kxo2kw9t'."],"status":"error"}