Professional Documents
Culture Documents
Sunag.M.S
Adobe CQ ADMIN
sunageinstein@gmail.com
Migrating from older version (5.6.x)
Run all maintenance activities: Data garbage collection, workflow purge, version purge,
consistency check, traversal check, tarPM optimization.
Make sure there is no error during maintenance activity. This is the KEY.
Update the logging level for upgrade log to “Debug” mode in the above generated file, then
proceeded to next step.
Run the jar with the same parameters second time to generate the OSGi configurations needed
for the data migration:
org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg and
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg
org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg
path=./crx-quickstart/repository/repository/datastore
minRecordLength=4096
org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg
customBlobStore=true
Post migration , monitor Upgrade log and observe for below output which is correct.
***Execution window***
Preparing to execute extension CQ5.6.1Upgrade6.1/crx-quickstart/opt/extensions
/crx2oak-quickstart-extension.jar
18.07.2015 08:54:01.103 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:151 Launched CQ5.6.1Upgrade6.1/crx-quickstart/opt/extensions/
crx2oak-quickstart-extension.jar, version 1.0.14, SHA1 checksum 86838d4c6aca9429
11cbfa97e37ef46fcedf7177.
18.07.2015 08:54:01.118 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:186 Using crx2oak.jar from CQ5.6.1Upgrade6.1\crx-quickstart\op
t\helpers\crx2oak\crx2oak.jar
18.07.2015 08:54:01.274 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:188 crx2oak version 1.2.10, SHA-1 checksum dbf845a76cb8eb0d05cc
e4494500dca75c381dce
18.07.2015 08:54:01.274 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:262 Preparing to migrate repository to TarMK
18.07.2015 08:54:01.290 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:320 Starting repository migration. Please monitor the progress
in the upgrade.log file.
18.07.2015 08:55:56.729 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:322 Finished TarMK migration in 115 seconds.
18.07.2015 08:55:58.625 *INFO* [com.adobe.granite.crx2oak.quickstart.extension.
Main] Main.java:338 Your instance was migrated to Apache Jackrabbit Oak. Please
make sure to start the upgrade by explicitly using the crx3,crx3tar run modes (
e.g. java -jar aem.jar -r crx3,crx3tar).
As you see last command does output which run mode to use
-r crx3,crx3tar to upgrade in the next step
****************
KEY : Before performing the Final Step - “Performing The AEM Upgrade”
- Delete the 5.6.x standalone jar under crx-quickstart/app/ and set permission to AEM to all
folders, each and every step.
chown –R aem:aem crx-quickstart .
****************
Execute the below command and constantly monitor the error.log and upgrade.log.
Distribution
Draft
Author Sunag.M.S
REFERENCES:
https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html