# openmrs-runtime.properties file not being created

**URL:** <https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649>\
**Category:** Implementing\
**Created:** [February 10, 2016, 6:16pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649 "2016-02-10T18:16:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/hgil/32/1932_2.png) [@hgil](https://talk.openmrs.org/u/hgil)\
**Post date:** [February 10, 2016, 6:16pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/1 "2016-02-10T18:16:27Z")

</div>

Hi,

I’m trying to install OpenMRS 1.7 (in order to upgrade it to something greater). I get the error in the attached screenshot. It leads to the databases not being created.

 ![](https://talk.openmrs.org/uploads/default/original/2X/d/d0688e5cc874e209ef1766af65ee73c628295f6f.png)

I’m wondering if installing OpenMRS 1.7 with tomcat requires any special actions. The current lead I’m following is the possibility that the mysql installation did not work properly. (Mysql works through the GUI, but not the terminal.) I also don’t see the path to the mysql bin listed in the $PATH environmental variable. Instead the command below gives me the following output.

hg:~ Harold$ echo $PATH​ ??

(Yes, those question marks were the actual and only output of the command. )

I’m working on a Mac OS X 10.11.3 (El Capitan).

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 10, 2016, 6:42pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/2 "2016-02-10T18:42:58Z")

</div>

Do you have any reason for not upgrading directly to 1.11.5?

---

<div class="post-metadata">

**Author:** ![surangak](https://talk.openmrs.org/user_avatar/talk.openmrs.org/surangak/32/1456_2.png) [@surangak](https://talk.openmrs.org/u/surangak)\
**Post date:** [February 10, 2016, 6:55pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/3 "2016-02-10T18:55:16Z")

</div>

Hi @dkayiwa! basically Harold is part of the Indy based IHIE team who use OpenMRS 1.7 for their NCD work. He needs to set up his system with 1.7 to do some initial testing, after which i’m going to help them to upgrade the IHIE implementation to OpenMRS 1.8.3 or greater. But to move forward with the upgrade to something more recent, we need to make sure that the current system works properly. Given that I’ve never worked with OpenMRS 1.7, I wanted to see if anyone had any advice on how it is setup for testing ☹

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 10, 2016, 7:07pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/4 "2016-02-10T19:07:08Z")

</div>

You will need to paste the full log somewhere and give us the link to it.

---

<div class="post-metadata">

**Author:** ![hgil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/hgil/32/1932_2.png) [@hgil](https://talk.openmrs.org/u/hgil)\
**Post date:** [February 10, 2016, 8:02pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/5 "2016-02-10T20:02:29Z")

</div>

Where can I get the log? I’ll send you a link to the log soon after.

---

<div class="post-metadata">

**Author:** ![tyronehed](https://talk.openmrs.org/letter_avatar/tyronehed/32/5_5575768a8748004e209b776fc1b2916d.png) [@tyronehed](https://talk.openmrs.org/u/tyronehed)\
**Post date:** [July 14, 2016, 2:14pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/6 "2016-07-14T14:14:55Z")

</div>

Harold, What was the outcome of your attempt to get NCD running? Did you succeed?

---

<div class="post-metadata">

**Author:** ![ykee1235](https://talk.openmrs.org/letter_avatar/ykee1235/32/5_5575768a8748004e209b776fc1b2916d.png) [@ykee1235](https://talk.openmrs.org/u/ykee1235)\
**Post date:** [February 3, 2017, 11:00am UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/7 "2017-02-03T11:00:37Z")

</div>

I also have this problem

i’m trying to implement Relationship-Based Access Control for OpenMRS([https://github.com/szrrizvi/openmrs-rebac](https://github.com/szrrizvi/openmrs-rebac)) below is my environment OS: Fedora24 Java version : 1.6.0\_45 Maven version : 3.0.3 mysql version : 5.7.17

I run [mvn clean install -DskipTests=true] on core directory if build successfully, run [mvn jetty:run] on webapp directory.

Also tried deleting ~/.Openmrs directory and re-building but error still says can’t find openmrs-runtime.properties.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 3, 2017, 1:13pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/8 "2017-02-03T13:13:19Z")

</div>

Can you paste the full error log at [pastebin.com](http://pastebin.com)?

---

<div class="post-metadata">

**Author:** ![ykee1235](https://talk.openmrs.org/letter_avatar/ykee1235/32/5_5575768a8748004e209b776fc1b2916d.png) [@ykee1235](https://talk.openmrs.org/u/ykee1235)\
**Post date:** [February 3, 2017, 5:19pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/9 "2017-02-03T17:19:06Z")

</div>

Sure

here it is [http://pastebin.com/RpX0mT8P](http://pastebin.com/RpX0mT8P)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 4, 2017, 5:50pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/10 "2017-02-04T17:50:08Z")

</div>

Did you get this from a log file? If yes, what is the file name?

---

<div class="post-metadata">

**Author:** ![asaidi](https://talk.openmrs.org/letter_avatar/asaidi/32/5_5575768a8748004e209b776fc1b2916d.png) [@asaidi](https://talk.openmrs.org/u/asaidi)\
**Post date:** [February 11, 2019, 9:01am UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/11 "2019-02-11T09:01:43Z")

</div>

![Capture](https://talk.openmrs.org/uploads/default/original/2X/b/b2ddee133a9a5bb1104c557ea15710cdb7618858.jpeg)Can someone help me please? I just spent a week trying to solve this problem but without success

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 11, 2019, 8:42pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/12 "2019-02-11T20:42:07Z")

</div>

Your error is not related to what is being discussed in this thread. Can you start a new thread?

---

<div class="post-metadata">

**Author:** ![ggomez](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ggomez/32/19309_2.png) [@ggomez](https://talk.openmrs.org/u/ggomez)\
**Post date:** [March 4, 2019, 11:23am UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/13 "2019-03-04T11:23:50Z")

</div>

@hgil Were you able to create the **openmrs-runtime.properties file**?

---

<div class="post-metadata">

**Author:** ![mfugale](https://talk.openmrs.org/letter_avatar/mfugale/32/5_5575768a8748004e209b776fc1b2916d.png) [@mfugale](https://talk.openmrs.org/u/mfugale)\
**Post date:** [December 20, 2019, 4:07pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/14 "2019-12-20T16:07:43Z")

</div>

Hey Guys,

Am facing the above error as well @asaidi if you happened to resolve please share the solution. Also I will appreciate if anyone can assist me with this. Thanks

---

<div class="post-metadata">

**Author:** ![samprogramiz](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samprogramiz/32/7117_2.png) [@samprogramiz](https://talk.openmrs.org/u/samprogramiz)\
**Post date:** [April 5, 2020, 6:04pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/15 "2020-04-05T18:04:25Z")

</div>

Openmrs still throws this exception while deploying to tomcat.

> **Error!** A runtime properties file is needed for OpenMRS to start up consistently. OpenMRS is unable to create this file : /var/lib/OpenMRS/openmrs-runtime.properties Because of this error : No such file or directory
> 
> You must correct this before continuing.
> 
> [Retry](http://45.79.37.227:8080/openmrs/retry)

---

<div class="post-metadata">

**Author:** ![hgil](https://talk.openmrs.org/user_avatar/talk.openmrs.org/hgil/32/1932_2.png) [@hgil](https://talk.openmrs.org/u/hgil)\
**Post date:** [April 14, 2020, 4:39pm UTC](https://talk.openmrs.org/t/openmrs-runtime-properties-file-not-being-created/4649/16 "2020-04-14T16:39:17Z")

</div>

I was not able to get the file to work on my machine. Suranga was able to get it to work on his easily so it seemed to be related to my machine. Regardless I stopped working on this project soon after my initial post so there’s no additional support needed on my end. Thanks!
