26 September 2012

TeamCity Agent Has Unregistered

I recently upgraded my continuous integration server to TeamCity 7.1.1 on a 64bit Windows 7 box and ran into an issue with the Build Agent: on the Agents page it listed my agent as:

"Agent has unregistered (will upgrade)"

I tried:


The documentation suggests checking the logs so I did and indeed I have:

ERROR - r.agent.upgrade.UpgradeRunBase - Failed to start agent after upgrade: java.io.IOException: Failed to start TeamCity build agent service. Please check TeamCity build agent service user have enough permissions to stop and start the service.
java.io.IOException: Failed to start TeamCity build agent service. Please check TeamCity build agent service user have enough permissions to stop and start the service.

So I added the TeamCity user to admin group (http://youtrack.jetbrains.com/issue/TW-15843) just so that it could complete the upgrade and that worked.



1 comment: