升级到TFS 2017更新3后,团队项目集合将无法启动

时间:2018-01-24 02:06:45

标签: tfs tfs2017

我使用服务器配置向导在我们的服务器上安装了TFS 2017 Update 3。该向导表示升级成功,但它发出了以下警告:

  

TF400109:排队Team Project Collection服务作业时发生错误。有关其他信息,请参阅日志文件。

以下是日志文件中的内容:

[Info   @20:25:00.970] +-+-+-+-+-| Running UpgradeExistingCollections: 
Queuing Team Project Collection Servicing |+-+-+-+-+-
[Info   @20:25:00.971] 
[Info   @20:25:00.971] +-+-+-+-+-| Queuing Team Project Collection Servicing 
|+-+-+-+-+-
[Info   @20:25:00.971] Starting Node: CQUEUESERVICING
[Info   @20:25:00.971] NodePath : 
Container/Conditional/Progress/CQUEUESERVICING
[Info   @20:25:01.001] Queuing Team Project Collection Servicing
[Error  @20:25:01.007] Error queuing poject collection upgrade
[Error  @20:25:01.019] 
Exception Message: Status Reason='Upgrading the Team Foundation Service 
Instance.' HostId='bfd035e2-4df0-4709-9aa2-fbf0c6aa14e4' Name='TEAM 
FOUNDATION' (type HostShutdownException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.HostProperties.ThrowShutdownException(Boolean isExternalRequest)
at Microsoft.TeamFoundation.Framework.Server.VssServiceHost.CheckShutdown()
at Microsoft.TeamFoundation.Framework.Server.DeploymentServiceHost.CreateContext(HostRequestType type, Boolean throwIfShutdown)
at Microsoft.TeamFoundation.Admin.ConfigureQueueCollectionServicing.Run(ActivityContext context)

[Info   @20:25:01.020] Node returned: Warning
[Warning@20:25:01.022] TF400109: An error occurred while queuing a Team 
Project Collection servicing job.  Please see the log file for additional 
information.
[Info   @20:25:01.031] Completed UpgradeExistingCollections: Warning
[Info   @20:25:01.031] -----------------------------------------------------

据我所知(尽管声音多么愚蠢),看起来升级过程无法升级收集数据库,因为它检测到进程本身正在运行。

我是TFS的总菜鸟。我在这里错过了什么?如何让我的项目集合再次在线?

1 个答案:

答案 0 :(得分:0)

似乎与Tfs_Configuration数据库有关。您是否有Tfs_Configuration数据库的备份。如果是,那么你可以尝试恢复它 - >取消配置TFS - >再次运行升级向导。

您可以在此类似主题中引用解决方案:TFS 2015 Update 1 - TF400109: An error occurred while queuing a Team Project Collection servicing job.

  
      
  1. 恢复Tfs_Configuration数据库(升级前)
  2.   
  3. 取消配置TFS。您可以通过运行" C:\Program Files\Microsoft Team Foundation Server 14.0\Tools\Tfsconfig setup /uninstall:all"来完成此操作来自elevate命令提示符。 (TFS 2017: %programfiles%\Microsoft Team Foundation Server 15.0\Tools有关详细信息,请参阅Manage TFS server configuration with TFSConfig。)
  4.   
  5. 重新启动Team Foundation Server管理控制台并尝试   再次使用升级向导配置TFS,即使用tfs_server.exe   然后升级选项。
  6.   
  7. 使用Team Foundation中的“配置备份”选项进行完全备份   控制台,因为恢复模式在升级期间变为简单
  8.