Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8014

Move packages directory out of data directory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.9.4
    • Impact type:
      Configuration Change, Data Persistence Change
    • Upgrade notes:
      Hide

      Removed undocumented property "org.nuxeo.connect.update.dataDir".
      Added new property "nuxeo.mp.dir" to allow packages directory customization.
      Moved "nxserver/data/packages/" to "packages/".

      Show
      Removed undocumented property "org.nuxeo.connect.update.dataDir". Added new property "nuxeo.mp.dir" to allow packages directory customization. Moved "nxserver/data/packages/" to "packages/".
    • Sprint:
      DevOps Sprint 3

      Description

      ${nuxeo.data.dir}/packages/ directory has nothing to do with the data: its coherence is linked to the server content.
      In case of server upgrade (data kept) or server reset (data removed), packages directory must respectively be removed (server changed but data kept) or kept (server kept but data removed).

      So move it out of data directory into the server directory.
      That solves the issue with server upgrade currently requiring a reset of the packages state.

      It could be nice to also include the directory used by the wizard (currently is ${nuxeo.home}/setupWizardDownloads/).

      Take care to manage the upgrade (automatic removal of data/packages if exists).

      Without this task :

      • inconsistencies between the server and the data when upgrading, reseting data, customizing data, restoring data, ...
      • issue (as explained by Sun) when customizing the data directory and needing to install DM/DAM/...
      • overall work on the packaging side (Debian, zip, ...) to properly manage upgrades

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified