As a result of changes made in
OPENAM-11547 - the upgrade of AM may fail due to being unable to parse the versions to determine whether an upgrade is needed. At the moment, the general error output will simply state "Unable to parse product versions for comparison" if unable to parse these versions.
One cause of the version not being read has been found to be due to the keystore not being able to be read - e.g. due to a missing storepass file. in this case this information should be reported in the error message to give a clearer indication to the user of what the cause of the problem is.
How to reproduce the issue
Taken from comment within
OPENAM-11547 - I reproduced it by only replacing my keystore.jceks file from a previous deployment (to preserve the amster transport key), but forgot to also move across the storepass file. In the end, the container logs were quite clear in my case as to what the issue was:
View the container logs to confirm the issue and replace the missing storepass file.