Agent has unregistered (will upgrade)
Answered
I'm trying to evaluate teamcity and i cannot for the life of me figure out this problem. I have tried everything i can find on the internet and in the forums here. I can't figure out how to attach log directly here, so i used the webform upload.
2020_07_08_3w224P29gefbMwp9
That's the id, logs-agent.zip and logs-server.zip
Thank you!
Please sign in to leave a comment.
Hi,
I've been looking over your logs, thank you for taking the time to upload them. The update process does not appear to be working properly for some reason. The issue is that the build agent does not find the required plugins, so it downloads them from your TeamCity server. This part seems to be working:
We can see the plugin is downloaded successfully. However, during the upgrade, the file copy is skipped for unknown reasons. I have not seen before:
Since the file copy was skipped, it subsequently is not found on the next build agent startup following the update:
Can you please tell me if you used the Windows installer or the ZIP to install this agent and are you running it as a Windows service? Does the user which runs the agent have enough permissions to copy files to the destination?
Thanks,
Eric
Hi Eric,
Thanks for the insight, the issue makes sense now!
I used the installer. It is running as a windows service and both the agent and server on the same pc. I have uninstalled and reinstalled using both the "system" account and our administrator account, I saw that message on each attempt.
Orginally I installed it on another drive (not the c:\), thinking that might be the issue, but then i tried to install it on the desktop this last time, same result as you can see.
I had also tried running the agent.bat file using an elevated command prompt, but same thing.
I had also gone to the folder properties and verified the system and admin account have full read/write privileges to this folder.
BTW, It is running on a windows server 2012 R2, although that shouldn't affect what we are seeing.
Should i just try to copy them manually?
Thank you!
Hi Eric,
Copying the files manually did not seem to do the trick.
Got any more ideas?
Thanks!
I have not been able to replicate your issue. Can you tell me if this file exists? <build agent home>\conf\teamcity-upgrade-error.log
Anyone got a workaround for the above issue?
I have same issue with TeamCity Professional 2020.2.3 (build 86002) on windows 10 platform.
I am not sure what happened to this case, the OP never reported back. Are you seeing the same errors in your agent logs?