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

Store the R140600000XWIKI19869 migration files in a blob store

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.0
    • Authentication
    • Unknown

    Description

      The R140600000XWIKI19869 migration (executed when upgrading from a version older than 14.6RC1, 14.4.3 or 13.10.8) relies on two files located in the permanent directory:

      • 140600000XWIKI19869DataMigration-users.txt: the list of users for whom a reset password and/or security email should be sent, written by R140600000XWIKI19869DataMigration and consumed (then deleted) by R140600000XWIKI19869DataMigrationListener, possibly at a later restart when the emails were disabled during the migration (see security.migration.R140600000XWIKI19869.sendResetPasswordEmail and security.migration.R140600000XWIKI19869.sendSecurityEmail in xwiki.properties)
      • 140600000XWIKI19869-mail.txt: an optional template provided by the administrator to customize the content of the email

      To make possible to run XWiki without any persistent file storage (XWIKI-22847), those files should be stored in a blob store (XCOMMONS-3250) instead of directly on the filesystem.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: