Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.31.0
-
Fix Version/s: 3.33.1
-
Component/s: Database PostgreSQL, Migration
-
Epic Link:
-
Notability:2
Description
Attempting to migrate only maven repositories and server settings from Nexus 2 to Nexus 3 with postgres DB fails due to all permissions being transferred which contains formats not supported by new databases in Nexus 3.
Steps to reproduce:
1) Setup Nexus 2 instance that has Maven and NPM repo content
2) Set up new Nexus 3 instance configured with Postgres DB
3) Start migration selecting server config and repository content. At repository list, only maven repos are selectable, so select all maven repos.
4) During the prepare phase some of the steps will remain initializing and the continue button is greyed out and migration will not move further.
Nexus 3 logs show:
2021-06-22 15:46:04,861+0100 INFO [plan-executor-15-thread-1] admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:Upgrade configuration: security.roles, phase:PREPARE) 2021-06-22 15:46:04,861+0100 INFO [plan-executor-15-thread-1] admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:Upgrade configuration: security.user-role-mappings, phase:PREPARE) 2021-06-22 15:46:04,861+0100 INFO [plan-executor-15-thread-1] admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:Upgrade configuration: capability.iq, phase:PREPARE) 2021-06-22 15:46:04,862+0100 INFO [plan-executor-15-thread-1] admin com.sonatype.nexus.migration.plan.StepExecutor - Step not runnable: Step(name:End phase: PREPARE, phase:PREPARE) =
Notice that IQ migration also fails.
I suspect it due to migration transfers all permissions including ones related to NPM.