Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

crx2oak - AEM 6.2 (linux box1) to 6.4 (linux box2)

Avatar

Level 2

I have downloaded crx2oak onto my local dev machine.

6.2 aem instance is on linux box1, 6.4 aem instance is on linux box2.  Following is the command that I ran from my local windows command prompt.

java -Xmx10g -jar crx2oak-1.8.6-all-in-one.jar user1@box1:/data/repository/segmentstore user1@box2:/opt/aem/crx-quickstart/repository/segmentstore --include-paths=/content/dam/assets/ --copy-versions=false --copy-orphaned-versions=false

I am getting Exception in thread "main" java.lang.IllegalArgumentException: Not a directory: error.

And ideas on how to use this tool on remote host paths?

Thanks,

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Level 4

You can’t use remote paths. You must use local paths.

To to do what you want to do, copy the full repository from box1 to box2 using for example scp or rsync to another location, like /data/source.

Then run the crx2oak tool on box2 using /data/source as input and /opt/aem/crx-quickstart/repository/segmentstore.

After that, you can delete /data/source on box2.

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Level 4

You can’t use remote paths. You must use local paths.

To to do what you want to do, copy the full repository from box1 to box2 using for example scp or rsync to another location, like /data/source.

Then run the crx2oak tool on box2 using /data/source as input and /opt/aem/crx-quickstart/repository/segmentstore.

After that, you can delete /data/source on box2.