Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay DXP DB migration issue
Hi Team ,
I am migrating from Liferay 6.2 EE With Mysql 5.7 to Liferay DXP EE Mysql 5.7
But it got failed with below error attached in upgradelog attachement below. Please help me if you have faced such issue
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: Model com.liferay.dynamic.data.mapping.model.DDMStructure does not support DDM structure permission checking
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:93)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:124)
at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfosRunnable.run(ReleaseManagerOSGiCommands.java:503)
... 82 more
I am migrating from Liferay 6.2 EE With Mysql 5.7 to Liferay DXP EE Mysql 5.7
But it got failed with below error attached in upgradelog attachement below. Please help me if you have faced such issue
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: Model com.liferay.dynamic.data.mapping.model.DDMStructure does not support DDM structure permission checking
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:93)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:124)
at com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfosRunnable.run(ReleaseManagerOSGiCommands.java:503)
... 82 more
Attachments:
DXP?
Have you filed your LESA ticket yet?
Have you filed your LESA ticket yet?
You wrote on Slack
I think this is the issue. For some reason the ResourceActions table was not updated properly.
You also wrote
However I don't think that is a solution. Can you revert to the original DB, run the upgrade process and after it fails with "...DDMStructure does not support DDM structure permission checking" run this on your database:
and post the result?
i have digged into the code and finally i am able find out for below entity there is no entry in the Resource action table .. what we need to do to fix this ?
com.liferay.document.library.kernel.model.DLFileEntryMetadata
com.liferay.portlet.dynamicdatalists.model.DDLRecordSet
com.liferay.dynamic.data.mapping.model.DDMStructure
com.liferay.portlet.journal.model.JournalArticle
com.liferay.document.library.kernel.util.RawMetadataProcessor
I think this is the issue. For some reason the ResourceActions table was not updated properly.
You also wrote
i have identified the issue.. that is happening due to DDM structure has a classnameid which is of DDMStructure.. after deleting that it proceeded further.
However I don't think that is a solution. Can you revert to the original DB, run the upgrade process and after it fails with "...DDMStructure does not support DDM structure permission checking" run this on your database:
SELECT * FROM ResourceAction where name like '%-com.liferay.dynamic.data.mapping.model.DDMStructure'
and post the result?
I got the same problem. Created a support ticket, but to speed things up I am hoping somebody already knows what the problem here is. Attached csv contains results of the sql query that was suggested to run:
SELECT * FROM ResourceAction where name like '%-com.liferay.dynamic.data.mapping.model.DDMStructure'
Just wanted to add the error message is:"ERROR [main][ReleaseManagerOSGiCommands:147] Failed upgrade process for module com.liferay.dynamic.data.mapping.service
com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: Model com.liferay.message.boards.model.MBStatsUser does not support DDM structure permission checking "
SELECT * FROM ResourceAction where name like '%-com.liferay.dynamic.data.mapping.model.DDMStructure'
Just wanted to add the error message is:"ERROR [main][ReleaseManagerOSGiCommands:147] Failed upgrade process for module com.liferay.dynamic.data.mapping.service
com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: Model com.liferay.message.boards.model.MBStatsUser does not support DDM structure permission checking "
Attachments:
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™