I've recently taken over an environment running Sonatype Nexus. A few weeks in, we had a power failure which resulted in the NAS box which contains the Nexus data being offline for a few hours for a disk rebuild. Since Nexus has been back online, our standard repositories and users have been missing due to Nexus resetting to defaults (it's a known bug/feature according to the Nexus JIRA).
However, I haven't yet found a way to point Nexus back towards "our" conf directory. I've set $NEXUS_HOME to /share/nexus (where /conf resides) and also $NEXUS_WORK. However, restarting Tomcat still sees Nexus pick up the data that it's been using since the power loss.
Can anyone help point me to what I need to set to get Nexus to pick up the correct conf directory?
Nexus 2.7, CentOS Linux.
Thanks in advance...