Nexus fails to start, spinning on "Storage facet cleanup" tasks


#1

I was trying to move nexus into our nomad cluster, which required using EFS for storage. When starting up nexus spend 5 hours running “Storage facet cleanup” tasks.

Now going to back to a dedicated instance with the data directory on a mounted EBS volume, I am seeing the same thing. What could be happening?

2019-01-31 00:50:00,014+0000 INFO  [quartz-3-thread-8]  *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change WAITING -> RUNNING
2019-01-31 00:50:00,020+0000 INFO  [quartz-3-thread-8]  *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change RUNNING -> WAITING (OK)
...

#2

Hang on. The above may be a decoy. It may even have started with EFS as the store. When accessed via haproxy the UI is not rendering. But when I go direct to the IP:PORT it does…


#3

Ok, will have test with EFS again. It was just matter not having http-request add-header X-Forwarded-Proto https in the haproxy config.


#4

All decoy. It was simply the missing X-Forwarded-Proto header.