New license-file in containerized environment

Hi!

We have setup 3 nodes via Docker compose and the license file is located in /nexus-data/etc/sonatype-license.lic set in nexus.properties following the recommendations.

When i replace the old license for a new valid one (got it from our supplier) on the first node a restart the container there is no message that on this node the license is valid.
In the Administration interface the node is still not licensed with the new file and the expiry message is still there for the node.
Documentation says that the key is put to the database until all nodes are licensed, to compare the keys on all nodes.

Since I don’t want to risk any outages changing the files on all 3 nodes at the same time, I want to clarify if this is default behaviour or if I can see the “real” license status anywhere.

thx

Roland

Hi,

As you’re a customer you can also file a support ticket for this instead.

I believe Nexus will only use the license from the property if there is not one installed, for containers if you are treating them as ephemeral you should use the property and keep it current.

I don’t have the version where this was implemented, but for modern versions of Nexus Repository If you provide a license to the UI or REST API for a week (iirc) it will provide it to other nodes.

Hi!
Since it was an update of the existing license I could simply do it via WebUI and all nodes got the new license already.

thx