Upgrading from 1.2.5 to 1.2.5u1
- Export the full system into a zip file using the UI.
- Install Artifactory 1.2.5u1 into a new clean directory ($ARTIFACTORY_HOME).
- Extract the artifactory.config.xml from the root of the export zip and change the following:
http://www.jfrog.org/xsd/artifactory-v1_1_0.xsd
with:
http://www.jfrog.org/xsd/artifactory-v1_2_0.xsdand,
and,
<snapshotVersionBehavior>nonunique</snapshotVersionBehavior>
with:
<snapshotVersionBehavior>non-unique</snapshotVersionBehavior> - Replace the artifactory.config.xml in the zip with the one you just edited.
- Restart Artifactory.
- Re-import all your system from the updated zip file.

Future versions of Artifactory will handle schema changes automatically, to remove the hassle of having to manually update the config file.
Upgrading from 1.2.2 and from 1.2.5 RCs to 1.2.5
- Export all your existing repositories (or the full system if using a 1.2.5 RC) using the UI.
- Install Artifactory 1.2.5 into a new clean directory ($ARTIFACTORY_HOME).
- Edit $ARTIFACTORY_HOME/etc/artifactory.config.xml to reflect the repositories you have and any virtual repositories you wish to set up.
- Restart Artifactory.
- Re-import all your repositories using the UI.
Dealing with Invalid Repository Keys
Version 1.2.5 introduces minor changes to the XML schema used by artifactory.config.xml, thus, the easiest approach is to start with the artifactory.config.xml taken from a newly installed Artifactory and modify it as needed.
The most significant change is that repository keys need to be valid xml IDs. One of the implications of this is that keys cannot start with a number (for example, 3rdparty-releases is now an invalid name and needs to be replaced).
For backward compatibility with old POMs using old repository URLs (containing old invalid keys), you can activate repository mapping by specifying system-properties to Artifactory using the following convention: -Dartifactory.repo.key.subst.<old-invalid-id>=<new-valid-id>
Upgrading from 1.2.1 to 1.2.2
Standalone and Tomcat
The newer version of Artifactory contains again a full installation zip.
To upgrade without using any security settings closely follow these steps:
- Export all your existing repositories using the UI.
- Shutdown Artifactory.
- Remove/move aside the $ARTIFACTORY_HOME/data/jcr folder.
- Make a copy of your $ARTIFACTORY_HOME/etc/artifactory.config.xml file.
- Unzip the new verson and copy it over to $ARTIFACTORY_HOME.
- Replace the exiting $ARTIFACTORY_HOME/etc/artifactory.config.xml with the artifactory.config.xml copy you made earlier.
- Restart Artifactory.
- Re-import all your repositories using the UI.
On Unix it is recommenderd to reisntall the artifactoryctl script.
Updating the Deployed WAR file on Tomcat
While Tomcat is down, copy the new $ARTIFACTORY_HOME/webapps/artifactory.war file to Tomcat's webapps folder.
| Avoid hot-deploy and make sure to delete the extracted artifactory folder under Tomcats' webapps folder before copying over the war file. |
Upgrading from 1.2.0.x to 1.2.1
The newer version of Artifactory contains again the whole installation zip/tgz.
So, when unzipping a new verson, you need to keep the important subfolders of your Artifactory home:
| Folder | Description |
|---|---|
| etc | You need to keep your configuration files. The best way on Unix is to have a sym link for this folder (created by the default installation) |
| logs | Keep or delete, your choice |
| repos | You need to export your repositories and reimport them using the UI. After you imported your repositories you can safely delete this folder as it no longer exists in newer Artifactory releases. |
| backup | Better keep. |