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

The R1100000 migration never really move the wiki folder

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The first thing the migration does is

      FileUtils.moveDirectory("<permdir>/storage/xwiki",  "<permdir>/store/file/xwiki")
      

      but "<permdir>/store/file/" and FileUtils.moveDirectory does not create it, so the native move fail and FileUtils.moveDirectory fallback copying all the files and then deleting them, which does not make much sense.

      The workaround is to create "<permdir>/store/file" before the migration.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: