Command-line-upgrade-running : propriété Stsadm (Office SharePoint Server)
Description
Specifies whether the upgrade process has already been started. The PSConfig tool checks this property before allowing upgrade to continue. For additional information on the PSConfig tool, see Référence de la ligne de commande pour l’Assistant Configuration des produits et technologies SharePoint (Office SharePoint Server).
For example, if an upgrade is started using the stsadm command line tool, you will not able to start another upgrade process from the user interface. If you try to start a second instance of upgrade, the following error message will be displayed:
“Unable to upgrade SharePoint Products and Technologies because an upgrade is already in progress. Upgrade progress can be monitored using the Central Administration Web Application or by monitoring the upgrade log on server "X"." (where "X" is the name of the server that initiated the upgrade process).
Syntax
stsadm -o setproperty
-propertyname command-line-upgrade-running
-propertyvalue {Yes | No}
[-url] <https://server_name>
The syntax for the getproperty operation is:
stsadm -o getproperty
** propertyname command-line-upgrade-running**
[-url] <https://server_name>
Remarque : |
---|
You can substitute -pn for -propertyname and -pv for -propertyvalue. |
Property values
The following table shows possible values.
Name | Value |
---|---|
propertyname |
Gets or sets the name of the property. |
propertyvalue |
Yes: Checks to see if an upgrade process is running. This is the default setting. No: Does not check to see if an upgrade process is running. |
url |
Typically, a path to the URL of the Web application, in the form http://*server_name*. |
Examples
To not check whether an upgrade process is already running, use the following syntax:
stsadm -o setproperty -pn command-line-upgrade-running -pv No