My Site is customized a lot and the my site database shows the below error.
Database is up to date, but some sites are not completely upgraded

My Site is customized a lot and the my site database shows the below error.
Database is up to date, but some sites are not completely upgraded

Hi @sajithgh,
Please try following script to fix database upgrade status:
Run SharePoint Management Shell as administrator, type following PowerShell:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Set this variable value accordingly
$DatabaseName = "content_database_name_here"
#Get the Database ID
$DatabaseID = (Get-SPContentDatabase -identity $DatabaseName).ID
#Update Content Database
Upgrade-SPContentDatabase -id $DatabaseID -Confirm:$false
Reference:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Before performing the step, we have to take the backup of the database right and also is there anything else also ?
Is there any impact after running the power shell command ?
Hi @sajithgh,
We should backup the database and then use PowerShell.
Upgrade-SPContentDatabase resumes a failed database upgrade or begins a build-to-build database upgrade. There is no impact after running the PowerShell command.
We could also type stsadm.exe -o localupgradestatus > upgradestatus.txt to identify what site collection was not upgraded.
Reference:
Hi @sajithgh,
You could try to run Config Wizard.
For more information, please refer to:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
5 people are following this question.