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

Attachments not migrated after upgrading to 11.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 11.3
    • None
    • Unknown

    Description

      After upgrading from 10.11 to 11.0 and performing the attachments migration from /var/lib/xwiki/storage to /var/lib/xwiki/store, many of the attachments weren't properly migrated and loading them result in the following error:

      Uncaught exception: Error number 3002 in 3: The attachment [Attachment xwiki:XWiki.hectorprieto@ldapPhoto.jpeg] (file /var/lib/xwiki/data/store/file/xwiki/7/2/ee40f6e7ead3932109de3082840100/attachments/6/5/aac3a00f833e6eacafd3eee6f7deb1/f.jpeg) could not be found in the filesystem attachment store.

      The same error appears for other attachments such as the wiki logo and images under the settings menu. This didn't happen to attachments on subwikis, as images uploaded to the pages load properly (I do not have any other custom images in the main wiki except the logo and the user photos).

      This is how my settings screen looks like:

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            hector.prieto Héctor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: