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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM 6.2 to 6.3 inplace migration

Avatar

Avatar
Validate 1
Level 2
kranthiv7238223
Level 2

Likes

5 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
kranthiv7238223
Level 2

Likes

5 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
kranthiv7238223
Level 2

16-04-2019

Hi all,

I am running the command java -Xmx2048m - jar cq6.3-author-p4502.jar -v -x crx2oak -xargs -- --load-profile segment-fds to do inplace migration, I see the following, any idea what is going wrong?. Thanks!!

16.04.2019 14:46:08.884 INFO   c.a.g.c.p.ProfileLoader: Reading migration profile: segment-fds
16.04.2019 14:46:09.046 INFO   c.a.g.c.p.ProfileHandler: Applying partly the command line (before loading a profile): [--load-profile, segment-fds]
16.04.2019 14:46:09.175 INFO   c.a.g.c.p.ProfileHandler: The following template tags has been defined: {}
16.04.2019 14:46:09.175 ERROR  c.a.g.c.p.ProfileHandler: Tags: [datastore-path] are required but their values were not resolved or not passed at command line.

This might indicate:

1) Some dynamic tags weren't determined correctly (please check all WARN/ERROR log entries)
2) Your custom profile is incorrect (i.e. tag name typos, missing tag definitions)
3) The user should define the tag value at command line manually as profile doesn't specify the default value

The final profile is invalid (incomplete) hence the migration has been aborted.
MAIN process: shutdown hook
MAIN process: exiting

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile
Gaurav-Behl
MVP

16-04-2019

Have you configured a separate datastore in 6.2?  If not then use segment-no-ds

Source RepositoryTarget RepositoryProfileAdditional Flags
crx2 or TarMK with FileDataStoreTarMKsegment-fdsSee Troubleshooting section below
crx2MongoMKmongo-from-crx2 -T mongo-uri=mongo://mongo-host:mongo-port -T mongo-db=mongo-database-name
TarMK or crx2 with S3DataStoreTarMKsegment-custom-dsSee Troubleshooting section below
TarMK with no datastoreTarMKsegment-no-ds
MongoMKMongoMKNo migration is needed

Refer  Performing an In-Place Upgrade

You'd still use crx2oak as mentioned by Jaideep

Answers (1)

Answers (1)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

388 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

388 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

16-04-2019

Looks like crx2oak is not able to find the datastore. Do you have a valid datastore path defined in the crx-quickstart/install directory? Try mentioning the datastore path in the migration command. Use "--datastore" parameter.

More details at [1]

[1] Using the CRX2Oak Migration Tool