Nexus 3.70.2-01 OrientDB failed to start after migrating to H2

Hello, I have a Nexus machine that I want to upgrade to Nexus 3.70. According to the upgrade document, I migrated OrientDB to H2 and updated JDK to 17. When I successfully completed the migration and started my Nexus, I found a problem that caused the Nexus to fail to start. I can only restore it. Can you help me investigate the cause of this problem?
Below is the error log

org.sonatype.nexus.repository.content.upgrades.SearchIndexUpgrade_1_25 - Marking cloudrenderingwebcomponent repository for search index update
2024-09-28 01:43:04,366+0800 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.security.apikey.upgrade.ApiKeyUpgrade_1_31 - Updating primary key for api_key. table_exists:true index:false change_required:false
2024-09-28 01:43:04,556+0800 ERROR [FelixStartLevel] *SYSTEM org.flywaydb.core.internal.command.DbMigrate - Migration of schema “PUBLIC” to version “1.33 - BrowseNodeMigrationStep_1_33” failed! Please restore backups and roll back database and code!
2024-09-28 01:43:04,582+0800 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.upgrade.datastore.internal.UpgradeServiceImpl - Failed transition: NEW → STARTED
org.sonatype.nexus.upgrade.datastore.UpgradeException: Migration failed !
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:104)
at org.sonatype.nexus.upgrade.datastore.UpgradeManager.migrate(UpgradeManager.java:34)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeServiceImpl.doStart(UpgradeServiceImpl.java:53)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:206)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57)
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:210)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:121)
at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:334)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:231)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1597)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException: Migration failed !
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:385)
at org.flywaydb.core.internal.command.DbMigrate.lambda$applyMigrations$1(DbMigrate.java:275)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:274)
at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:247)
at org.flywaydb.core.internal.command.DbMigrate.lambda$migrateAll$0(DbMigrate.java:141)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate$1.call(TableLockingExecutionTemplate.java:36)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate.execute(TableLockingExecutionTemplate.java:31)
at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:102)
at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139)
at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:141)
at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:98)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:172)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:124)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:205)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:100)
… 13 common frames omitted
Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:69)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.lambda$execute$0(JavaMigrationExecutor.java:48)
at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:27)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.execute(JavaMigrationExecutor.java:47)
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:377)
… 30 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to apply browse_node id/parent datatype changes
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:66)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.lambda$0(BrowseNodeMigrationStep_1_33.java:52)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrate(BrowseNodeMigrationStep_1_33.java:52)
at org.sonatype.nexus.upgrade.datastore.internal.NexusJavaMigration.migrate(NexusJavaMigration.java:78)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:55)
… 34 common frames omitted
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table “MAVEN2_BROWSE_NODE” not found; SQL statement:
ALTER TABLE maven2_browse_node ALTER COLUMN node_id SET DATA TYPE BIGINT; [42102-224]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:514)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8064)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8045)
at org.h2.command.Parser.tableIfTableExists(Parser.java:8574)
at org.h2.command.Parser.columnIfTableExists(Parser.java:8581)
at org.h2.command.Parser.parseAlterTableAlter(Parser.java:8171)
at org.h2.command.Parser.parseAlterTable(Parser.java:8157)
at org.h2.command.Parser.parseAlter(Parser.java:7211)
at org.h2.command.Parser.parsePrepared(Parser.java:650)
at org.h2.command.Parser.parse(Parser.java:592)
at org.h2.command.Parser.parse(Parser.java:564)
at org.h2.command.Parser.prepareCommand(Parser.java:483)
at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639)
at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166)
at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93)
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316)
at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:337)
at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:58)
… 39 common frames omitted
2024-09-28 01:43:04,589+0800 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Failed to start nexus
org.sonatype.nexus.upgrade.datastore.UpgradeException: Migration failed !
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:104)
at org.sonatype.nexus.upgrade.datastore.UpgradeManager.migrate(UpgradeManager.java:34)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeServiceImpl.doStart(UpgradeServiceImpl.java:53)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:206)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57)
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:210)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:121)
at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:334)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:231)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1597)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException: Migration failed !
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:385)
at org.flywaydb.core.internal.command.DbMigrate.lambda$applyMigrations$1(DbMigrate.java:275)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:274)
at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:247)
at org.flywaydb.core.internal.command.DbMigrate.lambda$migrateAll$0(DbMigrate.java:141)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate$1.call(TableLockingExecutionTemplate.java:36)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate.execute(TableLockingExecutionTemplate.java:31)
at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:102)
at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139)
at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:141)
at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:98)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:172)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:124)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:205)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:100)
… 13 common frames omitted
Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:69)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.lambda$execute$0(JavaMigrationExecutor.java:48)
at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:27)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.execute(JavaMigrationExecutor.java:47)
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:377)
… 30 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to apply browse_node id/parent datatype changes
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:66)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.lambda$0(BrowseNodeMigrationStep_1_33.java:52)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrate(BrowseNodeMigrationStep_1_33.java:52)
at org.sonatype.nexus.upgrade.datastore.internal.NexusJavaMigration.migrate(NexusJavaMigration.java:78)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:55)
… 34 common frames omitted
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table “MAVEN2_BROWSE_NODE” not found; SQL statement:
ALTER TABLE maven2_browse_node ALTER COLUMN node_id SET DATA TYPE BIGINT; [42102-224]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:514)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8064)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8045)
at org.h2.command.Parser.tableIfTableExists(Parser.java:8574)
at org.h2.command.Parser.columnIfTableExists(Parser.java:8581)
at org.h2.command.Parser.parseAlterTableAlter(Parser.java:8171)
at org.h2.command.Parser.parseAlterTable(Parser.java:8157)
at org.h2.command.Parser.parseAlter(Parser.java:7211)
at org.h2.command.Parser.parsePrepared(Parser.java:650)
at org.h2.command.Parser.parse(Parser.java:592)
at org.h2.command.Parser.parse(Parser.java:564)
at org.h2.command.Parser.prepareCommand(Parser.java:483)
at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639)
at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166)
at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93)
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316)
at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:337)
at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:58)
… 39 common frames omitted
2024-09-28 01:43:04,593+0800 ERROR [FelixStartLevel] *SYSTEM Felix - Framework listener delivery error.
java.lang.RuntimeException: org.sonatype.nexus.upgrade.datastore.UpgradeException: Migration failed !
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:243)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1597)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.sonatype.nexus.upgrade.datastore.UpgradeException: Migration failed !
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:104)
at org.sonatype.nexus.upgrade.datastore.UpgradeManager.migrate(UpgradeManager.java:34)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeServiceImpl.doStart(UpgradeServiceImpl.java:53)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:69)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:206)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57)
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:210)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:121)
at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:334)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:231)
… 3 common frames omitted
Caused by: org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException: Migration failed !
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:385)
at org.flywaydb.core.internal.command.DbMigrate.lambda$applyMigrations$1(DbMigrate.java:275)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:274)
at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:247)
at org.flywaydb.core.internal.command.DbMigrate.lambda$migrateAll$0(DbMigrate.java:141)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate$1.call(TableLockingExecutionTemplate.java:36)
at org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate.execute(TransactionalExecutionTemplate.java:55)
at org.flywaydb.core.internal.jdbc.TableLockingExecutionTemplate.execute(TableLockingExecutionTemplate.java:31)
at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:102)
at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139)
at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:141)
at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:98)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:172)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:124)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:205)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
at org.sonatype.nexus.upgrade.datastore.internal.UpgradeManagerImpl.migrate(UpgradeManagerImpl.java:100)
… 13 common frames omitted
Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:69)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.lambda$execute$0(JavaMigrationExecutor.java:48)
at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:27)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.execute(JavaMigrationExecutor.java:47)
at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:377)
… 30 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to apply browse_node id/parent datatype changes
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:66)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.lambda$0(BrowseNodeMigrationStep_1_33.java:52)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrate(BrowseNodeMigrationStep_1_33.java:52)
at org.sonatype.nexus.upgrade.datastore.internal.NexusJavaMigration.migrate(NexusJavaMigration.java:78)
at org.flywaydb.core.internal.resolver.java.JavaMigrationExecutor.executeOnce(JavaMigrationExecutor.java:55)
… 34 common frames omitted
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table “MAVEN2_BROWSE_NODE” not found; SQL statement:
ALTER TABLE maven2_browse_node ALTER COLUMN node_id SET DATA TYPE BIGINT; [42102-224]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:514)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:223)
at org.h2.message.DbException.get(DbException.java:199)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8064)
at org.h2.command.Parser.getTableOrViewNotFoundDbException(Parser.java:8045)
at org.h2.command.Parser.tableIfTableExists(Parser.java:8574)
at org.h2.command.Parser.columnIfTableExists(Parser.java:8581)
at org.h2.command.Parser.parseAlterTableAlter(Parser.java:8171)
at org.h2.command.Parser.parseAlterTable(Parser.java:8157)
at org.h2.command.Parser.parseAlter(Parser.java:7211)
at org.h2.command.Parser.parsePrepared(Parser.java:650)
at org.h2.command.Parser.parse(Parser.java:592)
at org.h2.command.Parser.parse(Parser.java:564)
at org.h2.command.Parser.prepareCommand(Parser.java:483)
at org.h2.engine.SessionLocal.prepareLocal(SessionLocal.java:639)
at org.h2.engine.SessionLocal.prepareCommand(SessionLocal.java:559)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1166)
at org.h2.jdbc.JdbcPreparedStatement.(JdbcPreparedStatement.java:93)
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:316)
at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:337)
at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
at org.sonatype.nexus.repository.content.upgrades.BrowseNodeMigrationStep_1_33.migrateFormat(BrowseNodeMigrationStep_1_33.java:58)
… 39 common frames omitted
2024-09-28 01:43:04,626+0800 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Uptime: 8 minutes, 6 seconds and 415 milliseconds (nexus-oss-edition/3.71.0.06)
2024-09-28 01:43:04,627+0800 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Shutting down
2024-09-28 01:43:04,635+0800 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Stop RESTORE
2024-09-28 01:43:04,636+0800 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Stop STORAGE
2024-09-28 01:43:04,638+0800 INFO [FelixStartLevel] *SYSTEM org.elasticsearch.node - [459BBA34-23EB79C7-122B3323-E2E289E7-43C44026] stopping …

I think you should keep your java version to 8 or 11 while doing this migration and when you are trying to upgrade from 3.70.* to 3.71.* then you can keep java version as 17.

Hi Sakshum
I am using Java8, and this is the complete log of my recent upgrade

update log
20241017_nexus.zip (3.6 MB)

nexus-db-migrator-log
logs.zip (116.3 KB)