Problems facing in up-gradation from Adobe CQ5.5 to AEM 6.1 | Community
Skip to main content
Level 2
October 16, 2015
Solved

Problems facing in up-gradation from Adobe CQ5.5 to AEM 6.1

  • October 16, 2015
  • 13 replies
  • 2600 views

Hi,

I am trying to follow the steps in https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html.

After trying the command "java -jar aem-quickstart-6.1.0.jar -v -x crx2oak" .It is throwing the exception,

Preparing to execute extension /C:/Users/ND%20-%20Yvonne/Desktop/author%20%20backup/crx-quickstart/opt/extensions/crx2oak-quickstart-extension.jar
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:862)
        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:940)
Caused by: java.lang.ExceptionInInitializerError
        at com.adobe.granite.crx2oak.quickstart.extension.Main.getHelpFormatter(Main.java:131)
        at com.adobe.granite.crx2oak.quickstart.extension.Main.<init>(Main.java:142)
        at com.adobe.granite.crx2oak.quickstart.extension.Main.main(Main.java:392)
        ... 6 more
Caused by: com.adobe.granite.crx2oak.quickstart.extension.exceptions.CRX2OakException: Cannot find file /C:/Users/ND%20-%20Yvonne/Desktop/author%20%20backup/crx-quickstart/opt/extensions/crx2oak-quickstart-extension.jar
        at com.adobe.granite.crx2oak.quickstart.extension.jar.JarFile.<init>(JarFile.java:44)
        at com.adobe.granite.crx2oak.quickstart.extension.ExtensionInfo.<clinit>(ExtensionInfo.java:33)
        ... 9 more
Quickstart: aborting.

I am able to find the file, crx2oak-quickstart-extension.jar in the  above mentioned path.

Please help me  out..

Thanks much,Veeru

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 Veeru,

please check with the developers about the packages not being installed.

The following error is strange: 

Caused by: java.io.FileNotFoundException: .crx-quickstart\repository
epositorydatastore\repository-c862c9b6-2706-45ec-bec6-a2e8324eb7a8 (The filename, directory name, or volume label syntax is incorrect)

The following path is obviously wrong: "epositorydatastore\repository-c862c9b6-2706-45ec-bec6-a2e8324eb7a8 "

What changes did you make as far as the known issues go? I take it you removed spaces in the folder path, but did you update the cfg file:

  • Update to 6.1 from 5.x and 6.0+CRX2 fails on Windows due to backslashes written to FileDataStore.cfg. Workaround is to modify the 'org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg' file with datastore path before we run Migration command (CQ-42291)

Regards,

Opkar

13 replies

Level 2
October 16, 2015

Hi Opkar,

Thank you very much for your  time and assistance,

I migrated successfully the sample project from Adobe CQ 5.5 to AEM 6.1.

Thanks Much, Veeru

Adobe Employee
October 16, 2015

Issue is: Update to 6.1 from 5.x and 6.0+CRX2 fails on Windows due to backslashes written to FileDataStore.cfg

Fix is: Workaround is to modify the 'org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg' file with datastore path before we run Migration command (CQ-42291)

You need to update the above file and change the backslashes to forward slashes, So rerun the migration on a copy of the original 5.x instance and include this step BEFORE you run the migration command. 

Regards,

Opkar

Adobe Employee
October 16, 2015

veereswara sastry wrote...

Hi Opkar,

Thank you very much for your  time and assistance,

I migrated successfully the sample project from Adobe CQ 5.5 to AEM 6.1.

Thanks Much, Veeru

 

 

Hi Veeru,

glad to hear it is working now, thanks for taking the time to update the forum. 

Regards,

Opkar