I installed OpenMRS Enterprise version few days ago and notice that anytime the server restarts due to power outage or something, the installation keeps reverting back to initialsetup. Is this normal?
I have same issues, but using docker installation.
I restarted the docker container, and it fixed by it self.
My guess is the openmrs failed to connect to the database at the first run.
I have fixed the issue. The problem was from the directory, I gave permission to the tomcat dir so as to allow tomcat to create the openmrs-runtime.properties file. I restarted the tomcat service and it registers the file.
@septiadi yes, most times openmrs fail to connect to the database at first run if permission is not granted to the directory.