Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Upgradation CQ 5.56 to AEM 6.2


Level 4


I want to migrate CQ 5.56 to 6.2 on mongoDB setup.

I am referring docs:

I followed following steps:-

1). Disabling custom login module

2). unpack the jar :- java -jar qs.jar -unpack

3). java -jar qs.jar -v -x crx2oak

change file for mongo setup.

4). java -jar qs.jar -v -x crx2oak

5). java -Xmx4096m -XX:MaxPermSize=2048M -jar aem-quickstart-6.2.0.jar -v -x crx2oak -xargs -- -o migrate

6). java -jar qs.jar -r crx3,crx3mongo


It succesfully up.

But if i want to scale horizontal that is to run another CQ auther service:

I create a folder and run the newly jar with following parameter:-

java -jar aem-quickstart-6.2.0.jar -r author,crx3,crx3mongo,nosamplecontent -Doak.mongo.uri=mongodb://remoteserver:27017 -Doak.mongo.db=aem-author

It is not successfully up .

But if i copy the crx-quickstart folder and paste in new folder and then run it succesfully up.

I want to run without crx-quickstart folder.


Any Suggestion?


5 Replies


Level 10

So you are able to successfully get a single instance running? 


Level 4

smacdonald2008 wrote...

So you are able to successfully get a single instance running? 


yes, only single instance



When you say it is not successfully up, what messages are you getting in the error.log file?




Level 2

Do you have MongoDB with replicaset? or just single MongoDB as master? Also if your author is on a separate box did you make sure that the port on remoteserver 27017 is open?