Skip to content

Upgrade from Nexus 3.39 to 3.70.4 Failing. #919

@ramya-raavi-od

Description

@ramya-raavi-od

Background:

We are in the process of upgrading Sonatype Nexus from version 3.39 to 3.70.4.
During the upgrade from 3.39 to 3.70.4, the upgrade was successful for versions 3.39 to 3.40.0, and 3.40.0 to 3.40.1. However, upon attempting the upgrade to 3.41.0 (and beyond), the following errors occurred, and the migration was not successful.

Upgrade Procedure: Upgrade from 3.39 to 3.40.1 (Confirmed working):
Next, from 3.40.1 to 3.41.0 fails.

Stopped Nexus

Attempted to start Nexus but encountered errors during startup (described below).

Error Logs: Log Entry: 2026-02-11 09:06:25,274+0000 WARN [FelixStartLevel] SYSTEM org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl - Problem upgrading Maven from 1.3 to 1.4 com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select from repository WHERE repository_name = 'maven-releases' DB name="config" at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:3421) 2026-02-11 09:06:25,273+0000 ERROR [FelixStartLevel] SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception 3E913845 in storage plocal:/nexus-data/db/config: 2.2.37 (build a7541e7ceeabf592dd9a7b2928b6c023cbc73193, branch 2.2.x) com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select from repository WHERE repository_name = 'maven-releases' DB name="config"

Upgrade failed

2026-02-11 09:06:25,620+0000 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.upgrade.internal.orient.UpgradeServiceImpl - Failed transition: NEW -> STARTED java.lang.IllegalArgumentException: Property 'attributes.maven' is null, it is possible to set a value with dotted notation only on non-null properties. at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:1055) at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:914) at com.orientechnologies.orient.core.sql.OSQLHelper.bindParameters(OSQLHelper.java:401)

Error Summary:

The upgrade process fails when trying to execute commands on the maven-releases repository.
The error in the log suggests that the maven-releases repository is causing issues during the migration, likely due to missing or null properties in the attributes.maven field.
The OrientDB command execution fails, and the database migration cannot be completed.
As a result, Nexus cannot complete the transition from NEW -> STARTED.

Questions:

What is the cause of this error during the upgrade from 3.39 to 3.41.0?
Could you provide steps on how to resolve the null property issue in the maven-releases repository, or any workaround to successfully complete the upgrade?
Current Environment:
Nexus Version: 3.39 to 3.41.0 (error encountered after 3.40.1)

Thank you for your assistance in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions