Advertisement
Guest User

LOGS

a guest
Jun 15th, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.85 KB | None | 0 0
  1. ams@ams:~/openmrs$ sudo mysql -u root -p
  2. [sudo] password for ams:    
  3. Enter password:
  4. Welcome to the MySQL monitor.  Commands end with ; or \g.
  5. Your MySQL connection id is 21
  6. Server version: 8.0.25-0ubuntu0.20.04.1 (Ubuntu)
  7.  
  8. Copyright (c) 2000, 2021, Oracle and/or its affiliates.
  9.  
  10. Oracle is a registered trademark of Oracle Corporation and/or its
  11. affiliates. Other names may be trademarks of their respective
  12. owners.
  13.  
  14. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  15.  
  16. mysql> create database server
  17.     -> ;
  18. Query OK, 1 row affected (0.21 sec)
  19.  
  20. mysql> show databases;
  21. +--------------------+
  22. | Database           |
  23. +--------------------+
  24. | information_schema |
  25. | mysql              |
  26. | performance_schema |
  27. | server             |
  28. | sys                |
  29. +--------------------+
  30. 5 rows in set (0.40 sec)
  31.  
  32. mysql> exit
  33. Bye
  34. ams@ams:~/openmrs$ mvn openmrs-sdk:setup
  35. [INFO] Scanning for projects...
  36. [INFO]
  37. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  38. [INFO] Building Maven Stub Project (No POM) 1
  39. [INFO] --------------------------------[ pom ]---------------------------------
  40. [INFO]
  41. [INFO] --- openmrs-sdk-maven-plugin:4.0.1:setup (default-cli) @ standalone-pom ---
  42.  
  43. Setting up a new server...
  44.  
  45. Specify server id (-DserverId) (default: 'server'):
  46.  
  47. You can setup the following servers:
  48. 1) Distribution
  49. 2) Platform
  50.  
  51. Which one do you choose? [1/2]: 1
  52.  
  53. You can deploy the following versions of distribution:
  54. 1) Reference Application 2.12.0-SNAPSHOT
  55. 2) Reference Application 2.11.0
  56. 3) Reference Application 2.10.0
  57. 4) Reference Application 2.9.0
  58. 5) Reference Application 2.8.1
  59. 6) Other...
  60.  
  61. Which one do you choose? [1/2/3/4/5/6]: 2
  62. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.11.0:jar
  63. [INFO] Copying referenceapplication-package-2.11.0.jar to /home/ams/openmrs/server/openmrs-distro.jar
  64. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.3.2:war
  65. [INFO] Copying openmrs-webapp-2.3.2.war to /home/ams/openmrs/server/openmrs-2.3.2.war
  66. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.7.0:jar
  67. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.6:jar
  68. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.4:omod
  69. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.5:jar
  70. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.19.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.11.0:jar
  72. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.15.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
  74. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.29.0:jar
  75. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.4.0:jar
  76. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  77. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
  78. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.11.2:jar
  79. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.31.0:jar
  80. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.13.0:jar
  81. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.12.0:jar
  82. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2.1:jar
  83. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.11.0:jar
  84. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.21.0:jar
  85. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.12.0:jar
  86. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.6:jar
  87. [INFO] Configured Artifact: org.openmrs:event-omod:2.8.0:jar
  88. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.0:jar
  89. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
  90. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.7.0:jar
  91. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.7:jar
  92. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.30.0:jar
  93. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.6.0:jar
  94. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
  95. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.9.0:jar
  96. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.4.0:jar
  97. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
  98. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.13.0:jar
  99. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.12.1:jar
  100. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
  101. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.3:jar
  102. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.10.0:jar
  103. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.16.0:jar
  104. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.20.0:jar
  105. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.11.0:jar
  106. [INFO] Copying metadatasharing-omod-1.7.0.jar to /home/ams/openmrs/server/modules/metadatasharing-1.7.0.omod
  107. [INFO] Copying referencedemodata-omod-1.4.6.jar to /home/ams/openmrs/server/modules/referencedemodata-1.4.6.omod
  108. [INFO] Copying atlas-omod-2.2.4.omod to /home/ams/openmrs/server/modules/atlas-2.2.4.omod
  109. [INFO] Copying metadatamapping-omod-1.3.5.jar to /home/ams/openmrs/server/modules/metadatamapping-1.3.5.omod
  110. [INFO] Copying uiframework-omod-3.19.0.jar to /home/ams/openmrs/server/modules/uiframework-3.19.0.omod
  111. [INFO] Copying referencemetadata-omod-2.11.0.jar to /home/ams/openmrs/server/modules/referencemetadata-2.11.0.omod
  112. [INFO] Copying uicommons-omod-2.15.0.jar to /home/ams/openmrs/server/modules/uicommons-2.15.0.omod
  113. [INFO] Copying owa-omod-1.12.0.jar to /home/ams/openmrs/server/modules/owa-1.12.0.omod
  114. [INFO] Copying webservices.rest-omod-2.29.0.jar to /home/ams/openmrs/server/modules/webservices.rest-2.29.0.omod
  115. [INFO] Copying attachments-omod-2.4.0.jar to /home/ams/openmrs/server/modules/attachments-2.4.0.omod
  116. [INFO] Copying formentryapp-omod-1.4.2.jar to /home/ams/openmrs/server/modules/formentryapp-1.4.2.omod
  117. [INFO] Copying uilibrary-omod-2.0.6.jar to /home/ams/openmrs/server/modules/uilibrary-2.0.6.omod
  118. [INFO] Copying htmlformentryui-omod-1.11.2.jar to /home/ams/openmrs/server/modules/htmlformentryui-1.11.2.omod
  119. [INFO] Copying coreapps-omod-1.31.0.jar to /home/ams/openmrs/server/modules/coreapps-1.31.0.omod
  120. [INFO] Copying appointmentscheduling-omod-1.13.0.jar to /home/ams/openmrs/server/modules/appointmentscheduling-1.13.0.omod
  121. [INFO] Copying providermanagement-omod-2.12.0.jar to /home/ams/openmrs/server/modules/providermanagement-2.12.0.omod
  122. [INFO] Copying calculation-omod-1.2.1.jar to /home/ams/openmrs/server/modules/calculation-1.2.1.omod
  123. [INFO] Copying reportingrest-omod-1.11.0.jar to /home/ams/openmrs/server/modules/reportingrest-1.11.0.omod
  124. [INFO] Copying reporting-omod-1.21.0.jar to /home/ams/openmrs/server/modules/reporting-1.21.0.omod
  125. [INFO] Copying htmlformentry-omod-3.12.0.jar to /home/ams/openmrs/server/modules/htmlformentry-3.12.0.omod
  126. [INFO] Copying dataexchange-omod-1.3.6.jar to /home/ams/openmrs/server/modules/dataexchange-1.3.6.omod
  127. [INFO] Copying event-omod-2.8.0.jar to /home/ams/openmrs/server/modules/event-2.8.0.omod
  128. [INFO] Copying legacyui-omod-1.8.0.jar to /home/ams/openmrs/server/modules/legacyui-1.8.0.omod
  129. [INFO] Copying htmlwidgets-omod-1.10.0.jar to /home/ams/openmrs/server/modules/htmlwidgets-1.10.0.omod
  130. [INFO] Copying reportingui-omod-1.7.0.jar to /home/ams/openmrs/server/modules/reportingui-1.7.0.omod
  131. [INFO] Copying reportingcompatibility-omod-2.0.7.jar to /home/ams/openmrs/server/modules/reportingcompatibility-2.0.7.omod
  132. [INFO] Copying emrapi-omod-1.30.0.jar to /home/ams/openmrs/server/modules/emrapi-1.30.0.omod
  133. [INFO] Copying idgen-omod-4.6.0.jar to /home/ams/openmrs/server/modules/idgen-4.6.0.omod
  134. [INFO] Copying serialization.xstream-omod-0.2.14.omod to /home/ams/openmrs/server/modules/serialization.xstream-0.2.14.omod
  135. [INFO] Copying appointmentschedulingui-omod-1.9.0.jar to /home/ams/openmrs/server/modules/appointmentschedulingui-1.9.0.omod
  136. [INFO] Copying adminui-omod-1.4.0.jar to /home/ams/openmrs/server/modules/adminui-1.4.0.omod
  137. [INFO] Copying addresshierarchy-omod-2.14.2.jar to /home/ams/openmrs/server/modules/addresshierarchy-2.14.2.omod
  138. [INFO] Copying appui-omod-1.13.0.jar to /home/ams/openmrs/server/modules/appui-1.13.0.omod
  139. [INFO] Copying metadatadeploy-omod-1.12.1.jar to /home/ams/openmrs/server/modules/metadatadeploy-1.12.1.omod
  140. [INFO] Copying fhir2-omod-1.1.0.jar to /home/ams/openmrs/server/modules/fhir2-1.1.0.omod
  141. [INFO] Copying allergyui-omod-1.8.3.jar to /home/ams/openmrs/server/modules/allergyui-1.8.3.omod
  142. [INFO] Copying registrationcore-omod-1.10.0.jar to /home/ams/openmrs/server/modules/registrationcore-1.10.0.omod
  143. [INFO] Copying appframework-omod-2.16.0.jar to /home/ams/openmrs/server/modules/appframework-2.16.0.omod
  144. [INFO] Copying registrationapp-omod-1.20.0.jar to /home/ams/openmrs/server/modules/registrationapp-1.20.0.omod
  145. [INFO] Copying referenceapplication-omod-2.11.0.jar to /home/ams/openmrs/server/modules/referenceapplication-2.11.0.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 /home/ams/openmrs/server/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'):
  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.  
  165. Which one do you choose? [1/2/3]: 1
  166.  
  167. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'): jdbc:mysql://localhost:3306/server
  168.  
  169. Please specify database username (-DdbUser) (default: 'root'):
  170. Please specify database password (-DdbPassword):
  171. Tue Jun 15 21:09:15 EAT 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  172. [INFO] ------------------------------------------------------------------------
  173. [INFO] BUILD FAILURE
  174. [INFO] ------------------------------------------------------------------------
  175. [INFO] Total time:  02:26 min
  176. [INFO] Finished at: 2021-06-15T21:09:17+03:00
  177. [INFO] ------------------------------------------------------------------------
  178. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.1:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3306/server?autoReconnect=true&sessionVariables=default_storage_engine%3DInnoDB&useUnicode=true&characterEncoding=UTF-8 -> [Help 1]
  179. [ERROR]
  180. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  181. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  182. [ERROR]
  183. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  184. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  185. ams@ams:~/openmrs$ mvn openmrs-sdk:setup
  186.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement