Start up issues

Hi it seems my nexus keeps crashing after a kubernetes upgrade.

Im seeing this error in the nexus.log

    2020-02-18 01:10:00,013+0000 INFO  [quartz-3-thread-4]  *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change WAITING -> RUNNING
  2020-02-18 01:10:00,027+0000 INFO  [quartz-3-thread-4]  *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change RUNNING -> WAITING (OK)
  2020-02-18 01:12:10,011+0000 ERROR [OrientDB WAL Flush Task (component)]  *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSegmentV2$FlushTask - Error during WAL background flush
java.io.IOException: Stale file handle
        at java.io.RandomAccessFile.length(Native Method)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSegmentV2$FlushTask.commitLog(OLogSegmentV2.java:180)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSegmentV2$FlushTask.run(OLogSegmentV2.java:124)
        at com.orientechnologies.common.concur.executors.SubExecutorService$RunnableTask.run(SubExecutorService.java:296)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

The “stale file handle” error indicates there is a problem with the NFS volume that the work directory is mounted on. This is not a problem in Nexus Repo, it is an external problem.

I will note that we don’t recommend using NFS for the work directory:

https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-FileSystemstoavoid