Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Error upgrading from AEM6.1 to AEM6.3

Avatar

Level 1

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.

4 Replies

Avatar

Level 10

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

Level 2

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

Level 2

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

Level 1

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