NOTE: These steps are applicable for all TFS versions where Search is supported. Hence, replace \Azure DevOps Server 2019\ with the appropriate TFS version folder based on your current installation.
- Uninstall the incorrect extensions for each of the collection where it's already installed. For that, follow the guidelines mentioned in this blog. It is important to get the database into a clean state before we can proceed with the extension install.
- Go to the local gallery management page: http://<serverurl>/tfs/_gallery/manage and upload new extension.
- Choose the VSIX package from \Program Files\Azure DevOps Server 2019\Tools\Deploy\TfsServicingFiles\Extensions for the correct entity (Code, WorkItem, WIKI) -
- "\Program Files\Azure DevOps Server 2019\Tools\Deploy\TfsServicingFiles\Extensions\Microsoft.TeamFoundation.Extension.Search.Web.Code.vsix"
- "\Program Files\Azure DevOps Server 2019\Tools\Deploy\TfsServicingFiles\Extensions\Microsoft.TeamFoundation.Extension.Search.Web.WikiOnPremises.vsix"
- "\Program Files\Azure DevOps Server 2019\Tools\Deploy\TfsServicingFiles\Extensions\Microsoft.TeamFoundation.Extension.Search.Web.WorkItemOnPremises.vsix"
- Once the vsix package is uploaded, verify that the extension shows up in the local gallery page i.e. http://<serverurl>/tfs/_gallery
- Install the specific extension for a collection from the local gallery.
If the Search still does not work as expected post that, try the Repair-Search script for further troubleshooting and mitigation.