Default database for Nexus OSS 3.70.0 and 3.70.1

Hi All,

Currently we have Nexus OSS 3.69.0 with Orient DB as database as per the details mentioned in this link Upgrading to 3.71.0+ for Instances Using OrientDB, a Pre-3.70.1 Nexus Repository Version, and Java 8 or 11
Once we upgrade from 3.69.0 to either 3.70.0 or 3.70.1 the primary database will still be OrientDB ? Once we take the database back up by running the task from nexus and then execute the database migrator utility and start the instance, then db will be migrated to H2 and it will act as primary DB ? Please let us know if this is correct ?

Good morning,

3.71.0 is the version where H2 becomes the default database for new installations and OrientDB is no longer supported.

When you upgrade to 3.70.x, you will get your downloads from our OrientDB downloads page.

After you upgrade, start your instance - you will still be using OrientDB and Java 8 or 11 at this point.

Then, you proceed to migrating your database to H2 (while still using Java 8/11). Make sure you use the same DB Migrator version as your Nexus Repository version (e.g., 3.70.1 DB migrator for 3.70.1 Nexus Repository instance). You’ll also get the DB Migrator from the OrientDB downloads page.

You’ll start back up after migrating your database and will then be running 3.70.x using an H2 database and Java 8/11.

At that point, you will be able to upgrade to 3.71.0+ but will also need to upgrade to Java 17. You can’t upgrade to Java 17 until you are on H2 though since OrientDB doesn’t support it.

Let me know if this is still confusing!

1 Like

Thank You @ldurant for your response !!
To summarize below is the plan for me:

  1. Upgrade the Nexus OSS version from 3.69.0 to 3.70.1
  2. Run the Admin - Export databases for backup task for OrientDB databases from upgraded Nexus OSS 3.70.1 version.
  3. Stop the nexus instance
  4. Run the database migrator for version 3.70.1. as per the details mentioned in Upgrading to 3.71.0+ for Instances Using OrientDB, a Pre-3.70.1 Nexus Repository Version, and Java 8 or 11
  5. Start the Nexus instance

At this point nexus oss version will be 3.70.1 and primary db will be H2.
If now we want to upgrade the version from 3.70.1 to 3.71.* then we need to upgrade the java to java 17 for version 3.71.* to work properly .

Please let me know if anything is incorrect or I miss anything ?

@ldurant Awaiting your response on the above query. Please let me know. Thank You!

Also be careful if you have Community Plugin for like Composer or such, theese will not work, see: Nexus Repository Database Options - Its very hidden on the page, but its in the 2 level drop down under “not supported for X and Y”

1 Like