The procedure to upgrade Artifactory depends on your installation type. We strongly recommend reading through this page before proceeding with your upgrade.
We recommend that you first review Artifactory Release Notes. Review the breaking changes, deprecated features and more.
Important
Make sure to use the same upgrade method (RPM, Debian, Docker, etc.) as the one you initially used to install Artifactory.
Before you upgrade Artifactory
To ensure you can restore your Artifactory and database in case you encounter any issues during the upgrade process, we strongly recommend that you make sure your system and database backups are up to date.
Warning
Before you upgrade Artifactory, you need to shut down the Artifactory service. Artifactory will not be online during upgrade. Factor in this downtime before you proceed with the upgrade.
Before upgrading, ensure that you specify the join.key
in the system.yaml
file. If you do not specify the join key in the system.yaml
file, the upgraded Artifactory node might fail to come up and will not be able to join the HA cluster. For information on system.yaml
configuration, see Artifactory System YAML.
Oracle
Artifactory 7.x requires a new setup to connect to an Oracle Database. For more information, see Configure Artifactory to use Oracle.
MySQL
Artifactory version 7.25.5 and later ships with an OpenJDK version that prevents connection that use TLS 1.0 or 1.1. You must explicitly enable these connections if you are unable to upgrade the database to version that supports TLS 1.2 or later. For more information, see Enabling TLS 1.0 and 1.1 for Connectivity with Older Databases.
Before upgrading Artifactory, refer to System Requirements for information on supported platforms, supported browsers and other requirements. To learn about the HA architecture, refer to System Architecture.
Artifactory Upgrade Versions
The upgrade instructions vary according to your version of the Artifactory.
Below Artifactory 6.10.x
From Artifactory 6.10.x onwards to Artifactory 7.x
From Artifactory 7.x to Artifactory 7.x
Artifactory HA Upgrade
Artifactory Upgrade with Xray
When more than one Artifactory instances are connected to a single Xray instance
When upgrading to the JFrog Platform, Xray must be connected only to a single Artifactory instance. If you have one Xray instance connected to more than one Artifactory instances, use one of the following options before proceeding with any upgrade.
Recommended
Keep one connected Artifactory instance to your single Xray instance, and upgrade the rest to version 7.x with newly installed Xray version 3.x instances. This option will require re-indexing the the additional Artifactory instances, and will cause some loss of configuration data. Learn More >
Install additional Xray version 2.x instances for each Artifactory instance that you have, and restore all MongoDB and PostgreSQL data. Continue to upgrade each Artifactory and Xray pairs to version 7.x and version 3.x. This procedure is only suggested if you must keep all your Xray configurations and easily reconfigure them in the new instances. Learn More >
Before you upgrade Xray
The Artifactory upgrade process might take a while to complete, you should consider enabling the Allow downloads when Xray is unavailable, and the Allow downloads of blocked artifacts checkboxes in the Xray Configuration page to prevent Artifactory from not being able to respond to user requests.
Installation Types
The install type is referenced as <type> in the different installation instructions below.
Subscription Type | Install Type | Download the Package |
---|---|---|
Pro Pro X Enterprise Enterprise+ | pro | |
Artifactory OSS | oss | |
JFrog Container Registry | jcr |
Upgrade Steps
The upgrade procedure involves the following main steps.
Default Home Directory / $JFROG_HOME
The default home directory is defined according to the installation type. For additional details, see System Directories.
$JFROG_HOME
represents the JFrog root directory containing the deployed product.
Download the package to upgrade (Linux Archive, RPM, Debian, Docker Compose, Helm).
Stop the current server
Extract/Install the package according to the installer distribution type.
Check the Migration Log and review system.yaml to validate the migration was successful (only for upgrading from v6.x).
Start the service using the start scripts or OS service management.
Check the Artifactory Log for the status of the service.