Last updated on
17 May 2021
Issue
Vlt rcp command fails to copy assets data. The assets which are copied from another instance can’t displayed on AEM.
Environment
AEM6.3, FileVault 3.1.38.
Cause
This is a bug of FileVault version 3.1.38. The issue is reproduced on vlt command line tool.
https://issues.apache.org/jira/browse/JCRVLT-186
Resolution
Download vault-cli version 3.1.44 below or a later version from here.
Alternatively, use FileVault RCP Server Bundle, with the following steps:
- Download the bundle from here.
- Install the bundle to the remote copy destination instance.
- Create a task using this curl command on the command line:
$ curl -u admin:admin 'http://<destination-instance>/system/jackrabbit/filevault/rcp' -X POST -H "Content-Type: application/json" -d '{"cmd":"create", "id":"test-id-1", "src":"http:/admin:admin@<source-instance>/crx/server/crx.default/jcr:root/content/dam/test0628", "dst":"/content/dam/test0628", "recursive": true}'
- Execute the task:
$ curl -u admin:admin 'http://<destination-instance>/system/jackrabbit/filevault/rcp' -X POST -H "Content-Type: application/json" -d '{"cmd":"start", "id":"test-id-1"}' - Access http://<destination-instance>/system/jackrabbit/filevault/rcp in the browser and check the task status.
- Remove the task:
$ curl -u admin:admin 'http://<destination-instance>/system/jackrabbit/filevault/rcp' -X POST -H "Content-Type: application/json" -d '{"cmd":"remove", "id":"test-id-1"}'
See http://jackrabbit.apache.org/filevault/rcp.html for more details.
Download