Question

We have installed CU's for SharePoint and I've run psconfig to upgrade the environment. After running, the servers list as "No action required" and everything is well. Untill the next day... I checked CA again and the servers are once again listed with "Upgrade Available". Hmm, weird. Ok; ran the command again, same result. Next day: Upgrade Available again.

I checked with stsadm -o localupgradestatus and found out that one particular site collection (a root site collection) is listed because it requires an upgrade. But I don't know why its not being upgraded. Apparantly because of this single site collection, the entire farm is flagged as if it requires an update?

Was it helpful?

Solution

  1. I ran stsadm -o localupgradestatus to find out there were content database in need of upgrade.
  2. Then I ran Test-SPContentDatabase to find out what the problem with these DB's was. There were references to features which were already deleted on disk.
  3. So I removed those features using Powershell untill the Test-SPContentDatabase command did not return any more faults.
  4. After that I ran Upgrade-SPContentDatabase to upgrade the databases in question.
  5. Now stsadm -o localupgradestatus returned there was nothing left to upgrade.

This should clear the message that there is an upgrade available.

OTHER TIPS

  1. Restore this site collection on a separate test farm. Upgrade the content database and test farm matching it to your current farm. Take a backup again from the test farm and restore the site collection to your current farm. If your current farm is a production environment, till the time your site collection gets upgraded in the test farm, keep it on a read only state so that no new data is entered. Post restoration, you will perhaps need to run the check localupgrade status and it should show No action required.
  2. Verify the upgrade status of your content databases in your farm. Incase any upgrade is pending you need to the upgrade content database cmdlet.Run the check again and see the results.

I had the same issue and below activity helped me resolve it:

  1. Run the following in the SharePoint 2016 Management Shell to upgrade the compoments in the Central Administration database: Get-SPWebApplication | Get-SPContentDatabase | Upgrade-SPContentDatabase

  2. Run the SharePoint 2016 Products Configuration Wizard from the command line:
    PSConfig.exe -cmd upgrade -inplace b2b -wait -force -cmd applicationcontent -install -cmd installfeatures -cmd secureresources

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top