These may be permissions for the account under which the agent runs. In BuildAgent \ Logs \ Upgrade.txt you can find this
Update Error: Failed to stop TeamCity Build Agent service. Verify that the TeamCity Build Service Agent has sufficient permissions to stop and start the service. java.io.IOException: Failed to stop TeamCity assembly agent service. Please verify that the TeamCity Build Service Agent has sufficient permissions to stop and start the service.
Despite the fact that the service works fine on the computer (windows in my case), it produces an error in this log, not the event viewer or it does not start, and disconnects from TeamCity when updating.
I gave higher privileges, and he began to work. +1 to the Lemtronix method if you do not want to limit the permissions of your service account.
Vinnie
source share