How to solve DHIS 2 Migration and merger error UnsatisfiedDependencyException

I am migrating and merging DHIS2 from 2.35.8 to 2.38.1.1. The 2.35.8 have some customization code on the core and I was successfully able to merge and create a war file. The problem comes when deploying and running the war file. The errors are as follows

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘webMvcConfig’: Unsatisfied dependency expressed through field ‘userSettingService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.user.UserSettingService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-core-2.38.1.1.jar!/org/hisp/dhis/user/DefaultUserSettingService.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.user.UserService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-core-2.38.1.1.jar!/org/hisp/dhis/user/DefaultUserService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.user.UserStore’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-core-2.38.1.1.jar!/org/hisp/dhis/user/hibernate/HibernateUserStore.class]: Unsatisfied dependency expressed through constructor parameter 5; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.security.acl.AclService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-acl-2.38.1.1.jar!/org/hisp/dhis/security/acl/DefaultAclService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.hisp.dhis.schema.SchemaService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-schema-2.38.1.1.jar!/org/hisp/dhis/schema/DefaultSchemaService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.hisp.dhis.schema.DefaultSchemaService]: Constructor threw exception; nested exception is java.lang.UnsupportedOperationException at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:659) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639)

Please help me on this how to tackle the problems

Hi @Beruck

Is there a chance to share the full Catalina.out log file (without the sensitive info)? These errors don’t seem to give enough information.

Would also like to ask for confirmation you followed the upgrade instructions in
Upgrading - DHIS2 Documentation?

Thank you!

HI @Gassim
Thank you for your response, please find the attached full log file
localhost.2022-10-07.doc (52.2 KB)

Best,
Beruck

Hi
It might be that you are experiencing a bug that has been fixed in later patches.

Would you please first try to update the version from 2.35.8 to 2.35.14 and then upgrade to 2.38.1.1?

Hope this helps! Thank you!

Hi @Gassim,
Thanks, I will try I will tell you the result.

1 Like

Hi @Gassim ,
I am able to run the successfully now. But what I got is after login to The dashboard and other apps are empty.
when checking the console I see that all API call failed
it say
API request failed with status 404
Request: GET …/api/38/schemas/organisationUnit?
139.cbfe0477.chunk.js:2 API request failed with status 404
Request: GET …/api/38/schemas/userGroup?
all api calles are 404

Why the api/38/ is added?
when I call http://localhost:8080/dhis/api/resource it perfectly working.

http://localhost:8080/dhis/api/38/schemas/eventChart

http://localhost:8080/dhis/api/38/schemas/visualization
http://localhost:8080/dhis/api/38/schemas/map
http://localhost:8080/dhis/api/38/schemas/eventReport
http://localhost:8080/dhis/api/38/schemas/report
http://localhost:8080/dhis/api/38/schemas/userGroup
http://localhost:8080/dhis/api/38/schemas/organisationUnit

For now these API calls that are not working
Can you help with this?
Thanks

Hi @Beruck

Good job, glad it worked as a start. So now you are in version 2.38.1.1? api/38 is the version number.

Could you please share the Catalina.out log (without the sensitive info)?

Thanks!

Hi @Gassim, How are you? Here The catalina log

Log

18-Oct-2022 16:36:16.719 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property ‘relaxedQueryChars’ to ‘[,]’ did not find a matching property.
18-Oct-2022 16:36:16.838 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.30
18-Oct-2022 16:36:16.838 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Dec 7 2019 16:42:04 UTC
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.30.0
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk-11.0.11
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-LTS-194
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
18-Oct-2022 16:36:16.839 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
18-Oct-2022 16:36:16.840 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
18-Oct-2022 16:36:16.889 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
18-Oct-2022 16:36:16.889 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
18-Oct-2022 16:36:16.889 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
18-Oct-2022 16:36:16.890 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
18-Oct-2022 16:36:16.890 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
18-Oct-2022 16:36:16.891 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF8
18-Oct-2022 16:36:16.891 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
18-Oct-2022 16:36:16.892 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
18-Oct-2022 16:36:16.892 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
18-Oct-2022 16:36:16.892 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
18-Oct-2022 16:36:16.893 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
18-Oct-2022 16:36:16.893 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m
18-Oct-2022 16:36:16.894 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m
18-Oct-2022 16:36:16.894 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments 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.11\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\apache-maven-3.8.6\bin;C:\Program Files\nodejs;C:\Users\Beruck\AppData\Local\Microsoft\WindowsApps;C:\Users\Beruck\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Beruck\AppData\Local\GitHubDesktop\bin;C:\Users\Beruck\AppData\Roaming\npm;.]
18-Oct-2022 16:36:17.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
18-Oct-2022 16:36:18.136 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
18-Oct-2022 16:36:18.164 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,962] milliseconds
18-Oct-2022 16:36:18.305 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
18-Oct-2022 16:36:18.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.30]
18-Oct-2022 16:36:18.421 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis.war]
18-Oct-2022 16:38:23.352 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.
18-Oct-2022 16:39:35.066 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [161] milliseconds.
18-Oct-2022 16:39:37.640 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis.war] has finished in [199,219] ms
18-Oct-2022 16:39:37.642 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs]
18-Oct-2022 16:39:37.759 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [117] ms
18-Oct-2022 16:39:37.767 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\host-manager]
18-Oct-2022 16:39:37.920 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\host-manager] has finished in [157] ms
18-Oct-2022 16:39:37.921 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
18-Oct-2022 16:39:37.992 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [71] ms
18-Oct-2022 16:39:37.998 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT]
18-Oct-2022 16:39:38.051 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [52] ms
18-Oct-2022 16:39:38.058 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
18-Oct-2022 16:39:38.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
18-Oct-2022 16:39:38.095 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [199,931] milliseconds

I have seen this before. What Java version are you using? I remember it might also have to do with access rights.

Hi @Gassim,
if helpful, Here the localhost access log contains

Log

0:0:0:0:0:0:0:1 - tomcat [18/Oct/2022:16:39:52 +0300] “GET /manager/html HTTP/1.1” 200 18002
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:39:57 +0300] “GET /dhis/ HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:39:58 +0300] “GET /dhis/dhis-web-commons/security/login.action HTTP/1.1” 200 5961
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:39:59 +0300] “GET /dhis/api/staticContent/logo_front HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:03 +0300] “GET /dhis/dhis-web-dashboard/service-worker.js.map HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:03 +0300] “GET /dhis2/dhis-web-dashboard/service-worker.js.map HTTP/1.1” 404 763
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:03 +0300] “GET /dhis/dhis-web-commons/security/login.action HTTP/1.1” 200 5961
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:13 +0300] “POST /dhis/dhis-web-commons-security/login.action HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:13 +0300] “GET /dhis/ HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:15 +0300] “GET /dhis/dhis-web-commons-about/redirect.action HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:16 +0300] “GET /dhis/dhis-web-dashboard/ HTTP/1.1” 200 15230
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:16 +0300] “GET /dhis/api/system/info HTTP/1.1” 200 1355
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/dhis-web-dashboard/service-worker.js HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/dhis-web-dashboard/static/css/main.20d3ce1f.chunk.css.map HTTP/1.1” 200 358
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/dhis-web-dashboard/static/css/140.476fce4f.chunk.css.map HTTP/1.1” 200 5633
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/dhis-web-dashboard/static/js/main.99a24566.chunk.js.map HTTP/1.1” 200 20019
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:17 +0300] “GET /dhis/api/38/me?fields=id HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:18 +0300] “GET /dhis/api/38/systemSettings/applicationTitle HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:18 +0300] “GET /dhis/api/38/me?fields=authorities,avatar,email,name,settings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:18 +0300] “GET /dhis/dhis-web-dashboard/static/js/140.cc2fb979.chunk.js.map HTTP/1.1” 200 1955770
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:18 +0300] “GET /dhis/dhis-web-dashboard/static/css/139.b1723ca0.chunk.css.map HTTP/1.1” 200 6119
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:18 +0300] “GET /dhis/dhis-web-dashboard/static/css/app.d9225840.chunk.css.map HTTP/1.1” 200 50523
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/systemSettings/helpPageLink HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/me/dashboard HTTP/1.1” 200 58
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/dhis-web-commons/menu/getModules.action HTTP/1.1” 200 5827
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/dhis-web-dashboard/static/js/app.baf9ad58.chunk.js.map HTTP/1.1” 200 480584
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/schemas/eventChart?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 112
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/schemas/visualization?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 115
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/schemas/map?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 105
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/schemas/eventReport?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 113
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:19 +0300] “GET /dhis/api/38/schemas/report?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 108
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/staticContent/logo_banner HTTP/1.1” 302 77
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/schemas/userGroup?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 111
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/schemas/organisationUnit?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 118
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/system/info HTTP/1.1” 200 1355
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/schemas/dashboard?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/me/authorization HTTP/1.1” 200 6011
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/apps HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/dhis-web-dashboard/static/js/139.cbfe0477.chunk.js.map HTTP/1.1” 200 7995483
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D HTTP/1.1” 200 8944
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/staticContent/logo_banner HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:20 +0300] “GET /dhis/api/38/attributes?fields=%3Aall%2CoptionSet%5B%3Aall%2Coptions%5B%3Aall%5D%5D&paging=false HTTP/1.1” 200 186961
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:22 +0300] “GET /dhis/dhis-web-dashboard/service-worker.js HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:40 +0300] “GET /dhis/dhis-web-dashboard/ HTTP/1.1” 200 15230
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/system/info HTTP/1.1” 200 1355
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/38/me?fields=id HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/38/me/dashboard HTTP/1.1” 200 58
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/38/systemSettings/helpPageLink HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/api/38/systemSettings/applicationTitle HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:41 +0300] “GET /dhis/dhis-web-commons/menu/getModules.action HTTP/1.1” 200 5827
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/me?fields=authorities,avatar,email,name,settings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/staticContent/logo_banner HTTP/1.1” 302 77
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/staticContent/logo_banner HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/dashboard?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/me/authorization HTTP/1.1” 200 6011
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/map?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 105
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/eventChart?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 112
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/report?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 108
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/eventReport?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 113
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/visualization?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 115
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/organisationUnit?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 118
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/schemas/userGroup?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 111
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/userSettings HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/apps HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:42 +0300] “GET /dhis/api/38/system/info HTTP/1.1” 200 1355
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:43 +0300] “GET /dhis/api/38/attributes?fields=%3Aall%2CoptionSet%5B%3Aall%2Coptions%5B%3Aall%5D%5D&paging=false HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:43 +0300] “GET /dhis/api/38/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:44 +0300] “GET /dhis/dhis-web-dashboard/service-worker.js HTTP/1.1” 304 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:46 +0300] “GET /dhis/api/ HTTP/1.1” 302 -
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:40:47 +0300] “GET /dhis/api/resources HTTP/1.1” 200 3918
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:41:30 +0300] “GET /dhis/api/38/schemas/eventChart?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 178
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:41:45 +0300] “GET /dhis/api/38/schemas/eventChart HTTP/1.1” 404 178
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:41:59 +0300] “GET /dhis/api/38/schemas/ HTTP/1.1” 200 724987
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:42:26 +0300] “GET /dhis/api/schemas/attribute HTTP/1.1” 200 65288
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:42:32 +0300] “GET /dhis/api/38/schemas/attribute HTTP/1.1” 200 65288
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:43:09 +0300] “GET /dhis/api/38/schemas/visualization?fields=apiEndpoint%2Cname%2CdisplayName%2Cauthorities%2Csingular%2Cplural%2Cshareable%2Cmetadata%2Cklass%2CidentifiableObject%2Ctranslatable%2Cproperties%5Bhref%2Cwritable%2Ccollection%2CcollectionName%2Cname%2CpropertyType%2Cpersisted%2Crequired%2Cmin%2Cmax%2Cordered%2Cunique%2Cconstants%2Cowner%2CitemPropertyType%2CtranslationKey%2CembeddedObject%5D HTTP/1.1” 404 181
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:43:23 +0300] “GET /dhis/api/38/schemas/visualization HTTP/1.1” 404 181
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:43:31 +0300] “GET /dhis/api/38/schemas/ HTTP/1.1” 200 724987
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:43:54 +0300] “GET /dhis/api/38/schemas/ HTTP/1.1” 200 724987
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:44:04 +0300] “GET /dhis/api/38/schemas/visualization HTTP/1.1” 404 181
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:44:13 +0300] “GET /dhis/api/schemas/visualization HTTP/1.1” 404 181
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:55:04 +0300] “GET /dhis/api/schemas/organisationUnit HTTP/1.1” 404 184
0:0:0:0:0:0:0:1 - - [18/Oct/2022:16:55:19 +0300] “GET /dhis/api/38/schemas/organisationUnit HTTP/1.1” 404 184

Hi @Gassim,
I am using
java version “11.0.16” 2022-07-19 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.16+11-LTS-199)

Might be a similar issue


But @Beruck you said that you can load everything but the dashboards are empty?

Please could you try to run the Analytics Tables export in Data Administration app and then clear the server cache from the Data Administration app → Maintenance

After that check again using the browser’s guest mode please

@Gassim
Thanks, I will do that

1 Like

I have the same issue where dashboards are blank and the events chart not opening.
Did you manage to resolve this issue? If so how did you do it?

Thank you