Need help on downgrading from Artifactory 4.7.1 pro to 3.4.0 pro
We are currently running artifactory 3.4.0 pro and have a plan to upgrade to latest 4.7.1 pro
the upgrade seems to be fine, but as a back out process when trying to go back to old version(3.4.0) we are facing hard time.
1) Took backup from Artifactory GUI "Backups-> backup-evrything" to a location say(/scartch/backup/)
2) run mysqldump of artdb >(/scratch/backup/)
3) run rsync from datastore location(storage.properties) to /scratch/backup/data/
4) swap the artifactory.war.3.4.0 to artifactory.war.4.7.1
this gives us
2016-04-07 15:00:14,973 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:96) - Application could not be initialized: null
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:193) ~[artifactory-web-application-3.4.0.jar:na]
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$1(ArtifactoryContextConfigListener.java:180) ~[artifactory-web-application-3.4.0.jar:na]
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:92) ~[artifactory-web-application-3.4.0.jar:na]
Is the back out process we are following needs to be changed?
For workaround i'm reinstalling the 3.4.0 rpm and importing the dumped mysql, which brings back to old state.
upgrade process followed:-
we are just swapping the artifactory.war from 3.4.0 to 4.7.1 that is working fine as expected
Re: Need help on downgrading from Artifactory 4.7.1 pro to 3.4.0 pro
The downgrade procedure is to make a backup/system export of the 3.4.0 version before upgrading. If you need to revert you can use a Full System Import to import your old data and artifacts. Replacing a newer .war file for an older one won't work because the schema changes from version to version. Your workaround is a perfectly fine way of doing it.