ERROR

webgisdr error {"code":500,"messages":["Export operation failed. There is not enough space on the disk"],"status":"error"}

Last Published: April 25, 2020

Error Message

When running the webgisdr utility or the ArcGIS Server admin export site operation, the following error is encountered:

Error:   
{"code":500,"messages":["Export operation failed. There is not enough space on the disk"],"status":"error"}

Cause

If the ArcGIS Server data being exported is larger than the space available on the C:\ drive, the export fails. Although it may be determined that enough space is available, it is often not known that ArcGIS Server uses a temporary location to build the export. With the export operation and a properties file to create a backup of ArcGIS Enterprise, the backup for each component is placed in a temporary directory on each component's machine before being moved to the shared directory that is specified. Therefore, the following directories must be large enough to contain the backup of each component:

  • Portal for ArcGIS: <Portal_content_directory>\temp
  • ArcGIS Server: C:\Users\<user>\AppData\Local\Temp
  • ArcGIS Data Store: <ArcGIS_Data_Store_directory>\temp

The ArcGIS Server temporary location is, by default: C:\Users\<user>\AppData\Local\Temp

Some organizations do not have adequate space in the C: drive since it is specifically reserved for the operating system. Therefore, if the ArcGIS Server data being exported is larger than the available space on the drive, the export fails with the aforementioned error.

Solution or Workaround

Move the temp folder to another drive or location that has enough space. Make sure the ArcGIS Server account has read and write access, at minimum, to the new drive location.

Warning:   
The instructions below include making changes to your ArcGIS Server Windows account's TEMP environment variable. Consult a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.

To change the location of the System Temp folder, follow the instructions provided below.

  1. Log in to the server machine as the Windows account that administers ArcGIS Server.
  2. Right-click Computer and click Properties.
  3. Click Advanced system settings on the left panel.
  4. In the System Properties dialog box, click the Advanced tab.
  5. At the bottom of the dialog window, click Environment Variables.
User-added image
  1. In the variable value edit box, specify the path to the directory for ArcGIS Server to temporarily compile its backups.
  2. Repeat that process for both the TMP and TEMP user environment variables.
  3. Restart Windows for the new settings to take effect.
User-added image

Article ID:000018777

Software:
  • Enterprise

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic