We deployed Nexus3 as a StatefulSet on Kubernetes a few years ago. We always face the same error right after a Kubernetes automatic upgrade (on GKE). It happens at least every month.
Right after the upgrade, the pod is in CrashLoopBackOff status with the error: Error installing bundle listed in startup.properties
. For instance, today, the error is: Error installing bundle listed in startup.properties with url: reference:file:org/sonatype/nexus/nexus-task-logging/3.70.1-02/nexus-task-logging-3.70.1-02.jar and startlevel: 8
.
We usually resolve the issue by deleting the StatefulSet, mounting the nexus-etc PVC (with this tool), deleting the karaf/startup.properties, and upgrading Nexus to the latest release.
Since we’re using OrientDB, we cannot start the 3.71.0 release because we didn’t run the migration tool to upgrade from OrientDB to H2, and we’re now unable to start the 3.70.1 anymore because of the previous error.
I checked the permissions and tried to delete some files on the persistent volume for the /etc/ folder, but we’re still unable to start Nexus.
How can we resolve this issue?