Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18869

Migration of table xwikiattrecyclebin fail from a database created with a very old XWiki version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 13.2-rc-1
    • Fix Version/s: 13.4.3, 13.7-rc-1
    • Component/s: Old Core
    • Labels:
    • Environment:
      MariaDB 10.3
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      I have a broken upgrade from XWiki 12.10.6 (installed with Debian) to XWiki 13.4.2, using MariaDB 10.3.29. The database is configured to use utf8mb4.

      Specified key was too long; max key length is 3072 bytes [Failed SQL: (1071) alter table xwikiattrecyclebin MODIFY XDA_FILENAME varchar(768) not null]
      

      The varchar XDA_FILENAME is limited to 768, so 768*4=3072, so this should not have been a problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              gdelhumeau Guillaume Delhumeau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: