Fix the “SPUpdatedConcurrencyException” that appears in the upgrade logs when running PSCONFIG

Scenario: You installed upgrade binaries on your  SharePoint 2010 farm and you run the following command to upgrade the farm: psconfig –cmd upgrade –inplace b2b –wait –force. Afterwards, the upgrade fails and you get the following error in the upgrade logs:

Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException was thrown. Additional exception information: An update conflict has occurred, and you must re-try this action.

Solution:

1. run: stsadm -o setproperty -pn command-line-upgrade-running -pv no
2.  perform an IISReset
3. Restart the SharePoint 2010 Timer (OWSTIMER)
4. run the command again: psconfig –cmd upgrade –inplace b2b –wait –force