Code search Extension is not getting installed correctly on ADO Server 2022.1 Patch 3.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
从 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
-
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/Code-Search 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
microsoft/Code-Search#122 ·
-
难度 5/5 一周以上 新手友好度 25/100
microsoft/Code-Search#98 · 2 条评论 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 15/100
microsoft/Code-Search#97 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 30/100
microsoft/Code-Search#95 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
microsoft/Code-Search#93 ·
查看 microsoft/Code-Search 的全部 Issue
相似的 Issue
-
task
难度 2/5 1-3 小时 新手友好度 70/100
vsanthanam/JBird#429 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
alexgorbatchev/simple-ptt#14 ·
-
github-request
难度 2/5 1-3 小时 新手友好度 65/100
openedx/axim-engineering#1758 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·
-
难度 2/5 1-3 小时 新手友好度 75/100