Maintainence page is blank post upgrading to v2.40.4.1/v 2.40.3

Hello community,

We upgraded our DHIS2 instance from 2.40.3 to 2.40.4.1. Post upgrade the maintenance page is blank with few organisation endpoints failing like these:

/api/40/organisationUnits?fields=id%2CdisplayName%2Cname&userDataViewFallback=true&paging=false

/api/29/organisationUnits?filter=id:in:%5BtYu6xoKeabI%5D&fields=%3Aall%2CdisplayName%2Cpath%2CpublicAccess%2Caccess%2Cchildren%5Bid%2CdisplayName%2Cpath%2Cchildren%3A%3AisNotEmpty%2CpublicAccess%2Caccess%5D&paging=false

we noticed that these endpoints are hitting http requests instead of https. And gives no response with status blocked:mixed-content.
There are other endpoints that properly hits https and gives no error.
We noticed the same error post upgrade from 2.37.9 to 2.40.3.

Also when we hit /api/system/info for the upgraded instances. The contextPath stores http instead of https. Wanted to understand where this contextPath http is getting taken from.

Need your assistance. Please let us know if something was missed while upgrade .

Thanks!

Hi @Sweety_Sharma

Is this the legacy Maintenance app or the new Maintenance app? Would you please share the Catalina.out log errors (without sensitive/authentication info)?

Thanks!

Hi,

This got resolved. Thanks
While upgrading the dhis to v2.40.4.1 along with upgrading the core container we also upgraded nginx to latest because of which the maintenance page was blank. After reverting back to our old nginx container the maintenance is all up!

1 Like