Build agent properties file accidentally overwritten
Hey,
I accidentally erased my build agent properties file on Ubuntu (overwrote it). Is there a way I can get this back? I know there is a unique token so not sure how to get this.
Thanks
Please sign in to leave a comment.
> I know there is a unique token so not sure how to get this.
The token is automatically generated and saved when the agent first connects to the server. If the token is missing, the agent will appear as an unauthorized agent.
- To Retrieve and Authorize the Agent:
1. Log in to your TeamCity web interface with an administrator account.
2. Navigate to Administration > Agents > Unauthorized Agents (or Agents > Connected Agents if the agent was previously authorized).
3. Look for your agent in the list and authorize it. The token will be automatically generated.
If it doesn't work, try to restart the agent and check it again.
Best Regards,
Tom