ARTIFACTORY: Fixing the error: ‘The execution name 'verifyCompatibility' could not be found’
During a migration from Self-Hosted JFrog Artifactory to JFrog Cloud when the Self-Hosted setup is a Helm Installation,
the below errors might raise when attempting to execute the command:
$ jf rt transfer-files source-server target-server
[artifactory@user ~]$ ./jf rt transfer-files source-server target-server --prechecks
11:43:25 [🚨Error] server response: 404 Not Found
{
"errors": [
{
"status": 404,
"message": "The execution name 'verifyCompatibility' could not be found."
}
]
}
The error above indicates that the plugin wasn't loaded properly on the source Artifactory. To mitigate the issue, we suggest manually installing the plugin, instead of using the command
'jf rt transfer-plugin-install source-server’
Manually install the plugin by following these steps:1. Download these two files from a machine that has internet access:
- Download data-transfer.jar from https://releases.jfrog.io/artifactory/jfrog-releases/data-transfer/[RELEASE]/lib/data-transfer.jar
- Download dataTransfer.groovy from https://releases.jfrog.io/artifactory/jfrog-releases/data-transfer/[RELEASE]/dataTransfer.groovy
2. Place the data-transfer.jar file under $JFROG_HOME/artifactory/var/etc/artifactory/plugins/lib
3. Place the data-transfer.groovy file under $JFROG_HOME/artifactory/var/etc/artifactory/plugins
4. Run the Reload Plugins REST API