Updating Discovery to 3.2.0-Cloud/6.2.0
Updating to version 3.2.0
To update Discovery and Collector to version 3.2.0:
Update Discovery and the Collector via the Update tab (starting from v3.1.11) or update manually.
Update Discovery Agent to version 3.2.0
Configure the Agent Token for communication after the update as detailed below.
Configure the Agent Token
Run Discovery in settings mode (
Discovery.exe -s
)Navigate to the Service tab.
In the Agent Token field, add a secure token or select Generate token and then select Save token.
Copy the above token and navigate to the machine or node where the Agent is installed.
- Run the agent with
-token
parameter using one of the following methods:- Run
Discovery_Agent.exe -token
and paste the token you've copied earlier. - Run
Discovery_Agent.exe -token <AGENT_TOKEN_VALUE>
in a single command.
- Run
Check the logs to verify that the token has been saved.
C:\Program Files\Atlassian\Discovery Agent>Discovery_Agent.exe -token abe11ded-5270-4627-ac68-b98235f2f3fc New secure token has been saved
The Agent service automatically restarts.
Restarting Agent service... Agent service has been restarted successfully
Troubleshooting the update
You may see the following messages after you update to version 3.2.0.
Issue | Message |
---|---|
Agent Token was not set for Discovery and you are trying to collect data from the agents of force scans |
|
Agent is running on version 3.2.0 or lower |
|
Agent Token was not set on agent or is different from what was specified in Discovery |
|