Repository URL unreachable after Nexus 2 -> 3 migration

1,798 views
Skip to first unread message

Richard

unread,
Nov 17, 2016, 9:14:45 AM11/17/16
to Nexus Users
Hi,

We just migrated our N2 repos to N3, migration was a success.

Our repo URL are now unreachable : GETing our public group throws 404, PUTing to snapshots throws 405.

Before upgrade (N2), our public group URL was http://hostname:8082/nexus/content/groups/public/
After upgrade (N3), URL is now http://hostname:8082/nexus/repository/public/

Snapshot N2: http://hostname:8082/nexus/content/repositories/snapshots/
Snapshot N3: http://hostname:8082/nexus/repository/snapshots/

Reading 'Migrating to Nexus Repository 3 – Easy Peasy', I assumed that URL would remain constants:

All external settings.xml, .npmrc and similar config files using repository URLs such as http://repository.example.com:8081/nexus/content/groups/public will continue to work in Nexus Repository 3, so you wont have to reconfigure any client tools.

 I may have done something wrong during migration, could you provide some help on this subject?

Thanks in advance!

Rich Seddon

unread,
Nov 17, 2016, 9:18:54 AM11/17/16
to Richard, Nexus Users
You can have Nexus serve over the old URL's, see here:


Note that when this is enabled artifacts will be available over both the old and new style URL's.  The UI will continue to show the new style URL's.

Rich

--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/4138dad3-be48-448a-9727-17c0c1a0ef8b%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.

Richard

unread,
Nov 17, 2016, 11:14:12 AM11/17/16
to Nexus Users
Totally missed this step.
It works like a charm now, thanks for your answer!
Reply all
Reply to author
Forward
0 new messages