Error upgrading from AEM6.1 to AEM6.3

Avatar

Avatar
Validate 1
Level 1
srinivasular178
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
srinivasular178
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
srinivasular178
Level 1

10-04-2018

Hi,

>java -Xmx4096m -XX:MaxPermSize=2048m -jar aem-quickstart.jar -v -x crx2oak -xargs -- --load-profile segment-fds

Any problem with the above command?

While performing upgrade  from AEM6.1 to AEM6.3 got the error.

11.04.2018 00:15:08.003 *INFO* [FelixStartLevel] com.adobe.cq.upgrades.backup.impl.UpgradeBackup property /var/upgrade/status/preUpgradeBackup.force does not exist, backup will not be forced

11.04.2018 00:15:08.004 *INFO* [FelixStartLevel] com.adobe.cq.upgrades.backup.impl.UpgradeBackup Startup mode is RESTART, nothing to do

11.04.2018 00:15:08.048 *INFO* [FelixStartLevel] com.adobe.cq.upgrades.cleanup.impl.UpgradeContentCleanup Startup mode is RESTART, nothing to do

11.04.2018 00:16:35.659 *INFO* [FelixStartLevel] com.adobe.cq.upgradesexecutor.Activator UPGRADE NOT NEEDED - StartupMode is RESTART

11.04.2018 00:30:19.888 *INFO*  [com.adobe.granite.crx2oak.core.VersionPrinter] VersionPrinter.java:45   CRX2Oak version: 1.6.8 (QUICKSTART_EXTENSION mode)

11.04.2018 00:30:20.184 *INFO*  [com.adobe.granite.crx2oak.core.VersionPrinter] VersionPrinter.java:45   /D:/AEM6.1/crx-quickstart/opt/extensions/crx2oak.jar (version: 1.6, checksum: 4ba2e94881cb42fc7e908f58e36bbe56438ae594)

11.04.2018 00:30:20.185 *INFO*  [com.adobe.granite.crx2oak.profile.ProfileLoader] ProfileLoader.java:171  Reading migration profile: segment-fds

11.04.2018 00:30:20.337 *INFO*  [com.adobe.granite.crx2oak.profile.ProfileHandler] ProfileHandler.java:143  Applying partly the command line (before loading a profile): [--load-profile, segment-fds]

11.04.2018 00:30:20.380 *INFO*  [com.adobe.granite.crx2oak.profile.ProfileHandler] ProfileHandler.java:118  The following template tags has been defined: {}

11.04.2018 00:30:20.380 *ERROR* [com.adobe.granite.crx2oak.profile.ProfileHandler] ProfileHandler.java:198  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.

Replies

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

10-04-2018

Please refer to all of the AEM 6.3 upgrade docs.

Upgrading to AEM 6.3

All valid commands are listed in the docs.

Avatar

Avatar
Give Back 10
Level 2
huzaifaha985211
Level 2

Likes

0 likes

Total Posts

25 posts

Correct reply

5 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Affirm 5
View profile

Avatar
Give Back 10
Level 2
huzaifaha985211
Level 2

Likes

0 likes

Total Posts

25 posts

Correct reply

5 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Affirm 5
View profile
huzaifaha985211
Level 2

10-04-2018

11.04.2018 00:30:20.380 *ERROR* [com.adobe.granite.crx2oak.profile.ProfileHandler] ProfileHandler.java:198  Tags: [datastore-path] are required but their values were not resolved or not passed at command line.

By looking at the above log can you verify if your AEM 6.1 is configured to use data store for binary assets? If so your command is not complete. You have to specify the --src-datastore .

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

I am also seeing the same issue. not sure what is going wrong. any idea? how to fix it. 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

Avatar

Avatar
Level 1
sreekalan726928
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
sreekalan726928
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
sreekalan726928
Level 1

24-07-2019

I am also facing same issue with AEM 6.1. Did you got it fixed?

I am using the below migration command:

java -Xmx4092m -jar cq-quickstart-6.3.0.jar -v -x crx2oak -xargs -- --load-profile segment-fds --src-datastore=crx-quickstart/repository/datastore

25.07.2019 06:22:13.940 INFO   c.a.g.c.p.ProfileLoader: Reading migration profile: segment-fds

25.07.2019 06:22:14.044 INFO   c.a.g.c.p.ProfileHandler: Applying partly the command line (before loading a profile): [--load-profile, segment-fds, --src-datastore=./crx-quickstart/repository/datastore/]

25.07.2019 06:22:14.067 INFO   c.a.g.c.p.ProfileHandler: The following template tags has been defined: {}

25.07.2019 06:22:14.067 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