Upgrade

URL:
https://<site-url>/upgrade
Methods:
POST
Required Capability:
Access allowed only with the default administrator role
Version Introduced:
10.5

Description

The upgrade operation is the first operation that must be invoked during an ArcGIS Server upgrade. Once the new software version has been installed and the setup has completed, the upgrade operation will be available. A successful run of this operation will complete the upgrade of ArcGIS Server. This operation is available only when a server machine is currently being upgraded. It will not be available after a successful upgrade of a server machine.

Request parameters

ParameterDetails

runAsync

A flag that indicates whether the operation must be run asynchronously. The default value is false.

Values: true | false

enableDebug

Introduced at 11.0. This parameter sets the log level for the upgrade process. If true, the log level is set to DEBUG during the upgrade, which can aid in troubleshooting issues related to the upgrade process. If false, the log level is set to VERBOSE during the upgrade process. The default value is false.

Values: true | false

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the upgrade operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/upgrade HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

runAsync=false&enableDeubg=false&f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.