I am trying to update our sonatype nexus (OSS 3.13.0-01).
I am using a Dockerfile with a newer nexus version and mount it on the actual data directory. It all goes well but it starts as PRO and asks for license. How do I force it to launch as OSS ?
I am trying to pass the nexus-default.properties but still starts as PRO edition…
What does $workdir/etc/nexus.properties have in it? Also be aware that if any system properties are getting passed in (e.g. “java -Dnexus-edition=…”) they could also be taking precedence.
FYI, the nexus-default.properties is not meant to be edited. It is there as a default for new installations, you are supposed to edit the one Rich mentioned. It appears they are not the same (unless you pasted differently). I suggest taking a backup of both files, then making them the same (copying default to $data-dir) and seeing if that helps.
If it does, don’t edit the default one going forward as suggested=)
Best,
Joe
Thanks guys it worked. I had to pass it to the default.properties before the:
CMD [“sh”, “-c”, “${SONATYPE_DIR}/start-nexus-repository-manager.sh”]
And then it starts as OSS-feature