Agent - Updated Linux user's PATH, agent doesn't see it

Ed Donahue III September 9, 2014

I recently updated the linux user's (that runs the bamboo agent) PATH and when I try to run a build the agent fails to locate any executable in the new PATH, but when I run the process manually on the agent server (as the linux user that runs the bamboo agent), it works just fine.

Do I need to restart the agent since I updated the PATH?

4 answers

1 vote
Ed Donahue III September 10, 2014

Bouncing the agent resolved the issue.

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2014

Hi Ed, 

Did you try to logout and login again from linux ?

P.S.: make sure when you login again the new path will be set up as expected.

 

Cheers, 

Renato

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2014

Since changing the PATH environment variable is related to changing a shell configuration file you need to restart the process in order to pick up the change.

0 votes
Ed Donahue III September 10, 2014

I also tried to add an executable to the Agent via the Admin console and that didn't help either.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events