Error while installing PIH distribution on SDK server

Should I directly copy paste this command? To which module does this path - api/src/main/resources belong to?

cd into the directory for the mirebalais module. Then run the deploy command (or openmrs-module-mirebalais/ which runs the deploy with the correct parameters).

It’s throwing the following error on browser: and server side logs are:

It’s not finding the mirebalais config json file, but you wrote that you did this step:

It’s looking for this file:

  • Cloned and to a folder on desktop

  • Executed mvn openmrs-sdk:setup -DserverId=PIHServer3 -Ddistro=org.openmrs.module:mirebalais:1.2-SNAPSHOT with following configuration Port: 8080 (default), Database: Mysql 5.6, Database uri : ‘jdbc:mysql://localhost:3306/@DBNAME@’ (default), JDK :jdk1.8.0_201

  • Executed mvn openmrs-sdk:deploy -DserverId=pihServer -Ddistro=api/src/main/resources/

  • Executed mvn openmrs-sdk:run -DserverId=PIHServer3

  • Installed the database by going to http://localhost:8080/openmrs

  • Added pih.config=mirebalais,mirebalais-humci and pih.config.dir= C:\Users\hp\Desktop\Reports new\mirebalais-puppet\mirebalais-modules\openmrs\files\config to files in C:\Users\hp\openmrs\PIHServer3

  • Executed the command : mvn openmrs-sdk:run -DserverId=PIHServer3

Doing this is throwing the following error on browser:

It’s not finding the puppet config files (see my previous comment). Is it’s something about Windows and file paths causing problems? Front slash vs back slash? (/ vs ). I always use Ubuntu.

I checked the puppet config files, it has all the content as pointed out in the previous comment.