Nexus running on docker failed to run after update

I was upgrading my nexus image from 3.19 to 3.30, after upgrade nexus is failing to start with below error:

2021-03-08 11:34:01,911+0000 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Failed to start nexus java.lang.IllegalStateException: Missing recipe: composer-hosted at com.google.common.base.Preconditions.checkState(Preconditions.java:589) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.recipe(RepositoryManagerImpl.java:160) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.newRepository(RepositoryManagerImpl.java:178) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.restoreRepositories(RepositoryManagerImpl.java:270) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.doStart(RepositoryManagerImpl.java:252) 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:321) at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:218) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1431) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:748) 2021-03-08 11:34:01,914+0000 ERROR [FelixStartLevel] *SYSTEM Felix - Framework listener delivery error. java.lang.IllegalStateException: Missing recipe: composer-hosted at com.google.common.base.Preconditions.checkState(Preconditions.java:589) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.recipe(RepositoryManagerImpl.java:160) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.newRepository(RepositoryManagerImpl.java:178) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.restoreRepositories(RepositoryManagerImpl.java:270) at org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl.doStart(RepositoryManagerImpl.java:252) 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:321) at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:218) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1431) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:748) 2021-03-08 11:34:01,946+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Uptime: 1 minute, 55 seconds and 157 milliseconds (nexus-oss-edition/3.30.0.01)

Missing recipe: composer-hosted

Composer has never been part of Nexus, probably you added it or used a custom distribution. You need to either install that plugin again or remove the repository.

Thanks for reply Matthew!!

I don’t remember installing plugin manually, anyways how can i install plugin again when nexus is not running and where can i find this plugin. It would be great if you help in that.

Probably you’ll need to ask in the Github issues for a new release of the plugin.

We are facing this problem now with composer-proxy. We’ve updated from 3.42 to 3.51 and the docker container is no longer starting. We’re rebuilt the plugin ourselves and update the versions in the POM.xml. We’ve run out of ideas. Is anyone able to throw a piece of advice our direction?

Thanks in advance.