|
Upgrading to New Agent Version
Note
|
|
This section is intended for AP Media Agent users upgrading to the latest version of the agent. Automatic upgrades are strongly recommended. Whether you are upgrading automatically or manually, the Media Agent will use the existing profile after the upgrade and will continue content downloads where the previous version of the agent left off.
|
|
|
|
Upgrading Automatically
Follow these steps to automatically upgrade any agent, including an agent running as a service.
-
On the dashboard, click an agent name to display the Manage Ingest Agent page. If your agent version is not the latest, you will see a notification in the top-right corner of the page:

-
Click Newer Agent Available - Click Here to Update to start an automatic upgrade.
Note
|
|
Automatic agent upgrades will likely only be successful if you are running the agent as the local Admin or root user.
|
|
|
|
Upgrading Manually
Important Upgrade Prerequisites
-
Record your AP Newsroom credentials. In AP Newsroom, take note of the user name and password.
-
Log out of AP Newsroom and restart your browser. If you have any active browsers logged into the AP Newsroom portal, log out, and then close and restart the browser.
Upgrade Steps
Shut Down and Back Up Agent
-
Shut down the previous version of the agent and make sure that it is not running.
If you are NOT running the agent as a service:
Do NOT stop ingestion from the dashboard if you want the new agent to restart ingestion automatically. Do ONE of the following to stop the agent process:
If you are running the agent as a service:
Important
|
|
|
|
|
|
-
Rename the current agent jar file to save a backup copy.
Log In to Newsroom and Download New Agent
-
In a web browser, go to AP Newsroom at https://newsroom.ap.org/ and sign in using the user name and password that you recorded before the upgrade.
-
Click at top left and choose AP Media API from the menu to display the configuration dashboard.
-
On the dashboard, click Download Agent and save the new agent jar file to the same folder where the previous agent jar file was located.
Restart Agent
If you are NOT running the agent as a service:
From the command prompt on Windows or with sudo on Mac or Linux:
-
Change to the directory where the agent jar file is located; for example, on Windows:
cd LOCATION_OF_AGENT
-
Run the following command:
java -Xms512M -Xmx1G -jar agent.jar
-
If you have not previously stopped ingestion from the dashboard, the agent restarts ingestion automatically. Otherwise, restart ingestion manually, either from the dashboard or from the Agent Management page on the local host.
If you are running the agent as a service:
Follow the steps for restarting the agent service.
|
|