DHIS2 Migration Issue: 2.40.8 → 2.41.5 - Blank page after login

Hello,

I am facing an issue after migrating DHIS2.

  • Previous version: DHIS2 2.40.8

  • Target version: DHIS2 2.41.5

  • OS: Windows Server 2022

  • Java: Oracle JDK 17.0.12 (migrated from Java 11)

  • Tomcat: 9.0.89

  • Database: PostgreSQL 16

After installation and configuration, the login page loads correctly. However, after entering the credentials, I only get a blank page.

Steps already taken

  • Upgraded Java from 11 to 17 and reconfigured Tomcat

  • Deployed dhis-2.41.5.war

  • Cleared Tomcat caches (work/ and temp/)

  • Verified the dhis.conf configuration file

Symptoms

  • Browser console (F12) shows the following error:

    Uncaught SyntaxError: Invalid or unexpected token
    
    
  • No critical errors in Tomcat logs (only some warnings)

  • The ROOT folder is not always properly generated during deployment

Question

Could this issue be related to a compatibility problem between DHIS2 2.41.5 and PostgreSQL 16,
or is it more likely a Tomcat/Java deployment issue?

Any guidance to resolve this blank page problem after login would be greatly appreciated.

Thanks in advance for your help. @Gassim @ellen

1 Like

Hi @DRABO_Seydou

Welcome to the DHIS2 Community of Practice!

May I ask you please if you tried to login using the browser’s Guest mode? Testing the Guest mode ensures that the issue isn’t related to browser cache.

If you’re still facing an issue after testing in Guest mode then could you please check the Network requests in the Network tab from the DevTools in your browser (F12 → Network), please share the request/response for the ones that have errors (you can remove the top-level-domain).

Thanks!