English

Error: ArcGIS Server Upgrade step 2 of 2: Failed. Synchronize with site

Error Message

Attempting to upgrade ArcGIS Server fails, and clicking 'Continue Server Upgrade' returns the following error message:

Error:
ArcGIS Server Upgrade step 2 of 2: Failed. Synchronize with site

The error message returned when attempting to upgrade ArcGIS Server

Cause

  • The ArcGIS Server endpoint cannot be reached due to improper configuration of the server's security settings.
  • The ArcGIS Server account used during the upgrading process lacks the necessary permissions to the ArcGIS Server folders.

Solution or Workaround

Modify the security-config.json file to use the default server settings

  1. Stop the ArcGIS Server service. Refer to ArcGIS Server: Stop a service in Manager for the steps to do this.
  2. Navigate to the following directory:
C:\arcgisserver\config-store\security\security-config.json
  1. Open the security-config.json file using a text editor such as Notepad++.
  2. Modify the parameters in the code as follows:
    {
      "securityEnabled": true,
      "authenticationMode": "ARCGIS_TOKEN",
      "authenticationTier": "GIS_SERVER",
      "userStoreConfig": {
        "type": "BUILTIN",
        "properties": {}
      },
      "roleStoreConfig": {
        "type": "BUILTIN",
        "properties": {}
      },
      "sslEnabled": true,
      "HSTSEnabled": false,
      "httpsProtocols": "TLSv1.2,TLSv1.1",
      "cipherSuites": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA",
      "httpEnabled": true,
      "virtualDirsSecurityEnabled": false,
      "allowDirectAccess": true,
      "serverRole": "STANDALONE_SERVER"
    }
  3. Save the file and restart ArcGIS Server. Refer to ArcGIS Server: Start a service in Manager for the steps to do this.

Give permissions for the ArcGIS Server account to the necessary ArcGIS Server folders

Note:
Completing this workaround may require assistance from the organization's IT department

Provide permissions for the ArcGIS Server account to the ArcGIS Server folders in the following directories:

C:\Program Files\arcgis\server\
C:\Program Files\arcgis\server\framework\
C:\Program Files\arcgis\server\usr\
C:\Program Files\arcgis\server\bin\
C:\Program Files\arcgis\server\XMLSchema\
C:\Program Files\arcgis\server\DatabaseSupport\
C:\arcgisserver\ (or where the config-store and directories are located)
C:\arcgisdatastore\
C:\Program Files\ArcGIS\datastore\
C:\Python27

To provide permissions for the ArcGIS Server folders, follow the steps provided in the Solution or Workaround section of Error: The ArcGIS Server is not able to connect to the specified directory.

Related Information

Last Published: 12/3/2021

Article ID: 000026885

Software: ArcGIS Server 10.9.1, 10.9, 10.8.1, 10.8, 10.7.1, 10.7