TC 2.0 BuildAgent Problems on Win/x64

Hi,

I've installed a build agent on a x64 machine. The agent runs, but it never appears in the agents tab on the web console. In the log I can see, that I continuously deletes update files, copies update files, stops and restarts.

What can I do?

Cheers,
Stephan

5 comments

I've uploaded to logs to ftp://ftp.intellij.net/.uploads/x62-agnt-logs.zip

Stephan Brenner wrote:

Hi,

I've installed a build agent on a x64 machine. The agent runs, but it
never appears in the agents tab on the web console. In the log I can
see, that I continuously deletes update files, copies update files,
stops and restarts.

What can I do?

Cheers,
Stephan

0

Hello Stephan,

Please, check if agent have write rights to it's installation folder.
Try to stop it, delete 'update', 'plugins', 'backup' directories and start
it again.

Thanks!

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I've uploaded to logs to
ftp://ftp.intellij.net/.uploads/x62-agnt-logs.zip

Stephan Brenner wrote:

>> Hi,
>>
>> I've installed a build agent on a x64 machine. The agent runs, but it
>> never appears in the agents tab on the web console. In the log I can
>> see, that I continuously deletes update files, copies update files,
>> stops and restarts.
>>
>> What can I do?
>>
>> Cheers,
>> Stephan


0

Hi Eugene,

I tried that. To be sure I gave 'Everyone' full permissions on the BuildAgent directory - but still the same situation. The service continuously stops, deletes update files, copies update files and restarts.

What else could be the reason for that? Do you need more information?

For me it would also be o.k. to disable that automatic updates. Is there a switch for that?

Regards,
Stephan

Eugene Petrenko wrote:

Hello Stephan,

Please, check if agent have write rights to it's installation folder.
Try to stop it, delete 'update', 'plugins', 'backup' directories and
start it again.

Thanks!

0

Stephan,

That really looks like a bug.
There isn't simple way to workaround it.
The hard way:

- Stop TeamCity server
- Unpack TeamCity/webapps/WEB-INF/lib/buildServerAgent.jar to temporary directory
- Find file MANIFEST.MF
- In this file, remove attibute "Implementation-Version"
- Pack TeamCity/webapps/WEB-INF/lib/buildServerAgent.jar from the temp directory.

After that auto-upgrade process should stop.
I'd appreciate if you enable debug on the build agent as described at
http://www.jetbrains.net/confluence/display/TW/HowtoDebug+problems

and attach log from build agent to Jira issue.

Kind regards,
KIR

0

Hi Kirill,

thank you very much. That worked.

I've created TW-2459 and attached the log files.

Regards,
Stephan

Kirill Maximov (JetBrains) wrote:

Stephan,

That really looks like a bug.
There isn't simple way to workaround it.
The hard way:

- Stop TeamCity server
- Unpack TeamCity/webapps/WEB-INF/lib/buildServerAgent.jar to temporary directory
- Find file MANIFEST.MF
- In this file, remove attibute "Implementation-Version"
- Pack TeamCity/webapps/WEB-INF/lib/buildServerAgent.jar from the temp directory.

After that auto-upgrade process should stop.
I'd appreciate if you enable debug on the build agent as described at
http://www.jetbrains.net/confluence/display/TW/HowtoDebug+problems

and attach log from build agent to Jira issue.

Kind regards,
KIR


0

Please sign in to leave a comment.