Check the Artifactory version to ensure that it matches the version you intended to upgrade to.
$ curl -u<admin-user> https://<artifactory_url>/api/system/version
$ curl -u<admin-user> https://<artifactory_url>/api/system/version