Nexus-3.38.1 oss refuses to start up

We employ ansible (thethoteam role) to provision a dedicated nexus server with version nexus-3.38.1 oss. Apparently our latest playbook contains some yaml that nexus can’t handle and refused to start up, Provisioning the server with the previous version won’t help, nexus refuses to startup

2022-06-07 12:41:11,977+0100 INFO  [FelixStartLevel]  *SYSTEM org.ehcache.jsr107.Eh107CacheManager - Registering Ehcache MBean javax.cache:type=CacheStatistics,CacheManager=file./opt/nexus/nexus-3.38.1-01/etc/fabric/ehcache.xml,Cache=docker-proxy#negative-cache

2022-06-07 12:41:12,281+0100 WARN  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.repository.config.internal.ConfigurationFacetImpl - Validation failed; 1 constraints violated:

  1) must not be null, type: class org.sonatype.nexus.repository.config.internal.ConfigurationFacetImpl$SectionWrapper, property: attributes[group].memberNames, value: null



2022-06-07 12:41:12,299+0100 ERROR [FelixStartLevel]  *SYSTEM org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl - Failed transition: NEW -> STARTED

javax.validation.ConstraintViolationException: attributes[group].memberNames: must not be null

at org.sonatype.nexus.repository.manager.internal.RepositoryImpl.validate(RepositoryImpl.java:174)

at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.newRepository(RepositoryManagerImpl.java:198)

at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.restoreRepositories(RepositoryManagerImpl.java:275)

at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.doStart(RepositoryManagerImpl.java:257)

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:193)

at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:57)

at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:199)

at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:111)

at org.sonatype.nexus.extender.NexusContextListener.moveToPhase(NexusContextListener.java:319)

at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:216)

at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1597)

at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

at java.lang.Thread.run(Thread.java:819)

2022-06-07 12:41:12,300+0100 ERROR [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Failed to start nexus

Any idea where we should look to fix this disaster …

Thank you very much in advance,

The exception seems to say you have a null for the group members, you’d need to manually modify the database to remove of fix the repository configuration

Thank you very much for your reply!

We have found the error by querying the orientdb repository “table”
Unfortunately we were not able to find instructions on how to update/insert tuples into to orientdb repository “table”

So we end up restoring the three orientdb databases from backup, losing a day of work, but nexus is up again.

And we have had the orientdb backup task configured to run hourly (in stead of daily) in case we an orientdb error again.