【问题标题】:Cannot upgrade TFS to Azure DevOps Server 2019 because Sharepoint extensions are detected无法将 TFS 升级到 Azure DevOps Server 2019,因为检测到 Sharepoint 扩展
【发布时间】:2020-02-08 18:34:16
【问题描述】:

我已安装 TFS 2013 v. 5(试用版),我想将其升级到 Azure DevOps Server 2019。

但我得到了错误: “不支持从 Team Foundation Server 2013 直接升级。您必须先卸载 Team Foundation Server 2013,然后才能安装此版本的 Azure DevOps Server”。

我已使用 TFS 管理控制台删除了 TFS 应用程序层并重新启动了计算机。 控制台显示:“此功能已安装,但需要配置”。

安装日志包含:

[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12ExpressCoreVersionExists' to value 0
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12ServerCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12ServerCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12SharePointExtensionsCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointExtensionsCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointIsConfiguredExists' to value 0
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12StandardCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12StandardCoreVersionExists' to value 1
...
[1AB0:055C][2019-10-11T05:54:53]i000: Setting numeric variable 'RelatedBundleType_Upgrade' to value 1
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'CompatibilityMode = 0' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'RebootPending = 1' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT = v6.3 and (NTProductType = 2 or NTProductType = 3)) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(NOT D3DCompiler_47Exists) AND (VersionNT = v6.1 OR VersionNT = v6.2) AND (Not (NetFxFullRedist_InstalledReleaseExists AND NetFxFullRedist_InstalledRelease >= 461808))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NOT(((NTProductType = 2 or NTProductType = 3) and VersionNT >= v6.2) or (NTProductType = 1 and VersionNT >= v10.0))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NTSuitePersonal' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'VersionNT = v10.0 and WindowsBuildNumber < 14393' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TFSDev10ATInstalled32 or TFSDev10ATInstalled64 or TFSDev10ProxyInstalled32 or TFSDev10ProxyInstalled64' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND TfsDev11SharePointExtensionsCoreVersion < v11.0.50727' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.50727) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.51106)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.51106) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60223)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.60315) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60430)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.60610) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60830)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND TfsDev12SharePointExtensionsCoreVersionExists' evaluates to true.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND AzureDevOps2019ServerCoreVersionExists AND (AzureDevOps2019ServerCoreVersion > v17.153.29207.5)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND (AzureDevOps2019ServerCoreVersionExists AND (AzureDevOps2019ServerCoreVersion = v17.153.29207.5)) AND (AzureDevOps2019InstalledFlavorExists AND (NOT AzureDevOps2019InstalledFlavor = 4))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND ((TfsDev11SharePointIsConfiguredExists AND TfsDev11SharePointIsConfigured = 1) OR (TfsDev12SharePointIsConfiguredExists AND TfsDev12SharePointIsConfigured = 1) OR (TfsDev14SharePointIsConfiguredExists AND TfsDev14SharePointIsConfigured = 1) OR (TfsDev15SharePointIsConfiguredExists AND TfsDev15SharePointIsConfigured = 1))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NOT VersionNT64' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'AllowUpgradeFromPreMinimumMilestoneExists' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Configuring feed...
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Online feed url authoring not found
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.
[1AB0:055C][2019-10-11T05:54:54]i000: MUX:  Go to Blocker page.
[1AB0:055C][2019-10-11T05:54:54]i199: Detect complete, result: 0x0

这行可能是原因:

Condition '(CurrentOperation = "Install") AND TfsDev12SharePointExtensionsCoreVersionExists' evaluates to true.

它似乎正在检测已安装但未配置的 Sharepoint 扩展,可能来自注册表项:

[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointExtensionsCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointIsConfiguredExists' to value 0

我错过了什么?

【问题讨论】:

    标签: tfs azure-devops-server-2019


    【解决方案1】:

    你的日志说你:

    [1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.
    

    因此,您必须通过Control Panel-&gt;Uninstall a program 卸载 TFS 2013。在此之前检查您是否未配置 SharePoint 扩展:

    【讨论】:

    • 好的。在删除整个应用程序层之前,我可以尝试将服务器回滚到还原点。然后我可以检查是否有 Sharepoint 扩展...如果有,请先将其删除。我从未使用过该功能。
    • 我已经使用管理控制台删除了应用层。我认为这是合适的方式?我不想删除数据库等。
    • @Rugbrød 1) 在升级之前,您必须备份所有 TFS 数据库。 2) 如果您将使用Uninstall a program 删除 TFS,它不会触及您的数据库。
    • 在此线程stackoverflow.com/questions/51988662/… 他们说:“卸载 TFS 2013 不会更改数据库。您需要备份以防升级不起作用”所以看来备份只是一种预防措施.
    • @Rugbrød 是的,备份是我们的信心,如果有坏情况发生,我们会重复升级。
    猜你喜欢
    • 2021-06-28
    • 2013-05-08
    • 2020-08-28
    • 2019-12-07
    • 2020-10-06
    • 1970-01-01
    • 2020-07-13
    • 2020-06-04
    • 2021-06-10
    相关资源
    最近更新 更多