【发布时间】:2018-07-24 04:07:45
【问题描述】:
我正在尝试通过 TFS2015 将 TFS2010SP1 升级到 TFS2017。我已将数据库移动到新服务器(使用迁移指南),现在我正在尝试升级到 TFS2015。 TFS 2015 升级安装程序在“数据层”上失败。日志信息如下:
[Info @19:18:29.404] +-+-+-+-+-| Running VerifyAllCollectionsAttached: Verifying that all team project collections are attached |+-+-+-+-+-
[Info @19:18:29.405]
[Info @19:18:29.405] +-+-+-+-+-| Verifying that all team project collections are attached |+-+-+-+-+-
[Info @19:18:29.405] Starting Node: VCOLLECTIONSATTACHED
[Info @19:18:29.405] NodePath : VINPUTS/Progress/Conditional/VPCUPGRADE/VCOLLECTIONSREACHABLE/VCOLLECTIONSATTACHED
[Info @19:18:29.408] Getting Reachable Collections
[Info @19:18:29.408] Reachable collections found: 8
[Info @19:18:32.558] Node returned: Success
[Info @19:18:32.558] Completed VerifyAllCollectionsAttached: Success
[Info @19:18:32.558] -----------------------------------------------------
[Info @19:18:32.559]
[Info @19:18:32.559] +-+-+-+-+-| Running VerifyCollectionsUpgradeable: Verifying that the team project collections are upgradeable |+-+-+-+-+-
[Info @19:18:32.559]
[Info @19:18:32.559] +-+-+-+-+-| Verifying that the team project collections are upgradeable |+-+-+-+-+-
[Info @19:18:32.559] Starting Node: VCOLUPGRADEABLE
[Info @19:18:32.559] NodePath : VINPUTS/Progress/Conditional/VPCUPGRADE/VCOLLECTIONSREACHABLE/VCOLUPGRADEABLE
[Info @19:18:32.563] Getting Reachable Collections
[Error @19:18:32.573] System.ArgumentNullException: Value cannot be null.
Parameter name: serviceLevel
at Microsoft.TeamFoundation.Common.TFCommonUtil.CheckStringForNullOrEmpty(String stringVar, String stringVarName, Boolean trim)
at Microsoft.TeamFoundation.Framework.Server.ServiceLevel..ctor(String serviceLevel)
at Microsoft.TeamFoundation.Admin.VerifyCollectionsUpgradeable.Run(ActivityContext context)
at Microsoft.TeamFoundation.Admin.Engine.AdminNode.RunNode()
at Microsoft.TeamFoundation.Admin.Engine.AdminNode.Run(String& message, Boolean& continueOnError)
[Error @19:18:32.573] Unhandled message not defined for task VCOLUPGRADEABLE:Verifying that the team project collections are upgradeable
[Error @19:18:32.581] TF400129: Error from readiness check: Verifying that the team project collections are upgradeable
[Info @19:18:32.581] Completed VerifyCollectionsUpgradeable: Error
我已经对我的所有 TFS 数据库运行“select * from sys.extended_properties”,它们都显示 TFS_SERVICE_LEVEL = "Tfs2010.SP1.KB2182621.P#1"
非常感谢任何有关如何进行或进一步诊断的建议。
请注意,这个问题是独一无二的,因为它不是询问如何从 2013 升级到 2017,而是专门针对升级过程中遇到的问题,当时他的升级安装程序抛出异常。
【问题讨论】:
-
@DanielMann,不是重复的。这个问题是问如何从 2010 年迁移到 2017 年,我知道如何。我要从 2010SP1 到 2015 年(可以在这里确认:blogs.msdn.microsoft.com/tfssetup/2015/09/10/…)问题是升级失败并出现异常,我不知道为什么
-
您在迁移之前分离了这些集合吗?您是否将它们迁移到受支持的 SQL Server 版本?
-
@DanielMann,已迁移到 Sql Server 2016 Standard SP1 CU7,所以是的,它是受支持的版本。不应该分离集合来升级。如果集合已分离,则升级将在上一步“VCOLLECTIONSATTACHED”中失败。这一步通过了,它找到了我所有的 8 个收藏。
-
您的目标是 TFS 2015 的哪些更新? TFS 2015.3 支持 SQL 2016,但早期版本不支持。