AEM RCP Pathnnot found Exception

Avatar

Avatar
Level 1
zagadishreddy
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
zagadishreddy
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile
zagadishreddy
Level 1

19-05-2020


Hi All , 

 

we are using Data Store as Azure Blobs and succfully uploaded  all assets(https://helpx.adobe.com/in/experience-manager/6-3/sites/deploying/using/data-store-config.html)  .  we are moving/rcp  same assets to anoher environement   usign the Vault service bundle (https://helpx.adobe.com/experience-manager/kb/filevault-vlt-rcp-does-not-copy-binary-data-properly.h...

 

while running the curl command we are getting the Path Not Found Exception .  

 

20.05.2020 01:29:10.066 *INFO* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2584] com.day.cq.rewriter.linkchec
ker.impl.LinkCheckerTask Checked URL https://use.typekit.net/dje4ayd.js: 200 (valid)
20.05.2020 01:29:10.109 *INFO* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2584] com.day.cq.rewriter.linkchec
ker.impl.LinkCheckerTask Checked URL https://www.google.com: 200 (valid)
20.05.2020 01:29:12.522 *INFO* [Vault RCP Task - test-id-6] org.apache.jackrabbit.vault.rcp.impl.RcpTask Starting repository copy task
id=test-id-6. From https://hostname/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy to /c
ontent/dam/we-retail/en/products/azcopy.
20.05.2020 01:29:12.531 *ERROR* [Vault RCP Task - test-id-6] org.apache.jackrabbit.vault.util.RepositoryCopier Error while retrieving s
rc node /content/dam/we-retail/en/products/azcopy: javax.jcr.PathNotFoundException: /content/dam/we-retail/en/products/azcopy
20.05.2020 01:29:14.785 *INFO* [qtp1064100962-1700] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous
access not allowed by configuration - requesting credentials
20.05.2020 01:29:32.549 *INFO* [qtp1064100962-66] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous ac
cess not allowed by configuration - requesting credentials

Pleae help us any confiuraiton is require for additional . 

Here  is My CURL command
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":"https:/admin:admin@<source-instance>/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy", "dst":"/content/dam/we-retail/en/products/azcopy", "recursive": true} 

Please help on this issue . 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

20-05-2020

The "src":"https:/admin:admin@<source-instance>/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy makes no sense.

you cannot rcp by setting up the path from CRXDe

Your source should be similar to https:/admin:admin@<source-instance>/content/dam/we-retail/en/products/azcopy

Avatar

Avatar
Level 1
zagadishreddy
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
zagadishreddy
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
View profile
zagadishreddy
Level 1

20-05-2020

i just changed you are syntax . and ran the curl command . 

url -u tadmin:admin 'https://hostname/system/jackrabbit/filevault/rcp' -X POST -H "Conte
nt-Type: application/json" -d '{"cmd":"start", "id":"test-id-7"}'
{
"status": "error",
"message": "Error while executing 'start': Login failed: Unknown workspace 'azcopy'."

and the Task Id Json Format:

id": "test-id-7",
      "src": "https://hostnanme/content/dam/we-retail/en/products/azcopy/jcr:root",
      "dst": "/content/dam/we-retail/en/products/azcopy",
      "recursive": true,
      "batchsize": 1024,
      "update": false,
      "onlyNewer": false,
      "noOrdering": false,
      "throttle": 0,
      "resumeFrom": null,
      "status": {
        "state": "NEW",
        "currentPath": null,
        "lastSavedPath": null,
        "totalNodes": 0,
        "totalSize": 0,
        "currentSize": 0,
        "currentNodes": 0,
        "error": ""
      }
    }
  ]

Please help on this one