When attempting to upgrade WAAE R12.0 to R12.1 in Linux, the installer is trying to do a fresh install instead of performing an upgrade as it should.
Release : 12.1
Customer was missing following 2 variables being set in /etc/profile.CA.
AUTOSYS_INSTALL_LOCATION=/opt/CA/WorkloadAutomationAE
AUTOSYS_CSUTILS=/opt/CA/WorkloadAutomationAE/autosys/csutils
Installer checks the value of AUTOSYS_INSTALL_LOCATION and if not found, it considers it as FRESH installation
From the cawa_installer log, I see following lines
2023-02-15 10:38:28,808 [main] DEBUG com.ca.autosys.db.helper.SystemUtil(118) - value=AUTOSYS_INSTALL_LOCATION=
2023-02-15 10:38:28,808 [main] DEBUG com.ca.autosys.db.helper.SystemUtil(127) - finalValue :
2023-02-15 10:38:28,809 [main] INFO com.ca.wla.ae.installer.customaction.InstallationModeDetector(114) - Value of autosys globalVars environment variable:
2023-02-15 10:38:28,809 [main] INFO com.ca.wla.ae.installer.customaction.InstallationModeDetector(127) - Autosys Installation location Environment Variable does not exists, this is a FRESH INSTALLATION