Why do I get “Failed to reload configuration: unstable environment: Found one or more servers with different version Config Reload denied.” Error?

ISSUE: An Artifactory configuration change (e.g. create new repository) fails with the following error.

 

[ERROR] (o.a.c.CentralConfigServiceImpl:308) – Failed to reload configuration: unstable environment: Found one or more servers with different version Config Reload denied.

java.lang.RuntimeException: unstable environment: Found one or more servers with different version Config Reload denied.

CAUSE:

This error message shows up when HA nodes have different versions of Artifactory running.

RESOLUTION

To resolve the issue, all nodes need to be upgraded to the same version (requires a rolling restart). For more information, visit our documentation on “Upgrading Artifactory High Availability“.