Content references not updated/adjusted after following lazy content migration process | Community
Skip to main content
Level 2
January 3, 2020
Solved

Content references not updated/adjusted after following lazy content migration process

  • January 3, 2020
  • 1 reply
  • 1643 views

What is the problem: Content references in product and other config pages not getting updated from /etc/commerce/products.. to /var/commerce/products... on migration from AEM 6.3 to AEM 6.5

Content properties of our content still contains the old /etc/commerce/ values. The product data got migrated successfully from etc/commerce/products to /var/commerce/products

The references for we-retail product pages got updated for new path.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

 

References should be adjusted. Can you check your upgrade.log from that time and check if you have statements like this:

 

* Found NNN references

* Updated references

* No references found

 

 

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
January 3, 2020

 

References should be adjusted. Can you check your upgrade.log from that time and check if you have statements like this:

 

* Found NNN references

* Updated references

* No references found

 

 

Level 2
January 3, 2020

I can see all the above mentioned statements in the upgrdae.log. After commerce data migration it says *No reference found.*. I tried again and this time too the products got migrated from etc/commerce to var/commerce but the references are still pointing to old locations. Here is the log:

 

03.01.2020 17:05:14.973 *INFO* [FelixStartLevel] com.adobe.cq.upgradesexecutor.Activator UPGRADE TASK DONE: CQ64CommunitiesConfigsCleanupTask 03.01.2020 17:05:14.978 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.StatusNode /var/upgrade/status/CQ64CommerceMigrationTask does not exist, upgrade needed 03.01.2020 17:05:14.978 *INFO* [FelixStartLevel] com.adobe.cq.upgradesexecutor.Activator UPGRADE TASK STARTING: CQ64CommerceMigrationTask 03.01.2020 17:05:14.982 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Commerce content migration started: 03.01.2020 17:05:14.982 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Product data migration started 03.01.2020 17:05:45.206 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Found 345 references. 03.01.2020 17:05:45.256 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/mycompany 03.01.2020 17:05:45.257 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/we-retail 03.01.2020 17:05:45.257 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/rep:policy 03.01.2020 17:05:45.290 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Updated references. 03.01.2020 17:05:45.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/mycompany_rewards to /var/commerce/products/mycompany_rewards 03.01.2020 17:05:45.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/mycompany 03.01.2020 17:05:45.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/we-retail 03.01.2020 17:05:45.310 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/ajaytest to /var/commerce/products/ajaytest 03.01.2020 17:05:45.310 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/products/rep:policy 03.01.2020 17:05:45.311 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/dummyproducts to /var/commerce/products/dummyproducts 03.01.2020 17:05:45.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/blacklabel to /var/commerce/products/blacklabel 03.01.2020 17:05:45.314 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/en_gb to /var/commerce/products/en_gb 03.01.2020 17:05:45.315 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Moved /etc/commerce/products/mycompanyrewards to /var/commerce/products/mycompanyrewards 03.01.2020 17:05:45.315 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Product data migration finished 03.01.2020 17:05:45.315 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Product collections migration started 03.01.2020 17:05:45.607 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask a 03.01.2020 17:05:45.608 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/collections/rep:policy 03.01.2020 17:05:45.608 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Product collections migration finished 03.01.2020 17:05:45.608 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Payment methods migration started 03.01.2020 17:05:46.136 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask No reference found. 03.01.2020 17:05:46.156 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/payment-methods/we-retail 03.01.2020 17:05:46.156 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/payment-methods/rep:policy 03.01.2020 17:05:46.156 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Payment methods migration finished 03.01.2020 17:05:46.156 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Shipping methods migration started 03.01.2020 17:05:47.239 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask No reference found. 03.01.2020 17:05:47.239 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/shipping-methods/we-retail 03.01.2020 17:05:47.239 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/shipping-methods/rep:policy 03.01.2020 17:05:47.239 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Shipping methods migration finished 03.01.2020 17:05:47.239 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Orders migration started 03.01.2020 17:05:47.535 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask No reference found. 03.01.2020 17:05:47.535 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cannot move data to existing location: /var/commerce/orders/rep:policy 03.01.2020 17:05:47.535 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Orders migration finished 03.01.2020 17:05:47.535 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Saving changes... 03.01.2020 17:05:55.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Changes saved. 03.01.2020 17:05:55.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cleaning up old locations. 03.01.2020 17:05:55.308 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Preserving old location as not empty: /etc/commerce/products 03.01.2020 17:05:55.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Removing old location: /etc/commerce/collections 03.01.2020 17:05:55.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Preserving old location as not empty: /etc/commerce/payment-methods 03.01.2020 17:05:55.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Preserving old location as not empty: /etc/commerce/shipping-methods 03.01.2020 17:05:55.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Removing old location: /etc/commerce/orders 03.01.2020 17:05:55.313 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Saving cleanup changes... 03.01.2020 17:05:55.393 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cleanup changes saved. 03.01.2020 17:05:55.393 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Cleaning up old locations finished. 03.01.2020 17:05:55.393 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64CommerceMigrationTask Commerce content migration finished. 03.01.2020 17:05:55.408 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.StatusNode Upgrade recorded, /var/upgrade/status/CQ64CommerceMigrationTask set to Fri Jan 03 17:05:55 IST 2020 03.01.2020 17:05:55.408 *INFO* [FelixStartLevel] com.adobe.cq.upgradesexecutor.Activator UPGRADE TASK DONE: CQ64CommerceMigrationTask 03.01.2020 17:05:55.412 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.StatusNode /var/upgrade/status/CQ64LegacyClientlibsCleanupTask does not exist, upgrade needed 03.01.2020 17:05:55.413 *INFO* [FelixStartLevel] com.adobe.cq.upgradesexecutor.Activator UPGRADE TASK STARTING: CQ64LegacyClientlibsCleanupTask 03.01.2020 17:05:55.415 *INFO* [FelixStartLevel] com.day.cq.compat.codeupgrade.impl.cq64.CQ64LegacyClientlibsCleanupTask Cleaning up legacy clientlibs under /etc/clientlibs