Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity Agent Missing DotNetFramework4.0_x86, but not?

I've been trying to move our TeamCity install from an old server onto a new Windows Server 2008 R2 server, I've finally got everything configured. However the build agent is saying that DotNetFramework4.0_x86 isn't available on the build agent, but .NET 4.0 framework is installed.

Has anyone come across this issue, is it a Windows Server 2008 R2 thing?

like image 612
Tom Bell Avatar asked Sep 07 '11 08:09

Tom Bell


1 Answers

Your build agent seems to failed to autoupgrade. Do the following:

  • stop agent
  • kill all java processes
  • remove agent/system, agent/plugins, agent/tools folders
  • start agent service
  • wait for agent to update. This could take 5-10 minutes and build agent service may be shown as stopped.
  • check agent/logs/update.log for errors

Please attach agent/logs folder to [email protected]

Make sure build agent running windows service user account has rights to start/stop agent service and update all files under build agent installation directory

like image 56
Eugene Petrenko Avatar answered Nov 15 '22 10:11

Eugene Petrenko