Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
Problem
APTARE upgrade fails because the Tomcat home directory does not exist at /home/tomcat
Error Message
Error in upgrade.log:/opt/aptare/upgrade/logs/upgrade.log
UPGRADE FAILED.../opt/aptare/upgrade/ant/sc_upgrade.xml:158: Tomcat home directory does not exist at /home/tomcat
Cause
If the customers environment is using a shared auto-mounted directory for local users and the home path for Tomcat is not located at /home/tomcat then the upgrade will fail.
Solution
Modify the sc_upgrade.xml file and set the Tomcat home directory with the following steps:
Edit:/opt/aptare/upgrade/ant/sc_upgrade.xml
Change this line with the tomcat home directory value:<property name="tomcat.home" value="/home/tomcat"/>
To where tomcat home is located in your environment for example: /opt/users/tomcat<property name="tomcat.home" value="/opt/users/tomcat"/>
Rerun the upgrade script to complete the upgrade:/opt/aptare/upgrade/upgrade.sh