How to update AMP to the latest version

Updating the instance manager

Linux

On Linux, The AMP instance manager (ampinstmgr) is updated via your distributions package manager:

Ubuntu/Debian/deb-based

sudo apt update
sudo apt upgrade

This will update all packages on your system. If you want to only update AMP then replace the second command with:

sudo apt upgrade ampinstmgr

CentOS/Fedora/Red Hat/rpm-based

sudo yum update

This will update all packages on your system. If you want to only update AMP then run:

sudo yum update ampinstmgr

Windows

  • Make sure all instances are fully stopped. You can do this by running ampinstmgr stopall in the command prompt

  • Verify no AMP process are running in Task Manager and end them if so

  • Download a fresh copy of the installer and running the setup as an upgrade.

  • Due to issues with upgrades on Windows, it’s best to run the AMPSetup.msi installer a second time choosing the repair option to ensure all items are upgraded fully.

Updating your AMP instances

Windows and Linux

ADS can manage instances that are of a similar version, where all parts of the version number are the same except the last. For example ADS version 1.9.6.2 could manage an instance of version 1.9.6.0 or 1.9.6.4, but not of 1.9.7.0.

When you do upgrade instances, do so as the user running AMP (such as amp on Linux or AMP on Windows). On Linux, switch to the amp user by running sudo su -l amp.

You can run the following command line (on both platforms) to bulk-upgrade all of your AMP instances:

ampinstmgr upgradeall

Sometimes you may wish to only update ADS, and then use the web interface to upgrade instances via the right-click context menu:

ampinstmgr upgrade ADS

On Windows, it may be necessary to reboot the system after updating AMP.