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

upgrade from 2.14.8 to 3.10.0 may prevent download of rubygems hosted repository gems

    XMLWordPrintable

    Details

      Description

      I just upgraded from 2.14.8 to 3.10.0 and used the upgrade capability. One of my repositories holds hosted ruby gems. The actual migration mostly worked - the gems were in the new version of Nexus, but bundler and gem could not find them. I would get errors like "Could not find a valid gem"

      I tried using both the group repo (which proxied rubygems.org and held my hosted) as well as my hosted repo. While using the group, I was able to pull gems from rubygems.org.

      The Nexus API listed all gems correctly. I was able to work around this by using the API to loop through all gems, download them, delete them from Nexus, and then I re-submitted them to nexus using the nexus gem. Once I did that, bundler and gem were able to find the gems succesfully.

      It appears as though metadata was lost during the transfer. Not sure exactly what.

      Sonatype added Acceptance Criteria

      • Verify this works with an uncompressed index as well as the compressed solution

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbradicich Damian Bradicich
                Reporter:
                jessebs Jesse Bowes
                Last Updated By:
                Joe Tom
                Team:
                NXRM - Tron
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: