Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code search Extension is not getting installed correctly on ADO Server 2022.1 Patch 3. #96

Open
Varaprasad91 opened this issue Jul 31, 2024 · 0 comments

Comments

@Varaprasad91
Copy link

Varaprasad91 commented Jul 31, 2024

Issue Definition:

=================

The extension itself when we checked, it is not showing the current version number and install history data.
When we search for code, it automatically switching to work item search
It appears the code search extension is not installed. (even if we remove it and reinstalled, the issue remains the same

Code search is not working after Azure DevOps Server Upgrade to 2022.1 patch 3

We have an issue with the Elastic Search Service after the upgrade of Azure DevOps Server:
Old version Azure DevOps Server 2020 Update 1 RC1
new version Azure DevOps Server 2022 Update 1 Patch 3

The Code, Work Item and Wiki Search was not working. We deleted the extensions from the server. Afterwards we installed it again, but the extensions are installed but the version is not visible if we open the admin page.

The Elastic Search itself is installed on a separate server and was updated with the new zip file from the Application Tier. The service is online and running and the link between Azure DevOps Server Administration Console to the Elastic Search Server worked without any issue.

Customer can install the Code Search Extension without any errors, but it is not really installed.

Customer has recently upgraded their ADO server to 2022 Update 1 Patch 3 from ADO server 2020 Update 1 RC1. After the upgrade, the search Code, Work Item and Wiki Search were not working.

Environment:

============

OS versions AT(s), DT(s), & SQL: AT

TFS Version (w\ patch lvl): Azure DevOps 2022 Update 1 Patch 3

product version: 19.225.34705.2

SQL Always On Y/N: No

of ATs: 2

of DTs: 1

Load Balancer Y/N: No

VM or Physical: VM

Installed on Azure IaaS or other cloud VM host? No

Troubleshooting:

===============

1.Uninstall the Azure DevOps Server 2022.1 with comes with Patch 3.

Update the patch version inside the registry of Windows because this was not removed automatically by the installation process.

Install Azure Devops Server 2022.1.. proceed to test that ADO2022.1 is working, along with Search. Might have to reindex.

Install Patch 1 -> Reboot

Install Patch 2 -> Reboot

Install Patch 3

  1. https://github.com/microsoft/Code-Search/blob/master/Azure_DevOps_Server_2022/TriggerCollectionIndexing.ps1

    we have followed the triggercollectionindexing is executed

After the reindexing of the collection Work Item search and Wiki search are working fine.

The extension itself when we checked, it is not showing the current version number and install history data.

However, the same thing works well in their pre-production or test environment.

We tried removing the extension and adding it back - captured Har trace

we also created new project collections (xml and inherited), the creation of the project collections resulted with some warnings.

The warnings are given below:

14:58:21.273] [Warning] ms.vss-workitem-searchonprem extension install failed with exception Microsoft.VisualStudio.Services.Gallery.WebApi.ExtensionDoesNotExistException: The requested extension 'ms.vss-workitem-searchonprem' doesn't exist.
[14:58:21.273] at Microsoft.VisualStudio.Services.Gallery.Server.Components.PublishedExtensionComponent.QueryExtension(String publisherName, String extensionName, String version, Guid validationId, ExtensionQueryFlags flags)
[14:58:21.273] at Microsoft.VisualStudio.Services.Gallery.Server.PublishedExtensionService.QueryExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version, ExtensionQueryFlags flags, String accountToken, Boolean useCache)
[14:58:21.273] at Microsoft.VisualStudio.Services.Gallery.Server.PlatformGalleryService.GetExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version, ExtensionQueryFlags flags, String accountToken)
[14:58:21.273] at Microsoft.VisualStudio.Services.ExtensionManagement.Server.InstalledExtensionService.InstallExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version)
[14:58:21.273] at Microsoft.VisualStudio.Services.ExtensionManagement.Extensions.ExtensionOperationStepPerformer.Install(IVssRequestContext requestContext, ServicingContext servicingContext, InstallExtenstensionStepData stepData)
[14:58:21.273] Installing extension ms.vss-wiki-searchonprem.
[14:58:21.290] [Warning] ms.vss-wiki-searchonprem extension install failed with exception Microsoft.VisualStudio.Services.Gallery.WebApi.ExtensionDoesNotExistException: The requested extension 'ms.vss-wiki-searchonprem' doesn't exist.
[14:58:21.290] at Microsoft.VisualStudio.Services.Gallery.Server.Components.PublishedExtensionComponent.QueryExtension(String publisherName, String extensionName, String version, Guid validationId, ExtensionQueryFlags flags)
[14:58:21.290] at Microsoft.VisualStudio.Services.Gallery.Server.PublishedExtensionService.QueryExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version, ExtensionQueryFlags flags, String accountToken, Boolean useCache)
[14:58:21.290] at Microsoft.VisualStudio.Services.Gallery.Server.PlatformGalleryService.GetExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version, ExtensionQueryFlags flags, String accountToken)
[14:58:21.290] at Microsoft.VisualStudio.Services.ExtensionManagement.Server.InstalledExtensionService.InstallExtension(IVssRequestContext requestContext, String publisherName, String extensionName, String version)
[14:58:21.290] at Microsoft.VisualStudio.Services.ExtensionManagement.Extensions.ExtensionOperationStepPerformer.Install(IVssRequestContext requestContext, ServicingContext servicingContext, InstallExtenstensionStepData stepData)
[14:58:21.290] Installing extension ms.vss-code-search.
[14:58:21.303] Step passed (with warnings): Install Feed Extension. Execution time: 46 milliseconds.
[14:58:21.303] [StepDuration] 0,0333

@Varaprasad91 Varaprasad91 changed the title Customer is facing issue with the code search indexing is not working in Server 2022.1 with comes with Patch 3. Code search Extension is not getting installed correctly on ADO Server 2022.1 Patch 3. Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant