Question:
I have failed to setup my OpenMRS server. I have followed the steps in the Developer guide till this step: “2. MySQL 5.6 and above in SDK docker container”.
After selecting option 2, it provides an error
[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.4.0:setup (default-cli) on project standalone-pom: Failed to setup server: Unable to execute mojo: Execution null of goal org.openmrs.maven.plugins:openmrs-sdk-docker-maven-plugin:4.4.0:create-mysql failed: Unsupported protocol scheme found: 'http://127.0.0.1:2375/ -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.4.0:setup (default-cli) on project standalone-pom: Failed to setup server
What could be the problem?
I have Docker running in the background and was trying to setup but build was unsuccessful.
Preparing 'openmrs-sdk-mysql-v3-2' DB docker container...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:47 min
[INFO] Finished at: 2022-05-25T10:29:19+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.4.0:setup (default-cli) on project standalone-pom: Failed to setup server: Unable to execute mojo: Execution null of goal org.openmrs.maven.plugins:openmrs-sdk-docker-maven-plugin:4.4.0:create-mysql failed: Unsupported protocol scheme found: 'http://127.0.0.1:2375/ -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
How can I correct this, yet the Docker is running and everything is ok??
@byaruhanga Oh sorry about this! as we wait for the help from the community members you can try option 1. MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
Hi @nyyesigahenry, Sorry for the late reply. Did you finally succeed. I think I had a problem with docker so, I decided to set up the system without Docker and I was successful.