WebGISDR Failing on export and import with permissions issues

476
5
11-02-2019 12:33 PM
Highlighted
New Contributor II

Hi,

I'm trying to both export and import a webgisdr and it continues to fail when I've triple checked the admin and service account running portal, server and datastore all have permissions on the backup directories. This is the error I see:

{"error":{"code":500,"details":null,"message":"Cannot write to directory path 'D:\\WebGISDR\\WebGISSite1572722942288\\dataStore\\14fedebe-2029-4ad8-b5d3-6d33c1a18a23'. Please check that the location is valid and that the ArcGIS Data Store account has permissions to the location."}}

Does anyone have any guidance on this? I'm using ArcGIS Enterprise 10.6.1 on a windows 2016 server.

Thanks!

5 Replies
Highlighted
New Contributor II

Did you find a solution?  Seems to be the same issue I have.

Reply
0 Kudos
Highlighted
Occasional Contributor II

Jeff, 

Did you check to confirm that the arcgis account (or whatever account your're using for the services) has permission to write to the specified output directory?

--Tim

Reply
0 Kudos
Highlighted
Esri Frequent Contributor

If any of the components are on different machines, then the SHARED_LOCATION must be a shared path, not a local path. The BACKUP_LOCATION can be local as long as there's enough space to hold the backup file. The time it takes to zip the backup will also be shorter if it's packaged locally.

Highlighted
New Contributor III

Hi Jonathan,

I have the same issue. I tried exactly the same as you explained but no luck.

The error message I have is as below;

"code":500,"details":null,"message":"Failed to export site. Failed to create the folder

However, I noticed that the backup utility creates the backup folder this way "WebGISSite1234567891236" > "datastore", "portal", "server > kocjnf3ojagyagzw" but when WEBGIS DR utility stops all the backup folders are removed automatically.

I'm on ArcGIS Enterprise version 10.8.

Any assistance will be highly appreciated. 

Thanks

Abdul 

Reply
0 Kudos
Highlighted
Esri Frequent Contributor

Do you have a distributed setup, for example Portal, Server, and Data Store on separate machines?

What account is used to run the Portal, Server, and Data Store services? What account are you using to run the WebGIS DR tool?

All components need to be able to write to the SHARED_LOCATION path. If the components are on separate machines, it must be a UNC path and the account used to run the components must be able to write to the share. A domain account is best used in that scenario.

Reply
0 Kudos