Comments (8)
I used to have reconfigure but it was easier to simply create a new folder and install a new agent. Delete the other one if needed. Details below.
Two options:
- create another one in another directory and wack the current agent directory (recommended and easiest)
- reconfigure the existing directory:
you just have to delete the .agent file. So:
rm .agent
If you're pointing to a new url, you'll likely want to cleanup some repos on disk (stuff in _work/build)
Note: If you're running as a service on osx, you need to stop it and uninstall the service. That will remove the plist. See the readme (svc.sh stop, svc.sh uninstall)
So, it's just easier to create a new folder, install the agent and configure. delete the old agent if not needed.
I'll update the readme.
from vso-agent.
I also have another issue when starting an agent on OS X. I tried on both my own and from another VSO to be an agent for the build process, but on both i get the response "Forbidden 403"
##[Error] 2015-06-09T17:14:26.132Z: Could not create an agent session. Retrying in 15 sec
##[Error] 2015-06-09T17:14:26.132Z: Failed Request: Forbidden(403) - https://xxx.visualstudio.com/_apis/distributedtask/pools/1/sessions
from vso-agent.
That means you didn't add the account to the agent pool service accounts (403 creating session to listen to queue).
On the main readme, there's instructions. There's also a video.
from vso-agent.
Oh sorry, I missed that part. It's working now 👍
from vso-agent.
np - I'll see if I can't make the error message/handling clearer. thx
from vso-agent.
Agent Started.
##[Error] 2016-08-10T17:19:23.834Z: Message Queue Error:
##[Error] 2016-08-10T17:19:23.834Z: Could not create an agent session. Retrying in 15 sec
##[Error] 2016-08-10T17:19:23.834Z: Message Queue Error:
##[Error] 2016-08-10T17:19:23.834Z: Failed Request: Forbidden(403) - Access denied. Digital Solutions needs Listen permissions for pool Default to perform the action. For more information, contact the Team Foundation Server administrator.
Could anyone please help? this is in premises Mac VM using VMWare.
from vso-agent.
@vdangwal - create another issue and fill out the template
from vso-agent.
@bryanmacfarlane Issue #316 has been created. Please let me know if you need any information.
from vso-agent.
Related Issues (20)
- Enable non interactive configuration and run HOT 2
- Credentials on cloning git submodules HOT 3
- Step with "Continue on Error" does not end if step fails HOT 4
- Agents failing | Invalid Configuration HOT 1
- raspberry3 HOT 7
- "Unauthorized" HOT 3
- Access Denied while trying to start the Agent. macOS VM HOT 10
- Release defination failing after upgrade a task HOT 1
- Secret variables are not masked in logs HOT 1
- Build agent (1.95.1 & 1.95.3) creates server workspace HOT 1
- Build Job got error: VS30063: You are not authorized to access HOT 1
- ANT faliure on VSTS agent HOT 2
- Basic authentication - typo HOT 1
- Build sources directory is not cleaned if it contains other Git repositories HOT 1
- svc script needs an option to set the user HOT 1
- No support for Red Hat Enterprise Linux 6.7 in the new agent HOT 2
- Task Group: Step with "Always Run" does not run if previous step fails HOT 2
- Mark repo as Archived
- VSTS Release Definition timeout value on Options tab
- Failed to extract zip (first step)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vso-agent.