Guest User

error when installing and setting the server

a guest
May 17th, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.96 KB | None | 0 0
  1. n openmrs-sdk:setup
  2. [INFO] Scanning for projects...
  3. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml
  4. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml
  5. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml
  6. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml (1.7 kB at 185 B/s)
  7. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml (15 kB at 1.6 kB/s)
  8. Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml (21 kB at 2.3 kB/s)
  9. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  10. 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.0 kB/s)
  11. [INFO]
  12. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  13. [INFO] Building Maven Stub Project (No POM) 1
  14. [INFO] --------------------------------[ pom ]---------------------------------
  15. [INFO]
  16. [INFO] --- openmrs-sdk-maven-plugin:4.5.0:setup (default-cli) @ standalone-pom ---
  17.  
  18. Setting up a new server...
  19.  
  20. Specify server id (-DserverId) (default: 'server'): server2
  21.  
  22. You can setup the following servers:
  23. 1) Distribution
  24. 2) Platform
  25.  
  26. Which one do you choose? [1/2]: 1
  27. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo
  28. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from archetype
  29. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo-thirdparty
  30. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from central
  31.  
  32. You can deploy the following versions of distribution:
  33. 1) Reference Application 2.14.0-SNAPSHOT
  34. 2) Reference Application 2.13.0
  35. 3) Reference Application 2.13.0-SNAPSHOT
  36. 4) Reference Application 2.12.2
  37. 5) Reference Application 2.11.0
  38. 6) Other...
  39.  
  40. Which one do you choose? [1/2/3/4/5/6]: 2
  41. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.13.0:jar
  42. [INFO] Copying referenceapplication-package-2.13.0.jar to /home/gerald/openmrs/server2/openmrs-distro.jar
  43. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.5.9:war
  44. [INFO] Copying openmrs-webapp-2.5.9.war to /home/gerald/openmrs/server2/openmrs-2.5.9.war
  45. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.9.0:jar
  46. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.8:jar
  47. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.6:omod
  48. Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/atlas-omod/2.2.6/atlas-omod-2.2.6.pom
  49. Downloading from openmrs-repo-thirdparty: https://mavenrepo.openmrs.org/thirdparty/org/openmrs/module/atlas-omod/2.2.6/atlas-omod-2.2.6.pom
  50. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/atlas-omod/2.2.6/atlas-omod-2.2.6.pom
  51. [WARNING] The POM for org.openmrs.module:atlas-omod:omod:2.2.6 is missing, no dependency information available
  52. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.6.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.23.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.13.0:jar
  55. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.23.0:jar
  56. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.14.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.39.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.7.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.3:jar
  60. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.7:jar
  61. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:2.3.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.38.0:jar
  63. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.17.0:jar
  64. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.14.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
  66. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.14.0:jar
  67. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.25.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:5.1.0:jar
  69. [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.9:jar
  70. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.8:jar
  71. [INFO] Configured Artifact: org.openmrs:event-omod:2.10.0:jar
  72. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.14.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.11.0:jar
  74. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.11.0:jar
  75. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.9:jar
  76. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.33.0:jar
  77. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.9.0:jar
  78. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.16:omod
  79. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.14.0:jar
  80. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.6.0:jar
  81. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.15.1:jar
  82. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.16.0:jar
  83. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.13.0:jar
  84. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.8.0:jar
  85. [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:2.0.0:jar
  86. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.5:jar
  87. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.12.0:jar
  88. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.17.0:jar
  89. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.25.0:jar
  90. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.13.0:jar
  91. [INFO] Copying metadatasharing-omod-1.9.0.jar to /home/gerald/openmrs/server2/modules/metadatasharing-1.9.0.omod
  92. [INFO] Copying referencedemodata-omod-1.4.8.jar to /home/gerald/openmrs/server2/modules/referencedemodata-1.4.8.omod
  93. [INFO] Copying atlas-omod-2.2.6.omod to /home/gerald/openmrs/server2/modules/atlas-2.2.6.omod
  94. [INFO] Copying metadatamapping-omod-1.6.0.jar to /home/gerald/openmrs/server2/modules/metadatamapping-1.6.0.omod
  95. [INFO] Copying uiframework-omod-3.23.0.jar to /home/gerald/openmrs/server2/modules/uiframework-3.23.0.omod
  96. [INFO] Copying referencemetadata-omod-2.13.0.jar to /home/gerald/openmrs/server2/modules/referencemetadata-2.13.0.omod
  97. [INFO] Copying uicommons-omod-2.23.0.jar to /home/gerald/openmrs/server2/modules/uicommons-2.23.0.omod
  98. [INFO] Copying owa-omod-1.14.0.jar to /home/gerald/openmrs/server2/modules/owa-1.14.0.omod
  99. [INFO] Copying webservices.rest-omod-2.39.0.jar to /home/gerald/openmrs/server2/modules/webservices.rest-2.39.0.omod
  100. [INFO] Copying attachments-omod-2.7.0.jar to /home/gerald/openmrs/server2/modules/attachments-2.7.0.omod
  101. [INFO] Copying formentryapp-omod-1.4.3.jar to /home/gerald/openmrs/server2/modules/formentryapp-1.4.3.omod
  102. [INFO] Copying uilibrary-omod-2.0.7.jar to /home/gerald/openmrs/server2/modules/uilibrary-2.0.7.omod
  103. [INFO] Copying htmlformentryui-omod-2.3.0.jar to /home/gerald/openmrs/server2/modules/htmlformentryui-2.3.0.omod
  104. [INFO] Copying coreapps-omod-1.38.0.jar to /home/gerald/openmrs/server2/modules/coreapps-1.38.0.omod
  105. [INFO] Copying appointmentscheduling-omod-1.17.0.jar to /home/gerald/openmrs/server2/modules/appointmentscheduling-1.17.0.omod
  106. [INFO] Copying providermanagement-omod-2.14.0.jar to /home/gerald/openmrs/server2/modules/providermanagement-2.14.0.omod
  107. [INFO] Copying calculation-omod-1.3.0.jar to /home/gerald/openmrs/server2/modules/calculation-1.3.0.omod
  108. [INFO] Copying reportingrest-omod-1.14.0.jar to /home/gerald/openmrs/server2/modules/reportingrest-1.14.0.omod
  109. [INFO] Copying reporting-omod-1.25.0.jar to /home/gerald/openmrs/server2/modules/reporting-1.25.0.omod
  110. [INFO] Copying htmlformentry-omod-5.1.0.jar to /home/gerald/openmrs/server2/modules/htmlformentry-5.1.0.omod
  111. [INFO] Copying spa-omod-1.0.9.jar to /home/gerald/openmrs/server2/modules/spa-1.0.9.omod
  112. [INFO] Copying dataexchange-omod-1.3.8.jar to /home/gerald/openmrs/server2/modules/dataexchange-1.3.8.omod
  113. [INFO] Copying event-omod-2.10.0.jar to /home/gerald/openmrs/server2/modules/event-2.10.0.omod
  114. [INFO] Copying legacyui-omod-1.14.0.jar to /home/gerald/openmrs/server2/modules/legacyui-1.14.0.omod
  115. [INFO] Copying htmlwidgets-omod-1.11.0.jar to /home/gerald/openmrs/server2/modules/htmlwidgets-1.11.0.omod
  116. [INFO] Copying reportingui-omod-1.11.0.jar to /home/gerald/openmrs/server2/modules/reportingui-1.11.0.omod
  117. [INFO] Copying reportingcompatibility-omod-2.0.9.jar to /home/gerald/openmrs/server2/modules/reportingcompatibility-2.0.9.omod
  118. [INFO] Copying emrapi-omod-1.33.0.jar to /home/gerald/openmrs/server2/modules/emrapi-1.33.0.omod
  119. [INFO] Copying idgen-omod-4.9.0.jar to /home/gerald/openmrs/server2/modules/idgen-4.9.0.omod
  120. [INFO] Copying serialization.xstream-omod-0.2.16.omod to /home/gerald/openmrs/server2/modules/serialization.xstream-0.2.16.omod
  121. [INFO] Copying appointmentschedulingui-omod-1.14.0.jar to /home/gerald/openmrs/server2/modules/appointmentschedulingui-1.14.0.omod
  122. [INFO] Copying adminui-omod-1.6.0.jar to /home/gerald/openmrs/server2/modules/adminui-1.6.0.omod
  123. [INFO] Copying addresshierarchy-omod-2.15.1.jar to /home/gerald/openmrs/server2/modules/addresshierarchy-2.15.1.omod
  124. [INFO] Copying appui-omod-1.16.0.jar to /home/gerald/openmrs/server2/modules/appui-1.16.0.omod
  125. [INFO] Copying metadatadeploy-omod-1.13.0.jar to /home/gerald/openmrs/server2/modules/metadatadeploy-1.13.0.omod
  126. [INFO] Copying fhir2-omod-1.8.0.jar to /home/gerald/openmrs/server2/modules/fhir2-1.8.0.omod
  127. [INFO] Copying openconceptlab-omod-2.0.0.jar to /home/gerald/openmrs/server2/modules/openconceptlab-2.0.0.omod
  128. [INFO] Copying allergyui-omod-1.8.5.jar to /home/gerald/openmrs/server2/modules/allergyui-1.8.5.omod
  129. [INFO] Copying registrationcore-omod-1.12.0.jar to /home/gerald/openmrs/server2/modules/registrationcore-1.12.0.omod
  130. [INFO] Copying appframework-omod-2.17.0.jar to /home/gerald/openmrs/server2/modules/appframework-2.17.0.omod
  131. [INFO] Copying registrationapp-omod-1.25.0.jar to /home/gerald/openmrs/server2/modules/registrationapp-1.25.0.omod
  132. [INFO] Copying referenceapplication-omod-2.13.0.jar to /home/gerald/openmrs/server2/modules/referenceapplication-2.13.0.omod
  133.  
  134. Downloading OWAs...
  135.  
  136.  
  137. Downloading OWA: org.openmrs.owa:openmrs-owa-sysadmin:1.2
  138. [INFO] Configured Artifact: org.openmrs.owa:sysadmin:1.2:zip
  139. [INFO] Copying sysadmin-1.2.zip to /home/gerald/openmrs/server2/owa/sysadmin-1.2.zip
  140.  
  141. What port would you like your server to use? (default: '8080'): 8080
  142.  
  143. If you want to enable remote debugging by default when running the server,
  144. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  145. (Do not do this on a production server) (default: 'no debugging'): 1044
  146.  
  147. Which database would you like to use?:
  148. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  149. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  150. 3) Existing docker container (requires pre-installed Docker)
  151. 4) PostgreSQL 8.2 and above
  152.  
  153. Which one do you choose? [1/2/3/4]: 2
  154.  
  155. Preparing 'openmrs-sdk-mysql-v3-2' DB docker container...
  156. [INFO] Recoverable I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:2375
  157. [INFO] ------------------------------------------------------------------------
  158. [INFO] BUILD FAILURE
  159. [INFO] ------------------------------------------------------------------------
  160. [INFO] Total time: 02:55 min
  161. [INFO] Finished at: 2023-05-17T09:33:47+03:00
  162. [INFO] ------------------------------------------------------------------------
  163. [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:
  164. [ERROR]
  165. [ERROR]
  166. [ERROR] Could not connect to Docker at unix:///var/run/docker.sock.
  167. [ERROR]
  168. [ERROR] If the Docker host URL is not correct, please reset it by running setup with the -DdockerHost parameter
  169. [ERROR] or set it manually by adding -DdockerHost="tcp://correct/url": java.io.IOException: com.sun.jna.LastErrorException: [13] Permission denied
  170. [ERROR] -> [Help 1]
  171. [ERROR]
  172. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  173. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  174. [ERROR]
  175. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  176. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  177.  
Add Comment
Please, Sign In to add comment