I have installed the DHIS2 on windows 10, I am using Tomcat 9 and DHIS2 2.35.8. Installations are done smoothly and I am able to access it as well, but the issue is that whenever I try to create orgUnits, User, Tracker, and anything it allows me to fill in the details but as soon as I click on the save it doesn’t save it and generate an error.
Failed to load resource: the server responded with a status of 404 ()
maintenance-200c395ec895609255b3.js:1 API request failed with status 404
Request: GET …/api/29/userDataStore/maintenance
I am not able to resolve this error anybody can please help me what i am doing wrong .
I am glad the installation went smoothly, and I hope you are using Java 11! Similarly to that topic, are you using HTTP or HTTPS when you access the instance? Would you like to share the configuration settings (without including sensitive data) if the suggested solution from the other post doesn’t work for you?
Hey Thank you for helping me out, I have tried the mentioned solution I have added
scheme=“https” in connection, server.xml but dhis2 stop working and when I removed it, started working again. so now what should I do
Okay thanks @Tooba! I tried to search a bit more into this and it seems that similar errors (not exactly the same) but issues occur when the tomcat installation (and maybe the Java installation) aren’t compatible with the DHIS2 instance (https://jira.dhis2.org/browse/DHIS2-7269).
I see that you have installed Tomcat 9 which is good but maybe check if there are any updates that are required. So my suggestion which I took from the related topics mentioned in that old jira issue, is that you try to check your tomcat installation. And for Java, I’d say it’s Java 11? It’s the recommended version now.
Additionally, you would have to clear the browser cache and from the Data Administration app maybe do some maintenance.