Legacy Knowledge Base
Published Sep. 10, 2025

Liferay 6.2 upgrade stops at UpgradeDynamicDataMapping#upgradeXMLStorageAdapter step

Written By

Tibor Szucs

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The Liferay upgrade process hangs at one specific part for a longer period of time (several hours) 
com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping#upgradeXMLStorageAdapter

Environment

  • Portal 6.2 while upgrading to DXP 7.0 and above 

Resolution

  • This step of the upgrade process goes through the DDMContent table's data_ field. The contents of this field have been changed from XML to JSON from DXP 7.0 and above.
  • This converting process could take a long time depending on how much data you have in the DDMContent table or how many locales are used. 

Additional Information

  • This process can be monitored by running the following SELECT query
    • SELECT count(*) FROM ddmcontent where data_ like '{%}';
    • It will count the number of data_ fields with curly brackets. 
Did this article resolve your issue ?

Legacy Knowledge Base