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

SOLVED

Content Migration from 6.0 (SP3) OAK to 6.3

Avatar

Level 1

Hello

We've 6.0 SP3 Oak and planning upgrade to 6.3

following  the upgrade documentation

https://docs.adobe.com/docs/en/aem/6-3/deploy/upgrade.html#Pre-Upgrade%20Compatibility%20Checks

I executed the folllowing

java -Xmx4096m -XX:MaxPermSize=2048m -jar AEM_6.3_Quickstart.jar -v -x crx2oak -xargs -- --load-profile segment-custom-ds

got an error shown below

ERROR  c.a.g.c.c.MigrationSpecGenerator: detected error during processing migration specification: The source and the destination is the same repository.

Is it saying that I've source and destination same type of repo or do I've to provide a target location parameter ? 

I don't see that in the Upgrade documentation

Thanks

Madhu

1 Accepted Solution

Avatar

Correct answer by
Level 3

Thanks for the response.

Below steps helped us solving the problem.

Note: these steps are not documented in adobe docs yet. Also remember to install, JDK 1.8

-Take a fresh backup on running 6.1 environment and perform the pre-upgrade maintenance tasks.

- Move the segmentstore from /repos folder and move it under /crx-quickstart/repository

- Navigate to /crx-quickstart/install folder and edit SegmentNodeStoreService config and remove the 'repository.home' parameter

- Copy 6.3 Jar along side /crx-quickstart

- Run the command to unpack, java -jar 6.3_quickstart.jar -unpack

- Backup and Remove …/crx-quickstart/logs

- Complete the migration by running command java -Xmx4096m -XX:MaxPermSize=2048m -jar aem-quickstart.jar -v -x crx2oak -xargs -- --load-profile segment-fds

- Monitor the logs

- Once completed, Login into the new 6.3 environment and do a quick round of smoke testing and sanity tests

- Shutdown the instance or now.

- Once ', Check the /crx-quickstart/install folder for the newly generated configs

- Move back the segmentstore and the blobids folder from the /crx-quickstart/repository folder to the /repos folder

- Edit 'org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.cfg' and add repository.home=/Users/abc/Desktop/WorkArea/Instances/CIBC_repos (without the quotes) and Save. (Adjust the correct path per your systems)

- Start the instance and Voila the upgrade has been completed successfully.

Thanks to Kunwar from adobe day care team to help us on this.

View solution in original post

0 Replies

Avatar

Level 10

ANytime you encounter an issue by following the docs and something does not work. Its typically a bug vs a procedure issue. I recommend opening a ticket for this.

Avatar

Level 3

I am getting the same error. Were you able to solve this.

I hope Adobe must have helped to solve this problem if any day care ticket was raised. In that case, It would be really helpful if someone from community may update this post with a reply on the solution.

Raised a day care ticket almost a week ago and waiting to hear from the engineering team for an answer...

Avatar

Level 2

We had the same experience as we migrating 6.1 to 6.3 and here is how we've solved it.

So first, make sure you unpack your quickstart.


Then, if you are using file data store (which most of us do):

Let me know if it works on your side.

Avatar

Correct answer by
Level 3

Thanks for the response.

Below steps helped us solving the problem.

Note: these steps are not documented in adobe docs yet. Also remember to install, JDK 1.8

-Take a fresh backup on running 6.1 environment and perform the pre-upgrade maintenance tasks.

- Move the segmentstore from /repos folder and move it under /crx-quickstart/repository

- Navigate to /crx-quickstart/install folder and edit SegmentNodeStoreService config and remove the 'repository.home' parameter

- Copy 6.3 Jar along side /crx-quickstart

- Run the command to unpack, java -jar 6.3_quickstart.jar -unpack

- Backup and Remove …/crx-quickstart/logs

- Complete the migration by running command java -Xmx4096m -XX:MaxPermSize=2048m -jar aem-quickstart.jar -v -x crx2oak -xargs -- --load-profile segment-fds

- Monitor the logs

- Once completed, Login into the new 6.3 environment and do a quick round of smoke testing and sanity tests

- Shutdown the instance or now.

- Once ', Check the /crx-quickstart/install folder for the newly generated configs

- Move back the segmentstore and the blobids folder from the /crx-quickstart/repository folder to the /repos folder

- Edit 'org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.cfg' and add repository.home=/Users/abc/Desktop/WorkArea/Instances/CIBC_repos (without the quotes) and Save. (Adjust the correct path per your systems)

- Start the instance and Voila the upgrade has been completed successfully.

Thanks to Kunwar from adobe day care team to help us on this.