Platform Version:
Platform 1.11.4 WAR (for Enterprise)
Question:
I deployed the WAR file and during installation of OpenMRS it says that it can’t find my runtime properties file.
in the “Troubleshooting Installation” Wiki page it says the runtime properties file should be in this directory:
Under C:\Users\YOURUSERNAME\AppData\Roaming\OpenMRS
I opened the Roaming folder and there is no OpenMRS folder and obviously no runtime properties file.
What do I do?
Thanks.
P.s: I’m using windows 10
@hossam, this bug was recently committed to the master, but I don’t think has been backported. See issue:
Not sure, why though. @dkayiwa any reason not to backport this?
Its a 1-line fix, so may be you can do that yourself and build. or you can set an environment variable with name = OPENMRS_APPLICATION_DATA_DIRECTORY with its value = directory where you want the folder like C:\Users\YOURUSERNAME\AppData\Roaming\OpenMRS
then remember to do a system restart, if you created a system env var. If you create a user env var, just restarting tomcat will find the folder/create the folder with the installation able to create runtime properties file
I appreciate that you think I can do that but I just knew OpenMRS existed 3 weeks ago and after that I knew MySQL and Tomcat existed then I had to learn some HTML language and database essentials from scratch.
I’m really sorry. I wish I could do it myself but I’m very overwhelmed as is.
I also tried Platform 1.9.10 war file. Deployed on tomcat 7 and i also got the same problems. Worked on Environment variables as suggested and restarted tomcat but no success. OpenMRS folder is not being created on AppData folder.
The installation is running on a former created “openmrs-runtime.properties” file
open this link… C:\Application Data\OpenMRS
Replace C: with the Local Disk Drive you are using.
then delete the existing file