Issues with AEM 6.4 Upgrade

Avatar

Avatar
Validate 1
Level 1
veereswarasastr
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
veereswarasastr
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
veereswarasastr
Level 1

22-10-2018

When upgrading from AEM 6.2 to AEM 6.4, THe below step is aborting.

C:\Workstation\AEM6.2\author>java -Xmx4096m -jar aem64-author-p4504.jar -v -x crx2oak -xargs --load-profile segment-no-ds

Loading quickstart properties: default

Loading quickstart properties: instance

org.apache.commons.cli2.OptionException: Unexpected --load-profile while processing Use these options on the Quickstart command line.

        at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)

        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:594)

        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:981)

Quickstart: aborting

Please assist

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
veereswarasastr
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
veereswarasastr
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
veereswarasastr
Level 1

23-10-2018

java -Xmx4096m -jar aem64-author-p4504.jar -v -x crx2oak -xargs -- --load-profile segment-no-ds

This worked for me

Answers (4)

Answers (4)

Avatar

Avatar
Validate 1
MVP
Nirmal_Jose
MVP

Likes

119 likes

Total Posts

207 posts

Correct reply

58 solutions
Top badges earned
Validate 1
Establish
Coach
Contributor
Shape 1
View profile

Avatar
Validate 1
MVP
Nirmal_Jose
MVP

Likes

119 likes

Total Posts

207 posts

Correct reply

58 solutions
Top badges earned
Validate 1
Establish
Coach
Contributor
Shape 1
View profile
Nirmal_Jose
MVP

24-10-2018

java -Xmx4096m -jar aem-quickstart.jar -v -x crx2oak -xargs -- --load-profile segment-no-ds

this will work, as in the command there is a double double dash -> -- --load-profile segment-no-ds

Avatar

Avatar
Validate 1
MVP
Nirmal_Jose
MVP

Likes

119 likes

Total Posts

207 posts

Correct reply

58 solutions
Top badges earned
Validate 1
Establish
Coach
Contributor
Shape 1
View profile

Avatar
Validate 1
MVP
Nirmal_Jose
MVP

Likes

119 likes

Total Posts

207 posts

Correct reply

58 solutions
Top badges earned
Validate 1
Establish
Coach
Contributor
Shape 1
View profile
Nirmal_Jose
MVP

24-10-2018

Not relevant, but same error will come https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/in-place-upgrade.html#performin...https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/in-place-upgrade.html

Determining the correct upgrade section

Step 3 will show the same error again

This is because of the documentation error. The document says to use
java -jar aem-quickstart.jar start -c crx-quickstart -i launchpad -Dsling.properties=conf/sling.properties -Dsling.run.modes=publish,crx3,crx3tar
But start command is not available for aem-quickstart.jar which is a sibling of crx-quickstart folder.

start is available only for /crx-quickstart/app/aem-quickstart*.jar

I have used the below command

java -jar aem-quickstart.jar -r author,nosamplecontent,websquad3,crx3,crx3tar,crx3tar-nofds -p4502

crx3tar-nofds is used since I have S3 datastore

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

23-10-2018

Is your issue solved.

Avatar

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 1
Level 7
Hemant_arora
Level 7

Likes

92 likes

Total Posts

290 posts

Correct reply

54 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 50
View profile
Hemant_arora
Level 7

23-10-2018

Use --skip-checkpoints to force the migration