jgonzalezans

OpenMRS SDK Setup - Docker protocol error

Feb 27th, 2023
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.13 KB | Software | 0 0
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. Todos los derechos reservados.
  3.  
  4. Prueba la nueva tecnología PowerShell multiplataforma https://aka.ms/pscore6
  5.  
  6. PS C:\Users\joseg> mvn openmrs-sdk:setup
  7. [INFO] Scanning for projects...
  8. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml
  9. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml
  10. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml
  11. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml (1.7 kB at 783 B/s)
  12. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml (15 kB at 5.7 kB/s)
  13. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml (21 kB at 7.4 kB/s)
  14. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  15. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (2.2 kB at 2.4 kB/s)
  16. [INFO]
  17. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  18. [INFO] Building Maven Stub Project (No POM) 1
  19. [INFO] --------------------------------[ pom ]---------------------------------
  20. [INFO]
  21. [INFO] --- openmrs-sdk:4.5.0:setup (default-cli) @ standalone-pom ---
  22. feb. 27, 2023 11:30:13 A. M. org.jline.utils.Log logr
  23. ADVERTENCIA: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
  24.  
  25. Setting up a new server...
  26.  
  27. Specify server id (-DserverId) (default: 'server1'):
  28.  
  29. You can setup the following servers:
  30. 1) Distribution
  31. 2) Platform
  32.  
  33. Which one do you choose? [1/2]: 1
  34. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo
  35. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from archetype
  36. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo-thirdparty
  37. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from central
  38.  
  39. You can deploy the following versions of distribution:
  40. 1) Reference Application 3.0.0-SNAPSHOT
  41. 2) Reference Application 2.13.0-SNAPSHOT
  42. 3) Reference Application 2.12.2
  43. 4) Reference Application 2.11.0
  44. 5) Reference Application 2.10.0
  45. 6) Other...
  46.  
  47. Which one do you choose? [1/2/3/4/5/6]: 3
  48. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.12.2:jar
  49. [INFO] Copying referenceapplication-package-2.12.2.jar to C:\Users\joseg\openmrs\server1\openmrs-distro.jar
  50. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.3:war
  51. [INFO] Copying openmrs-webapp-2.4.3.war to C:\Users\joseg\openmrs\server1\openmrs-2.4.3.war
  52. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.8.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.7:jar
  54. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.5:omod
  55. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.4.0:jar
  56. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.22.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.12.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.19.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.13.0:jar
  60. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.32.0:jar
  61. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.5.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  63. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.7:jar
  64. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:2.0.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.34.0:jar
  66. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.16.0:jar
  67. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.13.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
  69. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.12.0:jar
  70. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.23.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:4.1.0:jar
  72. [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.8:jar
  73. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.7:jar
  74. [INFO] Configured Artifact: org.openmrs:event-omod:2.10.0:jar
  75. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.4:jar
  76. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
  77. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.8.0:jar
  78. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.8:jar
  79. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.32.0:jar
  80. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.7.0:jar
  81. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.15:omod
  82. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.12.0:jar
  83. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.6.0:jar
  84. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
  85. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.14.0:jar
  86. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.13.0:jar
  87. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.2.2:jar
  88. [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:1.2.9:jar
  89. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.4:jar
  90. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.11.0:jar
  91. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.16.0:jar
  92. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.24.0:jar
  93. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.12.0-SNAPSHOT:jar
  94. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication-omod/2.12.0-SNAPSHOT/maven-metadata.xml
  95. Downloading from archetype: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication-omod/2.12.0-SNAPSHOT/maven-metadata.xml
  96. Downloading from openmrs-repo-thirdparty: https://mavenrepo.openmrs.org/thirdparty/org/openmrs/module/referenceapplication-omod/2.12.0-SNAPSHOT/maven-metadata.xml
  97. Downloaded from archetype: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication-omod/2.12.0-SNAPSHOT/maven-metadata.xml (802 B at 4.6 kB/s)
  98. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication-omod/2.12.0-SNAPSHOT/maven-metadata.xml (802 B at 4.1 kB/s)
  99. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/maven-metadata.xml
  100. Downloading from openmrs-repo-thirdparty: https://mavenrepo.openmrs.org/thirdparty/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/maven-metadata.xml
  101. Downloading from archetype: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/maven-metadata.xml
  102. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/maven-metadata.xml (621 B at 3.7 kB/s)
  103. Downloaded from archetype: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication/2.12.0-SNAPSHOT/maven-metadata.xml (621 B at 3.6 kB/s)
  104. [INFO] Copying metadatasharing-omod-1.8.0.jar to C:\Users\joseg\openmrs\server1\modules\metadatasharing-1.8.0.omod
  105. [INFO] Copying referencedemodata-omod-1.4.7.jar to C:\Users\joseg\openmrs\server1\modules\referencedemodata-1.4.7.omod
  106. [INFO] Copying atlas-omod-2.2.5.omod to C:\Users\joseg\openmrs\server1\modules\atlas-2.2.5.omod
  107. [INFO] Copying metadatamapping-omod-1.4.0.jar to C:\Users\joseg\openmrs\server1\modules\metadatamapping-1.4.0.omod
  108. [INFO] Copying uiframework-omod-3.22.0.jar to C:\Users\joseg\openmrs\server1\modules\uiframework-3.22.0.omod
  109. [INFO] Copying referencemetadata-omod-2.12.0.jar to C:\Users\joseg\openmrs\server1\modules\referencemetadata-2.12.0.omod
  110. [INFO] Copying uicommons-omod-2.19.0.jar to C:\Users\joseg\openmrs\server1\modules\uicommons-2.19.0.omod
  111. [INFO] Copying owa-omod-1.13.0.jar to C:\Users\joseg\openmrs\server1\modules\owa-1.13.0.omod
  112. [INFO] Copying webservices.rest-omod-2.32.0.jar to C:\Users\joseg\openmrs\server1\modules\webservices.rest-2.32.0.omod
  113. [INFO] Copying attachments-omod-2.5.0.jar to C:\Users\joseg\openmrs\server1\modules\attachments-2.5.0.omod
  114. [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\joseg\openmrs\server1\modules\formentryapp-1.4.2.omod
  115. [INFO] Copying uilibrary-omod-2.0.7.jar to C:\Users\joseg\openmrs\server1\modules\uilibrary-2.0.7.omod
  116. [INFO] Copying htmlformentryui-omod-2.0.0.jar to C:\Users\joseg\openmrs\server1\modules\htmlformentryui-2.0.0.omod
  117. [INFO] Copying coreapps-omod-1.34.0.jar to C:\Users\joseg\openmrs\server1\modules\coreapps-1.34.0.omod
  118. [INFO] Copying appointmentscheduling-omod-1.16.0.jar to C:\Users\joseg\openmrs\server1\modules\appointmentscheduling-1.16.0.omod
  119. [INFO] Copying providermanagement-omod-2.13.0.jar to C:\Users\joseg\openmrs\server1\modules\providermanagement-2.13.0.omod
  120. [INFO] Copying calculation-omod-1.3.0.jar to C:\Users\joseg\openmrs\server1\modules\calculation-1.3.0.omod
  121. [INFO] Copying reportingrest-omod-1.12.0.jar to C:\Users\joseg\openmrs\server1\modules\reportingrest-1.12.0.omod
  122. [INFO] Copying reporting-omod-1.23.0.jar to C:\Users\joseg\openmrs\server1\modules\reporting-1.23.0.omod
  123. [INFO] Copying htmlformentry-omod-4.1.0.jar to C:\Users\joseg\openmrs\server1\modules\htmlformentry-4.1.0.omod
  124. [INFO] Copying spa-omod-1.0.8.jar to C:\Users\joseg\openmrs\server1\modules\spa-1.0.8.omod
  125. [INFO] Copying dataexchange-omod-1.3.7.jar to C:\Users\joseg\openmrs\server1\modules\dataexchange-1.3.7.omod
  126. [INFO] Copying event-omod-2.10.0.jar to C:\Users\joseg\openmrs\server1\modules\event-2.10.0.omod
  127. [INFO] Copying legacyui-omod-1.8.4.jar to C:\Users\joseg\openmrs\server1\modules\legacyui-1.8.4.omod
  128. [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\joseg\openmrs\server1\modules\htmlwidgets-1.10.0.omod
  129. [INFO] Copying reportingui-omod-1.8.0.jar to C:\Users\joseg\openmrs\server1\modules\reportingui-1.8.0.omod
  130. [INFO] Copying reportingcompatibility-omod-2.0.8.jar to C:\Users\joseg\openmrs\server1\modules\reportingcompatibility-2.0.8.omod
  131. [INFO] Copying emrapi-omod-1.32.0.jar to C:\Users\joseg\openmrs\server1\modules\emrapi-1.32.0.omod
  132. [INFO] Copying idgen-omod-4.7.0.jar to C:\Users\joseg\openmrs\server1\modules\idgen-4.7.0.omod
  133. [INFO] Copying serialization.xstream-omod-0.2.15.omod to C:\Users\joseg\openmrs\server1\modules\serialization.xstream-0.2.15.omod
  134. [INFO] Copying appointmentschedulingui-omod-1.12.0.jar to C:\Users\joseg\openmrs\server1\modules\appointmentschedulingui-1.12.0.omod
  135. [INFO] Copying adminui-omod-1.6.0.jar to C:\Users\joseg\openmrs\server1\modules\adminui-1.6.0.omod
  136. [INFO] Copying addresshierarchy-omod-2.14.2.jar to C:\Users\joseg\openmrs\server1\modules\addresshierarchy-2.14.2.omod
  137. [INFO] Copying appui-omod-1.14.0.jar to C:\Users\joseg\openmrs\server1\modules\appui-1.14.0.omod
  138. [INFO] Copying metadatadeploy-omod-1.13.0.jar to C:\Users\joseg\openmrs\server1\modules\metadatadeploy-1.13.0.omod
  139. [INFO] Copying fhir2-omod-1.2.2.jar to C:\Users\joseg\openmrs\server1\modules\fhir2-1.2.2.omod
  140. [INFO] Copying openconceptlab-omod-1.2.9.jar to C:\Users\joseg\openmrs\server1\modules\openconceptlab-1.2.9.omod
  141. [INFO] Copying allergyui-omod-1.8.4.jar to C:\Users\joseg\openmrs\server1\modules\allergyui-1.8.4.omod
  142. [INFO] Copying registrationcore-omod-1.11.0.jar to C:\Users\joseg\openmrs\server1\modules\registrationcore-1.11.0.omod
  143. [INFO] Copying appframework-omod-2.16.0.jar to C:\Users\joseg\openmrs\server1\modules\appframework-2.16.0.omod
  144. [INFO] Copying registrationapp-omod-1.24.0.jar to C:\Users\joseg\openmrs\server1\modules\registrationapp-1.24.0.omod
  145. [INFO] Copying referenceapplication-omod-2.12.0-SNAPSHOT.jar to C:\Users\joseg\openmrs\server1\modules\referenceapplication-2.12.0-SNAPSHOT.omod
  146.  
  147. Downloading OWAs...
  148.  
  149.  
  150. Downloading OWA: org.openmrs.owa:openmrs-owa-sysadmin:1.2
  151. [INFO] Configured Artifact: org.openmrs.owa:sysadmin:1.2:zip
  152. [INFO] Copying sysadmin-1.2.zip to C:\Users\joseg\openmrs\server1\owa\sysadmin-1.2.zip
  153.  
  154. What port would you like your server to use? (default: '8080'):
  155.  
  156. If you want to enable remote debugging by default when running the server,
  157. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  158. (Do not do this on a production server) (default: 'no debugging'): 1044
  159.  
  160. Which database would you like to use?:
  161. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  162. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  163. 3) Existing docker container (requires pre-installed Docker)
  164. 4) PostgreSQL 8.2 and above
  165.  
  166. Which one do you choose? [1/2/3/4]: 2
  167.  
  168. Preparing 'openmrs-sdk-mysql-v3-2' DB docker container...
  169. [INFO] ------------------------------------------------------------------------
  170. [INFO] BUILD FAILURE
  171. [INFO] ------------------------------------------------------------------------
  172. [INFO] Total time: 29.222 s
  173. [INFO] Finished at: 2023-02-27T11:30:35+01:00
  174. [INFO] ------------------------------------------------------------------------
  175. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.5.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.5.0:create-mysql failed: Unsupported protocol scheme found: 'http://localhost:2375 -> [Help 1]
  176. [ERROR]
  177. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  178. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  179. [ERROR]
  180. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  181. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Add Comment
Please, Sign In to add comment