Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#96 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
elasticsearch, powershell
Lĩnh vực
devops, search

Hướng nghiên cứu

Bắt đầu với Azure_DevOps_Server_2022/TriggerCollectionIndexing.ps1 và các mục nhật ký dịch vụ collection cho thấy các lần cài đặt tiện ích mở rộng tìm kiếm không thành công. Tái hiện trạng thái nâng cấp trên Azure DevOps Server 2022.1 Patch 3 và xác minh rằng tiện ích mở rộng Code Search hiển thị phiên bản và lịch sử cài đặt của nó, đồng thời tính năng tìm kiếm mã hoạt động sau khi lập chỉ mục.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PowerShell
Star
57
Fork
68
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/Code-Search

Tất cả issue của microsoft/Code-Search

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.