Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Teamcity build agent in disconnected state

I am running teamcity on Linux server, and it was working completely fine. Once I reboot the server machine and it stopped working. I managed to start the teamcity server using runAll.sh command, but the build agent stays in "disconnected" state. The inactivity reason is being shown as 'server shutdown'. I tried to start the agent using 'agent.sh stop' and 'agent.sh start' but it does not seem to work. Could not get anything meaningful from the logs.

Kindly help.

Thanks

like image 899
Narain Mittal Avatar asked Jan 19 '26 01:01

Narain Mittal


1 Answers

Incase, if you modified the teamcity port then you'll need to change the build agent configuration files to reflect the new serverUrl value. You can find this setting in the C:\TeamCity\buildAgent\conf\buildAgent.properties file.

like image 155
Kunal Kapadia Avatar answered Jan 21 '26 07:01

Kunal Kapadia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!