Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-22351

R PACKAGES file lost on upgrade to 3.20.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.20.0, 3.20.1
    • Fix Version/s: 3.21.0
    • Component/s: R
    • Sprint:
      NXRM Trinity Sprint 20
    • Notability:
      3

      Description

      When upgrading to Nexus Repository Manager (NXRM) 3.20.x from earlier versions, the R PACKAGES file is lost/unavailable on upgrade.

      To reproduce:

      1. On a < 3.20 NXRM version e.g. 3.18 install the R-Repository plugin (https://repo1.maven.org/maven2/org/sonatype/nexus/plugins/nexus-repository-r/)
      2. Configure a hosted R repository and upload a package (note - proxy repos are also affected).
      3. Attempt to download the PACKAGES.gz file and confirm that it exists e.g. http://localhost:8081/repository/r-hosted/src/contrib/PACKAGES.gz
      4. Upgrade to 3.20.x
      5. Post upgrade, attempt to access the PACKAGES file.

      Expected: src/contrib/PACKAGES.gz is available and can be downloaded.

      Actual: request to src/contrib/PACKAGES.gz returns a 404.

      Workaround: Uploading a new package after the upgrade should trigger the PACKAGES file to be recreated. The following should be logged in the nexus.log after the upload:

      INFO [event-6-thread-31] admin org.sonatype.nexus.repository.r.internal.hosted.RPackagesBuilderFacetImpl - Rebuilding R PACKAGES.gz metadata for repository r-hosted

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sonofreichuk Sergii Onofreichuk
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Wes Wannemacher
              Team:
              Original Nexus - Trinity - not for new tickets
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title

                    PagerDuty