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

Fix cleanup of packages backup directory when using install-packages.sh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.4, 2021.1
    • Fix Version/s: 11.x, 2021.x
    • Component/s: Docker Image
    • Tags:
    • Sprint:
      nxplatform #30
    • Story Points:
      1

      Description

      The install-packages.sh script cleans up some directories after install:

      echo "Clean up package installation directories: $backupDir, $tmpDir"
      rm -rf $backupDir
      rm -rf $tmpDir
       

      The backup directory is needed to re-perform installs in cases where the same bundles are held by multiple packages.

      This is especially useful when working with hotfix packages: typically, when using a 10.10-HF version (on a custom repository where the install-packages.sh script was backported), installing the jsf-ui package ends up with an incomplete list of bundles in the nxserver/bundles directory (see details below).

      Commenting out the "rm -rf $backupDir" in the install-packages.sh script fixes the issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.