I just want to move repository from CRX1 (cq5.56) to CRX2 (cq6.1) with the help of oak jar.
I tried this command:
java -jar .\crx2oak-1.0.54-standalone.jar C:\Users\jangid\Desktop\aem 6.1\newauthor\CQ-Aut
hor\crx-quickstart\repository C:\Users\jangid\Desktop\aem 6.1\author\crx-quickstart\repository \--include-path=/ --exclude-path=/tmp --merge-path=/content
The following error occurred.
Too much node store arguments: [SEGMENT[C:\Users\jangid\Desktop\aem], SEGMENT[6.1\newauthor\CQ-Author\crx-quickstart\r
ository], SEGMENT[C:\Users\jangid\Desktop\aem], SEGMENT[6.1\author\crx-quickstart\repository], SEGMENT[\--include-path
]]
What to do next?
Solved! Go to Solution.
You also have a typo "--include-path" it should be --include-paths the same is true for your --exclude-path and --merge-path parameters, you are missing the trailing "s" I have used the below command in the past (for 6.2 migration). As feike mentioned, download the latest version of crx2oak.
Firstly I would try with a newer version of crx2oak:
https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/crx2oak/
You also have a typo "--include-path" it should be --include-paths the same is true for your --exclude-path and --merge-path parameters, you are missing the trailing "s" I have used the below command in the past (for 6.2 migration). As feike mentioned, download the latest version of crx2oak.
Adding Documentation link,
Link:- https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade/using-crx2oak.html
//This documentation covers:-
- Introduction
- Migration Use Cases
- Features
- Parameters
- Debugging
~kautuk
Views
Replies
Total Likes
Hi,
I know its too late to reply but as I too faced the same sort of issue while migrating the repos, so thought of sharing how I resolved the issue and what was the actual issue here.
As you mentioned that you are getting the below error,
Too much node store arguments: [SEGMENT[C:\Users\jangid\Desktop\aem], SEGMENT[6.1\newauthor\CQ-Author\crx-quickstart\r
ository], SEGMENT[C:\Users\jangid\Desktop\aem], SEGMENT[6.1\author\crx-quickstart\repository], SEGMENT[\--include-path
]],
Here you can see that there too many arguments such as:
[SEGMENT[C:\Users\jangid\Desktop\aem]
SEGMENT[6.1\newauthor\CQ-Author\crx-quickstart\r
ository]
SEGMENT[C:\Users\jangid\Desktop\aem]
SEGMENT[6.1\author\crx-quickstart\repository],
That is mainly because you are having spaces between the folder names, that is why the command is failing by giving too much node store arguments error.
Moreover, giving the include-path=/content doesn't cause any error. I have tried with the same and it ran successfully for me.
Views
Replies
Total Likes
Also in your case you are having the folder name as "aem 6.1". Mind the space between aem and 6.1.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies