Failed to upgrade to build 5300/5301

Failed to upgrade to build 5300/5301

Issue: Upgrade fails while attempting to upgrade to the build 5300/5301.

Cause: Upgrade fails due to a n
ecessary system property required for logging slow queries is missing.

This issue will arise while attempting to upgrade to the 5300/5301(Mandatory build) because of the changes made on the code level.

Trace:

Caused by: java.lang.Error: com.zoho.logs.common.config.ConfigException:L100:ERROR: Mandatory file (logging.properties) to use logagent is not defined. Please configure logging.properties in WEB-INF/classes dir (if SAS build) or in JVM args. For more details, please refer https://learn.zoho.com/portal/zohocorp/knowledge/manual/logagent/article/logging-properties


Solution: 
  • Restore the Analytics Plus backup
  • Open the "UpdateManager.sh(Linux) or UpdateManager.bat"(Windows) under following location <AnalyticsPlus>/bin and update the below property accordingly.

For linux

Actual Entry:

$JAVA -Xmx1024m  $JAVA_OPTS -DisPostgreBuild=true -Dtier-type=BE -Djava.library.path=./lib/native -Dtools.discSpaceCheck=false -Dtier-id=BE1 -cp $CLASSPATH com.adventnet.tools.update.installer.UpdateManager -u conf $*
Modified Entry:
$JAVA -Xmx1024m  $JAVA_OPTS -DisPostgreBuild=true -Dtier-type=BE -Djava.library.path=./lib/native -Dtools.discSpaceCheck=false -Dtier-id=BE1 -Djava.util.logging.config.file=./conf/logging.properties -cp $CLASSPATH com.adventnet.tools.update.installer.UpdateManager -u conf $*

For Windows 

Actual Entry:

"%JAVA_HOME%\bin\java" -Xmx1024m  %JAVA_OPTS% -DisPostgreBuild=true -Dtier-type=BE -Djava.library.path=.\lib\native -Dtools.discSpaceCheck=false -Dtier-id=BE1 com.adventnet.tools.update.installer.UpdateManager -u conf %*
Modified Entry:
"%JAVA_HOME%\bin\java" -Xmx1024m  %JAVA_OPTS% -DisPostgreBuild=true -Dtier-type=BE -Djava.library.path=.\lib\native -Dtools.discSpaceCheck=false -Dtier-id=BE1 -Djava.util.logging.config.file=./conf/logging.properties com.adventnet.tools.update.installer.UpdateManager -u conf %*

  1. Save the changes and proceed to upgrade.

Note:
This issue will be fixed from the version 5330


                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Upgrade issue in build 3200

                        Upgrade issue in build 3200 The below cases were identified in local system and couple of customer's system during 3200 upgrade. Issue 1: PGSQL migration fails: Since this upgrade will upgrade pgsql version, pgsql has its own upgrade prior to ...
                      • Analytics Plus upgrade from build 4270 to 4280 failed.

                        Error trace: Jul 28, 2019 9:41:06 AM  [com.adventnet.tools.update.installer.Backup]  [SEVERE] : ERR:The Jar File to be updated is not presentlib\hadoop-0.13.0-core.jar Text instructions: 1. Stop the Analytics Plus services. 2. Delete the folders ...
                      • Unable to integrate with OpManager

                        Issue: When trying to integrate Analytics Plus with OpManager, REST API would show as failed, though the connectivity is fine. Log trace on Analytics Plus Serverout: Aplus build  :Below 3250 OPM Build : 12.3.007 Error: ...
                      • Upgrade Key steps

                        Key steps that must be followed without which the upgrade may fail.  All Analytics Plus Services must be stopped. AnalyticsPlus folder must be given "Everyone" folder permission with "Full Control" before upgrade (Can be revoked after upgrade) ...
                      • Upgrade failure

                        Issue: Upgrade fails with error - "Error occurred :: Irrevertable exception occurred" Analysis: Tried to start database manually, but it fails to start. Antivirus has been disabled/uninstalled. Log Traces: Aug 10, 2016 4:02:37 PM ...