I’m still having trouble with my installation of openMRS and I would like to have some ancestors to some my question.
Do I ignore errors to do The runtime.properties file ? I gather this is created once you run through the initial web interface installation of the platform server?
2 should the runtime.property file be in tthe. home/openmrs-core/webapp/openmrs-runtime.properties Or in the /root/.openmrs/ folder Example :
Server log file output: WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2083) |2017-07-17 00:32:27,537| Unable to find a runtime properties file at /home/openmrs-core/webapp/openmrs-runtime.properties
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2111) |2017-07-17 00:32:27,542| Unable to find properties file: /root/.OpenMRS/openmrs-runtime.properties
WARN - OpenmrsUtil.getRuntimeProperties(2044) |2017-07-17 00:32:27,542| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2083) |2017-07-17 00:32:42,903| Unable to find a runtime properties file at /home/openmrs-core/webapp/openmrs-runtime.properties
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2111) |2017-07-17 00:32:42,906| Unable to find properties file: /root/.OpenMRS/openmrs-runtime.properties
If I want to run the reference application do I need to also have the legacyui omod loaded into the modules folder of my WebServer? If so should I compile the legacyui omod before I copy across the other reference application omods?
What is the best way of loading the reference application omods… One by one through the web interface as part of the administration panel of the open MRs system or just to dump all the files into the modules folder using a copy command at the Command line?
Also get the following error … not sure what it means WARNING 7/17/17 1:00 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
I have the SDK up and running and it’s working well
I just need to work out how to keep it running after I close my putty session??
Thanks Darius … [quote=“darius, post:7, topic:12417”]
opment: are you intending to build your own add-on module? To modify existing ones? Or modify openmrs-core?
Yes I wanting to develop my own solution … probably more just my own modules not the core … why do you ask ?
Darius is right by appending an ampersand ( & ) to the command you want to execute- runs the job in the background, but if you have to interact with the script/command running then it will just stall. Example (final all files that have ‘openmrs’ in it)
root@Server:~# find . -name "*openmrs *" &
You can send an already running foreground job to background as explained below:
Press ‘CTRL+Z’ which will suspend the current foreground job.
Execute bg to make that command to execute in background.
root@Server:~# find . -name “*openmrs *”
+ Stopped find . -name “*openmrs *”
This works better if you are running a server as you can get it all up and running make sure its all tickityboo and then pop it off to the background
You can list out the background jobs with the command root@Server:~# jobs