We have been facing an unusual error with our DHIS2 instance since last week 10-30. Until then all the admin/super users had been functioning normally. Suddenly the maintenance module’s menus/items ceased to display for admin users. Below, I’ve attached screenshots indicating the error, which presents a network error stating, “The namespace ‘maintenance’ was not found,” and additionally, “No row with the given identifier exists: [org.hisp. this.user.User#74581618]”.
Furthermore, the creation of a new user admin/super role in instance allows the module to work seamlessly.
Following are detail DHIS2 version we are using and looking for a response.
DHIS2 Version: 2.38.4
Build Version: 4119e92
Build Date:June 30, 2023 at 12:56
OS : Linux
OS architecture: amd64
@Gassim Looking for your support.
Did you try this with one user or different users?
All the admin users are showing same result.
After investigation with trying different changes to the roles, finally resolved the admin user issue.
Our instance organisational hierarchy begins with MoPH > Cotenant > Country > Province > Region > District > and Health Facility. Initially, all administrative users were tagged at the Country level. The DHIS2 organization endpoint was encountering an error while opening the maintenance window. However, after reassigning the admin users to MoPH level and de-tagging them from the Country level the issue resolved.
We still don’t know why it starts behaving like this. Any suggestion @austin OR @Gassim.