Select to view content in your preferred language

ERROR [main] com.esri.arcgis.webgis.client.WebGISDR

207
3
a month ago
EdgarVazquez
New Contributor

Hello, team, for running the WebgisDR tool. We're having trouble. When running it, we get the following message:

Error [Main] com.esri.arcgis.webgis.client.webgisdr - Before using the Webgis DR utility, you should ensure that the user account that executes each ArcGis Enterprise software component has writing permission in the specified directory where backup copies are created. ArcGIS Server cannot write in the specified directory: \ Path Directory \ temp \ Webgissite1753894351094. Check that the Board of Directors exists and that the permits are correct and try again.

There are two virtual machines. The first (DataStore and ArcGIS Server) and the second (Portal and Web Adaptor). Two folders were created on the C: drive for the Server and Data Store. The folders have read and write permissions. Two users were tested: administrator and ArcGIS service user. The ArcGIS user was elevated to administrator. The first virtual machine can see the shared folder from the second, with full access. There is no network block, and it continues to send the message. They are not in a domain environment.

Thank you so much

0 Kudos
3 Replies
VenkataKondepati
Occasional Contributor

Hi @EdgarVazquez,

This error usually means you're not running WebGISDR from the correct location. Open the Portal for ArcGIS Command Prompt, go to the tools/webgisdr folder, and run it from there. Make sure the account has read/write access to the backup path. That should fix it.

Regards,
Venkat

 

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Hi @EdgarVazquez,

What do you have specified for the SHARED_LOCATION and BACKUP_LOCATION parameters in the webgisdr.properties file?  Since you have a distributed environment, this should be a share.  For example: 

\\\\portalserver\\temp

I typically specify the path for the SHARED_LOCATION and BACKUP_LOCATION.  Also, make sure the service account that is running the applications has read/write access to the share.

Service Account:

JakeSkinner_0-1754393877424.png

This account should be the same for each application.  Also, the user that is logged into the Portal server to execute the webgisdr should also have read/write access to the share.

 

0 Kudos
TimoT
by
Frequent Contributor

Just to clarify: BACKUP_LOCATION and SHARED_LOCATION don’t need to be the same, nor does BACKUP_LOCATION need to be a shared path. BACKUP_LOCATION simply refers to where the resulting webgisdr backup package is stored, and only the account running webgisdr requires write access.

That said, for simplicity, it's common for many to configure SHARED_LOCATION and BACKUP_LOCATION to the same location.

It looks like you've sanitized the file path in your error message, making it more difficult to assess precisely, but you noted creating separate folders on C: for Server and Datastore, which suggests the SHARED_LOCATION isn't configured appropriately. As Jake mentioned, the SHARED_LOCATION in distributed deployments must be a shared path with read/write access granted to the service accounts of each ArcGIS Enterprise component. 

One final clarifying question:

  • Are your Portal, Server, and Datastore using domain service accounts or local accounts? If local, do they all share the same service account username?
0 Kudos