Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-17421

Upgrade from 5.2 SP4 to 6.0 EE will cause MySQLIntegrityConstraintViolationException

    Details

    • Branch Version/s:
      6.0.x
    • Fix Priority:
      3

      Description

      Attemptiong to upgrade a database created in 5.2 SP4 to 6.0 EE the following error occurs:

      00:40:25,572 ERROR [MainServlet:202]
      com.liferay.portal.kernel.events.ActionException:
      com.liferay.portal.kernel.upgrade.UpgradeException:
      com.liferay.portal.kernel.upgrade.UpgradeException:
      com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:
      Duplicate entry '10155-24820-239107' for key 1
      com.liferay.portal.kernel.events.ActionException:
      com.liferay.portal.kernel.upgrade.UpgradeException:
      com.liferay.portal.kernel.upgrade.UpgradeException:
      com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:
      Duplicate entry '10155-24820-239107' for key 1

        Attachments

          Activity

            People

            • Assignee:
              michael.saechang Michael Saechang
              Reporter:
              eric.min Eric Min (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 10 weeks, 1 day ago