If your YugabyteDB Anywhere (YBA) 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 YBA on deprecated operating systems

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

Upgrade using YBA Installer

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

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

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

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

sudo ./yba-ctl upgrade

The upgrade takes a few minutes to complete. When finished, use the status command to verify that YBA 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.