If your YugabyteDB Anywhere installation was installed using YBA Installer, use YBA Installer to upgrade to a newer version. Note that you can only upgrade to a newer version; downgrades are not supported.

For more information, refer to Compatibility with YugabyteDB.

If you are upgrading a YugabyteDB Anywhere installation with high availability enabled, follow the instructions provided in Upgrade instances.

Upgrading YugabyteDB Anywhere on deprecated operating systems

If you are running YugabyteDB Anywhere on a deprecated OS, you need to update your OS before you can upgrade YugabyteDB Anywhere to the next major release.

Upgrading YugabyteDB Anywhere on systems that have older versions of Python

YugabyteDB Anywhere v25.1 and later requires Python v3.10-3.12. If you are running YugabyteDB Anywhere on a system with Python earlier than 3.10, you will need to update Python on your system before you can upgrade YugabyteDB Anywhere to v25.1 or later.

Upgrade using YBA Installer

To upgrade using YBA Installer, first download the version of YBA Installer corresponding to the version of YugabyteDB Anywhere you want to upgrade to.

Download and extract the YBA Installer by entering the following commands:

wget https://downloads.yugabyte.com/releases/2.25.0.0/yba_installer_full-2.25.0.0-b489-linux-x86_64.tar.gz
tar -xf yba_installer_full-2.25.0.0-b489-linux-x86_64.tar.gz
cd yba_installer_full-2.25.0.0-b489/

When ready to upgrade, run the upgrade command from the untarred directory of the target version of the YugabyteDB Anywhere upgrade:

sudo ./yba-ctl upgrade

The upgrade takes a few minutes to complete. When finished, use the status command to verify that YugabyteDB Anywhere has been upgraded to the target version:

sudo yba-ctl status

If you encounter errors or have any problems with an upgrade, contact Yugabyte Support.

For more information about using YBA Installer, refer to Install YugabyteDB Anywhere.