while working on the patch upgrade Confluence Update 7.19.8 to 7.19.16 to fix one major vulnerable, we found the installer asking for the existing installation directory and it's picking up a wrong directory, then it's failing with the error "No directory found in specified location".
We have tried to change the HOME directory in the .bash_profile to the correct confluence home /var/atlassian/application-data
export HOME=/var/atlassian/application-data
export PATH=$HOME/bin:$PATH
echo $HOME
We re-tried the upgrade again using confluence user but we got the same issue again. It's pending with the Atlassian team as it's happened in a lower environment. Do we have any way to fix this?