I am attempting to do the initial setup of OpenMRS, but it seems that I have run into some error that has to do with the database. I have a fresh database waiting on my local instance, password and everything line up as far as I am aware, but I get an error saying OpenMRS is not able to start.
I left out the password as I don’t think its necessary to include that. The reason its using root user is because I was having an issue with using MySQL 8.0 where the authentication method being used by the auto-generated account (when doing the Database setup) was out of date.
Essentially the setup for the database would create a user that used the authentication method that 8.0 didn’t seem to recognize. Whenever I tried to manually change the user that it was generating to use a different authentication method it would think the user didn’t exist anymore and just remake it.
I have version 2.1 checked out and it builds just fine now, but when i do mvn jetty:run from the webapp folder it brings me to the initial setup. I go through the simple installation, give it my password for the root user, and when I get to the part with the loading bars it fails:
Since it’s initial setup I would assume its going to make the openmrs-runtime.properties file durring the setup process. But it can’t since for some reason it can’t connect to the database. The windows service is running and workbench says its running as well.
I remember reading somewhere that 8.0 was okay to use, if I can find where that was should it be altered to state that its recommended to stick with 5.6 or 5.7?
So it seems to be running now, but after getting the REST module and running mvn clean install on it the server wont pick up the module and still has the default
" If you are seeing this page, it means that the OpenMRS Platform is running successfully, but no user interface module is installed. Learn about the available User Interface Modules"
Everything appeared to work properly when I ran it, so my question is where/how am I supposed to put the files from github for the modules in order for mvn clean install to build it properly so it will be picked up when running mvn jetty:run from the webapp folder?
Where am I supposed to get that? I am meaning to work on the RESTWS module, so I thought forking the git for it and making the branch with the issue id was what I was supposed to do to get the modules. then run mvn clean install within the newly cloned folder.
Sure thing, I tried already but it didn’t seem to result in anything as no folders were being generated. I assumed it was because I wasn’t working within the correct location when going through those instructions. Is there anywhere in particular I should be running that SDK setup? like in the cloned files i have for the core? Or does it not matter?