Unable to update data model using liquibase.xml. Module: Cohort Module

Hi, I am facing a problem when i try to add the cohort module. It gives a Error “Error while trying to start module Unable to update data model using liquibase.xml. Module: Cohort Module”.

Please i need your help!!! Thank you.

Share the server side log via pastebin.com

Here is the log: WARN - SessionImpl.createCriteria(1832) |2022-08-12T16:35:30,382| HHH90000022: H - Pastebin.com

@dkayiwa i do not know if i missed something, i really need to add this module. I need your assistance. I re-installed now cohort module 3.0

Here is what i get when i click on the module: “cohort Dashboard” , “cohort patient search” or "cohort search"

If you could post the full server log, it should be possible to help you out, but the couple of messages you posted are not really related at all.

@ibacher , i try to install cohort module. The first time i installed the version 2.1 it gives the error " Unable to update data model using liquibase.xml. Module: Cohort Module" and i now i installed the lastest version 3.0 as you can see the images the module start but i cannot access the module. When i click on cohort dashboard , cohort patient search or cohort search i get an error “HTTP Status 404 -Not found”

Here is the full log now: WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2033) |2022-08-15T10:31:32,0 - Pastebin.com

@dkayiwa Any idea on how to install the cohort module please, any omod that i installed does not work. I really need your help.

This does not look like the full log. Which log file did you get these contents from?

@dkayiwa the first log file i got it from the file named “openmrs.log”. I can also get the server log on which i copy and paste here if you can please have a look: Currently logged in as Super User Log out My Profile HelpOpenMRS Logo - Pastebin.com.

Thank you

The openmrs.log file does not usually have as much detail as the tomcat logs.

@dkayiwa here is where i get the server log when i access openmrs

Its the same log that i got from the file named openmrs.log.

@dkayiwa when i check on this server https://dev3.openmrs.org/ cohort module is installed as you can see

still getting the same problem to access the module when we click cohort dashboard, cohort patient search or cohort search

In your tomcat installation folder, check for the logs folder.

When i access the SDK folder which i think Tomcat resides i do not find the catalina.out file. The only log that i find there is the openmrs.log file. So far I checked this path /tmp/work/Tomcat/localhost/openmrs/ but i do not find it. Do you have any other path , that would help me a lot.

If you are running the sdk, use a command like this:

mvn openmrs-sdk:run --log-file logfilename.txt

Then attach the generated log file, which should be in the folder from which you run the above command.

@dkayiwa this is what i get when i execute this command “mvn openmrs-sdk:run --log-file logfilename.txt” it does not generate any file

In which folder are you looking for this file?

The log file should be generate from the folder “server” the one that i selected when i execute this command.

The file should be in the folder returned when you run this command: pwd

yes here is the file logfilename.txt

I copy and paste here: [INFO] Scanning for projects...[INFO] ---------------------------------------- - Pastebin.com