Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
elasticsearch, powershell
領域
devops, search

調査の方向性

Azure_DevOps_Server_2022/TriggerCollectionIndexing.ps1 と、検索拡張機能のインストール失敗を示すコレクション サービスのログ エントリから開始します。Azure DevOps Server 2022.1 Patch 3 でアップグレード状態を再現し、Code Search 拡張機能にバージョンとインストール履歴が表示されること、およびインデックス作成後にコード検索が機能することを確認します。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
PowerShell
スター
57
フォーク
68
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/Code-Search のほかの issue

microsoft/Code-Search の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。