openmrs-runtime.properties file not being created


(Harold Gil) #1

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.

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).


(Daniel Kayiwa) #2

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


(Suranga Kasthurirathne) #3

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 :frowning:


(Daniel Kayiwa) #4

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


(Harold Gil) #5

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


(Tyrone Hed) #6

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


(yeonghun ki) #7

I also have this problem

i’m trying to implement Relationship-Based Access Control for OpenMRS(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.


(Daniel Kayiwa) #8

Can you paste the full error log at pastebin.com?


(yeonghun ki) #9

Sure

here it is http://pastebin.com/RpX0mT8P


(Daniel Kayiwa) #10

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


(SAIDI Aimé) #11

Can someone help me please? I just spent a week trying to solve this problem but without success


(Daniel Kayiwa) #12

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