Upgrade DHIS2 Version 2.39.2.1 to 2.40 Issue

Dear Experts,

I hope this message finds you well, I need calculation feature in data visualizer it is only available in version 2.40 but How can I upgrade ?

These are the issues as shown below.

Logs

14-Sep-2023 09:35:06.182 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Server/Service/Connector] failed to set property [schema] to [https]
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.62
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 31 2022 14:34:15 UTC
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.62.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2016
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk-11.0.15.1
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.15.1+2-LTS-10
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\logging.properties
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
14-Sep-2023 09:35:06.338 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
14-Sep-2023 09:35:06.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
14-Sep-2023 09:35:06.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms2048m
14-Sep-2023 09:35:06.354 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx8192m
14-Sep-2023 09:35:06.354 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk-11.0.15.1\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Java\jre1.8.0_202\bin;C:\Users\GIS\AppData\Local\Microsoft\WindowsApps;C:\Users\GIS\AppData\Local\Programs\Microsoft VS Code\bin;.]
14-Sep-2023 09:35:07.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
14-Sep-2023 09:35:07.245 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1796] milliseconds
14-Sep-2023 09:35:07.416 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
14-Sep-2023 09:35:07.416 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.62]
14-Sep-2023 09:35:07.510 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT.war]
14-Sep-2023 09:36:34.669 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

  • INFO 2023-09-14T09:36:36,169 Context variable dhis2-home points to /DHIS2/ (LogOnceLogger.java [main])
  • INFO 2023-09-14T09:36:36,247 File C:\DHIS2\dhis-google-auth.json does not exist (LogOnceLogger.java [main])
  • INFO 2023-09-14T09:36:36,263 Could not find dhis-google-auth.json (LogOnceLogger.java [main])
  • INFO 2023-09-14T09:36:40,747 Monitoring metric for key monitoring.cpu.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:40,747 Monitoring metric for key monitoring.hibernate.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:40,747 Monitoring metric for key monitoring.uptime.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:40,747 Monitoring metric for key monitoring.jvm.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:40,763 Monitoring metric for key monitoring.dbpool.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:40,779 Monitoring metric for key monitoring.api.enabled is disabled (MetricsEnabler.java [main])
  • INFO 2023-09-14T09:36:50,654 Hibernate configuration loaded: dialect: ‘org.hisp.dhis.hibernate.dialect.DhisPostgresDialect’, region factory: ‘org.hibernate.cache.ehcache.EhCacheRegionFactory’, connection pool max size: null (DefaultHibernateConfigurationProvider.java [main])
  • INFO 2023-09-14T09:36:56,201 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@f0b9d1 [wrapping: update dataset set shortname = 'AWCC Telecom Profile ’ where datasetid = 21019]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,217 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@71e9ced5 [wrapping: update dataset set shortname = ‘Infrastructure, MTN, List of BSC’ where datasetid = 19706]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,217 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@50c780fa [wrapping: update dataset set shortname = ‘Salaam Revenue Indirect Income’ where datasetid = 14618]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,217 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@cdfe6c2 [wrapping: update dataset set shortname = 'AWCC Incoming Voice Communication in Minutes ’ where datasetid = 20763]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,357 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@426ccc71 [wrapping: update dataelementcategoryoption set shortname = ‘default’ where categoryoptionid = 21]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,357 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@16b11365 [wrapping: update dataelementcategoryoption set shortname = 'Roaming ’ where categoryoptionid = 22675]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,373 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@1bcaf64f [wrapping: update dataelementcategoryoption set shortname = ‘Interconnection’ where categoryoptionid = 22676]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,373 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@3bf050e [wrapping: update dataelementcategoryoption set shortname = ‘Grant’ where categoryoptionid = 22678]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,435 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@601a8f99 [wrapping: update dataelementgroup set shortname = ‘Microwave MTN Link Location A’ where dataelementgroupid = 6748]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:56,435 Executing name => shortname migration update: [com.mchange.v2.c3p0.impl.NewProxyPreparedStatement@5162d4b9 [wrapping: update dataelementgroup set shortname = ‘Microwave MTN Link Location B’ where dataelementgroupid = 6749]] (UniqueValueUtils.java [main])
  • INFO 2023-09-14T09:36:58,654 Simple Local Cache instance created for region:‘periodCache’ (SimpleCacheBuilder.java [main])
  • INFO 2023-09-14T09:37:22,311 DHIS 2 Version: 2.40.0, Revision: 46bc579, Build date: Wed May 10 08:25:48 AFT 2023, Database name: dhis2, Java version: 11.0.15.1 (DefaultSystemService.java [main])
  • INFO 2023-09-14T09:37:22,374 Initialized NoOp leader manager with node UUID: ‘d67f14a7-f068-4ade-aae3-7470df4ffa74’ and node ID: ‘’ (NoOpLeaderManager.java [main])
  • INFO 2023-09-14T09:37:24,796 File store configured with provider: ‘filesystem’, container: ‘files’ and location: ‘’. (JCloudsAppStorageService.java [main])
  • INFO 2023-09-14T09:37:24,827 Old apps folder does not exist, stopping discovery (LocalAppStorageService.java [main])
  • INFO 2023-09-14T09:37:24,827 Starting JClouds discovery (JCloudsAppStorageService.java [main])
  • INFO 2023-09-14T09:37:24,842 No apps found during JClouds discovery. (JCloudsAppStorageService.java [main])
  • INFO 2023-09-14T09:37:26,358 File store configured with provider: ‘filesystem’, container: ‘files’ and location: ‘’. (JCloudsFileResourceContentStore.java [main])
  • INFO 2023-09-14T09:37:28,249 Following listeners are registered: [org.hisp.dhis.sms.listener.TrackedEntityRegistrationSMSListener@24d3bda5, org.hisp.dhis.sms.listener.EnrollmentSMSListener@7ca1ae1a, org.hisp.dhis.sms.listener.UnregisteredSMSListener@31aef100, org.hisp.dhis.sms.listener.DataValueSMSListener@12744f44, org.hisp.dhis.sms.listener.TrackerEventSMSListener@6e1eb3e1, org.hisp.dhis.sms.listener.RelationshipSMSListener@2970fa86, org.hisp.dhis.sms.listener.SingleEventListener@39287a07, org.hisp.dhis.sms.listener.DhisMessageAlertListener@603558f2, org.hisp.dhis.sms.listener.J2MEDataValueSMSListener@7f72eda2, org.hisp.dhis.sms.listener.DeleteEventSMSListener@239ccea3, org.hisp.dhis.sms.listener.AggregateDataSetSMSListener@2e9093ce, org.hisp.dhis.sms.listener.SimpleEventSMSListener@36439966, org.hisp.dhis.sms.listener.ProgramStageDataEntrySMSListener@6b2d8092] (SmsConsumerThread.java [main])
  • INFO 2023-09-14T09:37:28,343 SMS consumer started (DefaultSmsConsumerService.java [main])
  • INFO 2023-09-14T09:37:30,968 Scheduled monitoring service (DefaultMonitoringService.java [main])
  • INFO 2023-09-14T09:37:33,671 Starting embedded Artemis ActiveMQ server. (ArtemisManager.java [main])
  • INFO 2023-09-14T09:37:34,780 Initializing Log4j, max file size: ‘100MB’, max file archives: 1 (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,827 Added logger: org.hisp.dhis.resourcetable using file: /DHIS2/\logs\dhis-analytics-table.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,827 Added logger: org.hisp.dhis.analytics.table using file: /DHIS2/\logs\dhis-analytics-table.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,843 Added logger: org.hisp.dhis.dxf2 using file: /DHIS2/\logs\dhis-data-exchange.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,843 Added logger: org.hisp.dhis.dxf2.sync using file: /DHIS2/\logs\dhis-data-sync.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,843 Added logger: org.hisp.dhis.dxf2.metadata using file: /DHIS2/\logs\dhis-metadata-sync.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,858 Added logger: org.hisp.dhis.pushanalysis using file: /DHIS2/\logs\dhis-push-analysis.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,890 Added logger: org.hisp.dhis.audit using file: /DHIS2/\logs\dhis-audit.log (Log4JLogConfigInitializer.java [main])
  • INFO 2023-09-14T09:37:34,890 Added root logger using file: /DHIS2/\logs\dhis.log (Log4JLogConfigInitializer.java [main])
  • WARN 2023-09-14T09:37:40,530 You are asking Spring Security to ignore Ant [pattern=‘/api/ping’]. This is not recommended – please use permitAll via HttpSecurity#authorizeHttpRequests instead. (WebSecurity.java [main])
  • INFO 2023-09-14T09:37:43,687 No Gateway configuration found (DefaultGatewayAdministrationService.java [main])
  • INFO 2023-09-14T09:37:44,202 Executing startup routine [1 of 8, runlevel 2]: defaultAdminUserPopulator (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:44,218 Executing startup routine [2 of 8, runlevel 3]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:44,281 Executing startup routine [3 of 8, runlevel 4]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:45,109 Executing startup routine [4 of 8, runlevel 7]: ModelUpgrader (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:45,171 Executing startup routine [5 of 8, runlevel 12]: ConfigurationPopulator (DefaultStartupRoutineExecutor.java [main])
  • WARN 2023-09-14T09:37:45,171 Encryption not configured: encryption.password in dhis.conf too short, minimum 24 characters required (ConfigurationPopulator.java [main])
  • INFO 2023-09-14T09:37:45,171 Executing startup routine [6 of 8, runlevel 13]: I18nLocalePopulator (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:45,218 Executing startup routine [7 of 8, runlevel 14]: SettingUpgrader (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:45,218 Executing startup routine [8 of 8, runlevel 15]: SchedulerStart (DefaultStartupRoutineExecutor.java [main])
  • INFO 2023-09-14T09:37:45,249 Setting up default jobs. (SchedulerStart.java [main])
  • INFO 2023-09-14T09:37:45,312 Scheduling job: JobConfiguration{uid=‘BFa3jDsbtdO’, name=‘Data statistics’, jobType=DATA_STATISTICS, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:04.045’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:06.062} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,343 Job BFa3jDsbtdO of type DATA_STATISTICS has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,343 Scheduled job: JobConfiguration{uid=‘BFa3jDsbtdO’, name=‘Data statistics’, jobType=DATA_STATISTICS, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:04.045’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:06.062} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,359 Scheduling job: JobConfiguration{uid=‘pd6O228pqr0’, name=‘File resource clean up’, jobType=FILE_RESOURCE_CLEANUP, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:09.803’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=FAILED, lastExecuted=2023-06-13 02:00:11.766} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,374 Job pd6O228pqr0 of type FILE_RESOURCE_CLEANUP has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,374 Scheduled job: JobConfiguration{uid=‘pd6O228pqr0’, name=‘File resource clean up’, jobType=FILE_RESOURCE_CLEANUP, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:09.803’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=FAILED, lastExecuted=2023-06-13 02:00:11.766} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,390 Scheduling job: JobConfiguration{uid=‘uwWCT2BMmlq’, name=‘Remove expired or used reserved values’, jobType=REMOVE_USED_OR_EXPIRED_RESERVED_VALUES, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:09.889’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:11.859} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,390 Job uwWCT2BMmlq of type REMOVE_USED_OR_EXPIRED_RESERVED_VALUES has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,390 Scheduled job: JobConfiguration{uid=‘uwWCT2BMmlq’, name=‘Remove expired or used reserved values’, jobType=REMOVE_USED_OR_EXPIRED_RESERVED_VALUES, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:09.889’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:11.859} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,421 Scheduling job: JobConfiguration{uid=‘vt21671bgno’, name=‘System version update check notification’, jobType=SYSTEM_VERSION_UPDATE_CHECK, cronExpression=‘37 8 5 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:02.791’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 05:08:37 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 05:08:42.035} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,421 Job vt21671bgno of type SYSTEM_VERSION_UPDATE_CHECK has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,421 Scheduled job: JobConfiguration{uid=‘vt21671bgno’, name=‘System version update check notification’, jobType=SYSTEM_VERSION_UPDATE_CHECK, cronExpression=‘37 8 5 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:02.791’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 05:08:37 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 05:08:42.035} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,452 Scheduling job: JobConfiguration{uid=‘Js3vHn2AVuG’, name=‘Validation result notification’, jobType=VALIDATION_RESULTS_NOTIFICATION, cronExpression=‘0 0 7 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.053’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 07:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 07:00:02.514} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,452 Job Js3vHn2AVuG of type VALIDATION_RESULTS_NOTIFICATION has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,452 Scheduled job: JobConfiguration{uid=‘Js3vHn2AVuG’, name=‘Validation result notification’, jobType=VALIDATION_RESULTS_NOTIFICATION, cronExpression=‘0 0 7 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.053’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 07:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 07:00:02.514} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,468 Scheduling job: JobConfiguration{uid=‘YvAwAmrqAtN’, name=‘Dataset notification’, jobType=DATA_SET_NOTIFICATION, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.303’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,468 Job YvAwAmrqAtN of type DATA_SET_NOTIFICATION has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,468 Scheduled job: JobConfiguration{uid=‘YvAwAmrqAtN’, name=‘Dataset notification’, jobType=DATA_SET_NOTIFICATION, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.303’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,499 Scheduling job: JobConfiguration{uid=‘fUWM1At1TUx’, name=‘User account expiry alert’, jobType=ACCOUNT_EXPIRY_ALERT, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.323’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,499 Job fUWM1At1TUx of type ACCOUNT_EXPIRY_ALERT has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,499 Scheduled job: JobConfiguration{uid=‘fUWM1At1TUx’, name=‘User account expiry alert’, jobType=ACCOUNT_EXPIRY_ALERT, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.323’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,515 Scheduling job: JobConfiguration{uid=‘sHMedQF7VYa’, name=‘Credentials expiry alert’, jobType=CREDENTIALS_EXPIRY_ALERT, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.167’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,515 Job sHMedQF7VYa of type CREDENTIALS_EXPIRY_ALERT has been added to the schedule (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,515 Scheduled job: JobConfiguration{uid=‘sHMedQF7VYa’, name=‘Credentials expiry alert’, jobType=CREDENTIALS_EXPIRY_ALERT, cronExpression=‘0 0 2 ? * *’, delay=‘null’, jobParameters=null, enabled=true, inMemoryJob=false, lastRuntimeExecution=‘00:00:00.167’, userUid=‘null’, leaderOnlyJob=true, jobStatus=SCHEDULED, nextExecutionTime=Fri Sep 15 02:00:00 AFT 2023, lastExecutedStatus=COMPLETED, lastExecuted=2023-06-13 02:00:02.297} (DefaultSchedulingManager.java [main])
  • INFO 2023-09-14T09:37:45,687 All startup routines done (DefaultStartupRoutineExecutor.java [main])
    14-Sep-2023 09:37:48.234 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT.war] has finished in [160,724] ms
    14-Sep-2023 09:37:48.249 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
    14-Sep-2023 09:37:48.296 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [161050] milliseconds

Hi @mohammadayub864

Sorry to hear you are facing an issue upgrading your version to 40. Here are some points I noticed:

  1. Please upgrade directly to the latest stable version so instead of version 2.40, upgrade to version 40.0.1



    If that’s already what you are doing, good! :+1:

  2. After upgrading, please restart everything including the instance, tomcat, and your device. And then when you login for the first time, please test again using the Guest mode of your browser ( Browse Chrome as a guest - Computer - Google Chrome Help)

  3. The Catalina.out log you shared doesn’t seem to include the part where this app is loading. It actually doesn’t show any error related to the issue. If you’d share it from the part after you login and until the error appears when you open the dashboard. Please make sure to remove any authentication/sensitive info from the log before sharing.

  4. Like the step above, we need error logs to understand the cause of the issue, so please open the Network tab and the Console drawer in your browser’s DevTools (F12 → Network). Keep it open right before you click login and the error appears in the screen. After the error appears, please check for the errors in the Network log (red text), click on them, and take screenshots including the request and response. The same thing for the console, please try to get the details from the error you see in the console.

  5. Just a reminder, please ensure that you followed each step mentioned in the documentation here: Upgrading - DHIS2 Documentation

I hope that we will be able resolve the issue for you soon so you get to use the Calculation feature in the Data Visualizer app as well as all the new features.

Thank you!

Dear @Gassim,

I hope this message finds you well, I did and followed documentations for upgrading the dhis2 version but the problem with those two versions 2.40.0.0 and 2.40.0.1 thanks to technical team new version released. 2.40.1.0 dated(2023-09-14 17:56:52) now it is working.

if anyone wants to upgrade from 2.39 to 2.40 please do not select 2.40.0.0 and 2.40.0.1 and download the latest version.

With Best Regards
Mohammad Ayub Yousafzai
Kabul , Afghanistan

1 Like

Yes, you are right, it’s recommended to use the latest stable version. Thanks @mohammadayub864 for sharing the solution! :slight_smile:

1 Like