Nexus upgrade from 2.14 to 3.7

379 views
Skip to first unread message

Gil Shinar

unread,
Dec 27, 2017, 8:13:28 AM12/27/17
to Nexus Users
Hi,

We are trying to upgrade from nexus 2.14 to 3.7. We have enabled the upgrade agent on the 2.14 and the 3.7 instances.
Started the wizard, all seemed to work properly and migration started properly as well. Looking at the CPU I can see that it works hard and that is just fine.
When the migration gets to the public repo, it writes "initialized" in the GUI and the log keeps on poping: admin com.sonatype.nexus.migration.ui.ProgressComponent - read PREPARE

After an hour~, the CPU stops working hard, the GUI still shows "initialized" and the log keeps on poping the above message.
At the first time, we left it like that overnight (we have around 180GB of data) but in the morning (after more than 12 hours) it stayed the same.
I have tried a few more times with the same results.

I have tried other versions of nexus 3 but looks like they are not compatible to 2.14.

What am I missing?

Thanks

Brian Fox

unread,
Dec 27, 2017, 9:58:33 AM12/27/17
to Gil Shinar, Nexus Users
Check the release notes to ensure the version of 2.14.x you have matches the Nexus 3.x you need


Repository Manager 2.14.5

See the complete release notes for all resolved issues.

Repository Manager 3.x Upgrade Compatibility

Repository Manager 2.14.5 is directly upgrade compatible with following releases, although upgrading to the latest 3.6.1 release is recommended:

Upgrading from an older Nexus 2.x version directly to Nexus 3.5.0 or higher is explicitly blocked - upgrade your current Nexus 2.x version to 2.14.5 first.


--
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/840b5d18-19a8-45ad-a318-9bb111a2e96d%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.

Gil Shinar

unread,
Dec 27, 2017, 10:20:53 AM12/27/17
to Nexus Users, g...@tikalk.com
We have upgraded our 2.12 to the latest 2.14.5 as described in the upgrade procedure. 
Where have you find to which 3.X version should a 2.14.5 be upgraded to? As described in $sub, we have tried to 3.7.

I'll try to upgrade to 3.6.1 as recomended and will report back

Thanks

On Wednesday, December 27, 2017 at 4:58:33 PM UTC+2, brianf wrote:
Check the release notes to ensure the version of 2.14.x you have matches the Nexus 3.x you need


Repository Manager 2.14.5

See the complete release notes for all resolved issues.

Repository Manager 3.x Upgrade Compatibility

Repository Manager 2.14.5 is directly upgrade compatible with following releases, although upgrading to the latest 3.6.1 release is recommended:

Upgrading from an older Nexus 2.x version directly to Nexus 3.5.0 or higher is explicitly blocked - upgrade your current Nexus 2.x version to 2.14.5 first.

On Wed, Dec 27, 2017 at 8:13 AM, Gil Shinar <g...@tikalk.com> wrote:
Hi,

We are trying to upgrade from nexus 2.14 to 3.7. We have enabled the upgrade agent on the 2.14 and the 3.7 instances.
Started the wizard, all seemed to work properly and migration started properly as well. Looking at the CPU I can see that it works hard and that is just fine.
When the migration gets to the public repo, it writes "initialized" in the GUI and the log keeps on poping: admin com.sonatype.nexus.migration.ui.ProgressComponent - read PREPARE

After an hour~, the CPU stops working hard, the GUI still shows "initialized" and the log keeps on poping the above message.
At the first time, we left it like that overnight (we have around 180GB of data) but in the morning (after more than 12 hours) it stayed the same.
I have tried a few more times with the same results.

I have tried other versions of nexus 3 but looks like they are not compatible to 2.14.

What am I missing?

Thanks

--
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...@glists.sonatype.com.

Gil Shinar

unread,
Dec 27, 2017, 10:45:00 AM12/27/17
to Nexus Users, g...@tikalk.com
BTW, I went over all the prerequisites as you have mentioned. We have two core CPUs although it says to have at least 4 for versions 3.X and 8GM of RAM memory which should be enough (or not?).

In the 3.6.1 logs I see:
2017-12-27 17:32:41,214+0200 INFO  [plan-executor-8-thread-1]  admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:Prepare repository for upgrade: public, phase:PREPARE)
2017-12-27 17:32:41,214+0200 INFO  [plan-executor-8-thread-1]  admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:End phase: PREPARE, phase:PREPARE)

Indeed the problematic repository is the public repository.
Does that mean anything?

Thanks

msu...@sonatype.com

unread,
Dec 27, 2017, 11:47:20 AM12/27/17
to Nexus Users, g...@tikalk.com
Hi Gil,

Please can you raise a jira in https://issues.sonatype.org under the project NEXUS. Attach the Nexus support zip from both 3.6.1 and 2.14.5. We can then take a look at the logs.


Regards,
Mahendra

Gil Shinar

unread,
Dec 27, 2017, 11:52:21 AM12/27/17
to msu...@sonatype.com, Nexus Users
Sure, will do.

Thanks

Gil Shinar

unread,
Dec 28, 2017, 6:46:25 AM12/28/17
to Nexus Users, msu...@sonatype.com

Gil Shinar

unread,
Dec 28, 2017, 10:34:25 AM12/28/17
to Nexus Users, msu...@sonatype.com

An update

I haven't mentioned it before but during the preparation phase, 4 repos failed.

I have unchecked their checkbox and only then the migration started.

Reply all
Reply to author
Forward
0 new messages