"Failed to export from: Failed to create export Directory" error when you export Artifactory repository data using jFrog in vRCS
search cancel

"Failed to export from: Failed to create export Directory" error when you export Artifactory repository data using jFrog in vRCS

book

Article ID: 313584

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • vRealize Code Stream cannot export data from the Artifactory repository when you use the Artifactory import & export tool.
  • You see an error:

    Failed to export from: Failed to create export Directory


Environment

VMware vRealize Code Stream 2.1.x
VMware vRealize Code Stream 2.2.x

Cause

This issue occurs when the target destination for the exported data does not have the appropriate permissions.

Resolution

To resolve the issue:
 
  1. Connect to vRealize Code Stream appliance through SSH using root credentials by running this command:

    ssh root@ VRCS_APPLIANCE
     
  2. Create a folder on the vRealize Code Stream appliance by running this command:

    mkdir /var/temp/artifactory
     
  3. Grant ownership rights to the user named artifactory on the target folder by running this command:

    chown –R artifactory:artifactory /var/temp/artifactory
     
  4. In the Artifactory Import & Export tool, click Export, and enter the name of the folder that you created.

    You can then use ftp, winscp or another tool to move the exported files to the target folder on another instance, such as an external Artifactory server.
 


Additional Information

For more information on the procedure for migration, see Migrate Artifacts and Configure Your External Artifactory Instance section of VMware vRealize Code Stream 2.2 Guide .

简体中文在 vRCS 中使用 jFrog 导出 Artifactory 存储库数据时出现“无法从中导出: 无法创建导出目录 (Failed to export from: Failed to create export Directory)”错误