WCM 5.5 to AEM 6.1 Migration Scenario | Community
Skip to main content
Level 2
October 16, 2015
Solved

WCM 5.5 to AEM 6.1 Migration Scenario

  • October 16, 2015
  • 6 replies
  • 2079 views

Has somebody already successfully migrated 5.5 to 6.1?
Here's what I have done so far (unfortunately still unsuccessfull) 

 

1) workspace.xml (com.day.crx.query.lucene.LuceneHandler):
 <param name="enableConsistencyCheck" value="true" />
 <param name="forceConsistencyCheck" value="true" />
   <param name="autoRepair" value="true" />
 
2) Start Instance
3) Copy 6.1 jar to root folder
4) Stop Instance once up and running
5) Remove config from 1 (make sure no custom authentication)
6) java -jar cq-publish-8484.jar -unpack
7) java -jar cq-publish-8484.jar -v -x crx2oak
8) java -jar cq-publish-8484.jar -v -x crx2oak
9) java -Xmx4096m -XX:MaxPermSize=2048M -jar cq-publish-8484.jar -v -x crx2oak -xargs -- -o migrate

-> Here I get a successfull migration message in the logs

10) java -jar cq-publish-8484.jar -r publish,crx3,crx3tar,nosamplecontent

-> Here I get a AuthenticationSupport service missing. Cannot authenticate request.

Any idea?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

Hi,

"localhost:8484/system/console" shouldn't be a problem if you can log into "/crx/de/index.jsp"

Can you check error.log again please?

Regards,

Opkar

6 replies

Adobe Employee
October 16, 2015

H,

the error you are seeing is a symptom of an exception during startup, it is likely to have occurred much earlier in your error.log. Can you check and print it here?

Regards,

Opkar

pbrinerAuthor
Level 2
October 16, 2015

I finally found it, it's related to a known issue on windows.

Here's my windows migration scenario :
 

1) workspace.xml (com.day.crx.query.lucene.LuceneHandler):
   <param name="enableConsistencyCheck" value="true" />
   <param name="forceConsistencyCheck" value="true" />
   <param name="autoRepair" value="true" />
 
2) Start Instance
3) Copy 6.1 jar to root folder
4) Stop Instance once up and running
5) Rename new 6.1 jar to have the name of the old 5.5 jar
6) Remove config from 1 (make sure no custom authentication)
7) java -jar cq-publish-7676.jar -unpack
8) java -jar cq-publish-7676.jar -v -x crx2oak
9) java -jar cq-publish-7676.jar -v -x crx2oak
 
Windows:
org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg:
Backslash to Frontslash change in file : path=./crx-quickstart/repository/repository/datastore
 
10) java -Xmx4096m -XX:MaxPermSize=2048M -jar cq-publish-7676.jar -v -x crx2oak -xargs -- -o migrate
11) java -jar cq-publish-7676.jar -r publish,crx3,crx3tar,nosamplecontent (avoid sample content in live environment)
12) Regular startup as service

I did it twice and it worked fine.

 

There's one open topic left :

1) I can login to crx

2) I cannot login to system/console:

10.08.2015 15:21:39.941 *ERROR* [qtp825873524-89] org.apache.sling.auth.core.impl.SlingAuthenticator doLogin: Cannot login: No AuthenticationHandler available to handle the request

-> I changed the admin password to a new one (change it to the existing one didn't work). No I can access the system/console.

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

"localhost:8484/system/console" shouldn't be a problem if you can log into "/crx/de/index.jsp"

Can you check error.log again please?

Regards,

Opkar

pbrinerAuthor
Level 2
October 16, 2015

No, I had to change the admin password.

Adobe Employee
October 16, 2015

So it's all working now?

Adobe Employee
October 12, 2016

After upgrade, once you have logged in to CRX or Content Explorer, you should be able to login to other modules including system console.