wikumW

Untitled

Nov 30th, 2023
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.68 KB | None | 0 0
  1. wikum@msi:~$ mvn openmrs-sdk:setup
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] --------------------------------[ pom ]---------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:5.5.0:setup (default-cli) @ standalone-pom ---
  9.  
  10. Setting up a new server...
  11.  
  12. Specify server id (-DserverId) (default: 'server7'):
  13.  
  14. You can setup the following servers:
  15. 1) 2.x Distribution
  16. 2) Platform
  17. 3) O3 Distribution
  18.  
  19. Which one do you choose? [1/2/3]: 3
  20.  
  21. You can deploy the following versions of O3:
  22. 1) Reference Application 3.0.0-SNAPSHOT
  23. 2) Reference Application 3.0.0-beta.13
  24. 3) Reference Application 3.0.0-beta.12
  25. 4) Reference Application 3.0.0-beta.11
  26. 5) Reference Application 3.0.0-beta.9
  27. 6) Other...
  28.  
  29. Which one do you choose? [1/2/3/4/5/6]: 1
  30. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-distro:3.0.0-SNAPSHOT:zip
  31. [INFO] Copying referenceapplication-distro-3.0.0-SNAPSHOT.zip to /home/wikum/openmrs/server7/openmrs-distro.jar
  32. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.6.3:war
  33. [INFO] Copying openmrs-webapp-2.6.3.war to /home/wikum/openmrs/server7/openmrs-2.6.3.war
  34. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.9.0:jar
  35. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:2.4.0:jar
  36. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.6.0:jar
  37. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.14.0:jar
  38. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.41.0:jar
  39. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:3.0.0:jar
  40. [INFO] Configured Artifact: org.bahmni.module:appointments-omod:2.0.0-20231101.130425-7:jar
  41. [INFO] Configured Artifact: org.openmrs.module:patientflags-omod:3.0.5:jar
  42. [INFO] Configured Artifact: org.bahmni.module:teleconsultation-omod:2.0.0-20230831.113926-1:jar
  43. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
  44. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.14.0:jar
  45. [INFO] Configured Artifact: org.openmrs.module:cohort-omod:3.6.0:jar
  46. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.25.0:jar
  47. [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.10-SNAPSHOT:jar
  48. [INFO] Configured Artifact: org.openmrs.module:ordertemplates-omod:1.0.2:jar
  49. [INFO] Configured Artifact: org.openmrs.module:o3forms-omod:2.2.0:jar
  50. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.16.0:jar
  51. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.11.0:jar
  52. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.10.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:initializer-omod:2.6.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.16:omod
  55. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.17.0:jar
  56. [INFO] Configured Artifact: org.openmrs.module:queue-omod:2.0.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:2.1.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.10.0:jar
  59. [INFO] Copying metadatasharing-omod-1.9.0.jar to /home/wikum/openmrs/server7/modules/metadatasharing-1.9.0.omod
  60. [INFO] Copying referencedemodata-omod-2.4.0.jar to /home/wikum/openmrs/server7/modules/referencedemodata-2.4.0.omod
  61. [INFO] Copying metadatamapping-omod-1.6.0.jar to /home/wikum/openmrs/server7/modules/metadatamapping-1.6.0.omod
  62. [INFO] Copying owa-omod-1.14.0.jar to /home/wikum/openmrs/server7/modules/owa-1.14.0.omod
  63. [INFO] Copying webservices.rest-omod-2.41.0.jar to /home/wikum/openmrs/server7/modules/webservices.rest-2.41.0.omod
  64. [INFO] Copying attachments-omod-3.0.0.jar to /home/wikum/openmrs/server7/modules/attachments-3.0.0.omod
  65. [INFO] Copying appointments-omod-2.0.0-SNAPSHOT.jar to /home/wikum/openmrs/server7/modules/appointments-2.0.0-20231101.130425-7.omod
  66. [INFO] Copying patientflags-omod-3.0.5.jar to /home/wikum/openmrs/server7/modules/patientflags-3.0.5.omod
  67. [INFO] Copying teleconsultation-omod-2.0.0-SNAPSHOT.jar to /home/wikum/openmrs/server7/modules/teleconsultation-2.0.0-20230831.113926-1.omod
  68. [INFO] Copying calculation-omod-1.3.0.jar to /home/wikum/openmrs/server7/modules/calculation-1.3.0.omod
  69. [INFO] Copying reportingrest-omod-1.14.0.jar to /home/wikum/openmrs/server7/modules/reportingrest-1.14.0.omod
  70. [INFO] Copying cohort-omod-3.6.0.jar to /home/wikum/openmrs/server7/modules/cohort-3.6.0.omod
  71. [INFO] Copying reporting-omod-1.25.0.jar to /home/wikum/openmrs/server7/modules/reporting-1.25.0.omod
  72. [INFO] Copying spa-omod-1.0.10-SNAPSHOT.jar to /home/wikum/openmrs/server7/modules/spa-1.0.10-SNAPSHOT.omod
  73. [INFO] Copying ordertemplates-omod-1.0.2.jar to /home/wikum/openmrs/server7/modules/ordertemplates-1.0.2.omod
  74. [INFO] Copying o3forms-omod-2.2.0.jar to /home/wikum/openmrs/server7/modules/o3forms-2.2.0.omod
  75. [INFO] Copying legacyui-omod-1.16.0.jar to /home/wikum/openmrs/server7/modules/legacyui-1.16.0.omod
  76. [INFO] Copying htmlwidgets-omod-1.11.0.jar to /home/wikum/openmrs/server7/modules/htmlwidgets-1.11.0.omod
  77. [INFO] Copying idgen-omod-4.10.0.jar to /home/wikum/openmrs/server7/modules/idgen-4.10.0.omod
  78. [INFO] Copying initializer-omod-2.6.0.jar to /home/wikum/openmrs/server7/modules/initializer-2.6.0.omod
  79. [INFO] Copying serialization.xstream-omod-0.2.16.omod to /home/wikum/openmrs/server7/modules/serialization.xstream-0.2.16.omod
  80. [INFO] Copying addresshierarchy-omod-2.17.0.jar to /home/wikum/openmrs/server7/modules/addresshierarchy-2.17.0.omod
  81. [INFO] Copying queue-omod-2.0.0.jar to /home/wikum/openmrs/server7/modules/queue-2.0.0.omod
  82. [INFO] Copying openconceptlab-omod-2.1.0.jar to /home/wikum/openmrs/server7/modules/openconceptlab-2.1.0.omod
  83. [INFO] Copying fhir2-omod-1.10.0.jar to /home/wikum/openmrs/server7/modules/fhir2-1.10.0.omod
  84.  
  85. Downloading Configs...
  86.  
  87.  
  88. Downloading Config: org.openmrs.distro:referenceapplication-distro:3.0.0-SNAPSHOT
  89. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-distro:3.0.0-SNAPSHOT:zip
  90. [INFO] Copying referenceapplication-distro-3.0.0-SNAPSHOT.zip to /home/wikum/openmrs/server7/configuration/referenceapplication-distro-3.0.0-SNAPSHOT.zip
  91. [INFO] OpenMRS SDK will reuse the Node cache. Run openmrs-sdk:setup-sdk -DreuseNodeCache=false to disable it.
  92. [INFO] Node v16.15.0 is already installed.
  93. [INFO] NPM 8.5.5 is already installed.
  94. [INFO] npm not inheriting proxy config from Maven
  95. [INFO] Running 'npm --legacy-peer-deps --cache=/home/wikum/openmrs/_openmrs_sdk_node_cache/npm-cache exec -- openmrs@next --version' in /home/wikum
  96. [INFO] npm WARN exec The following package was not found and will be installed: openmrs@next
  97. [INFO] 5.3.1-pre.1200
  98. [INFO] npm not inheriting proxy config from Maven
  99. [INFO] Running 'npm --legacy-peer-deps --cache=/home/wikum/openmrs/_openmrs_sdk_node_cache/npm-cache exec -- openmrs@next build --target /home/wikum/openmrs/server7/frontend --build-config /home/wikum/openmrs/server7/spa-build-config.json' in /home/wikum
  100. [INFO] [openmrs] Running build process ...
  101. [INFO] (node:21888) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
  102. [INFO] BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
  103. [INFO] Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
  104. [INFO] Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
  105. [INFO] (Use `node --trace-deprecation ...` to show where the warning was created)
  106. [INFO] assets by info 4.77 MiB [immutable]
  107. [INFO] assets by path *.woff 1.35 MiB 90 assets
  108. [INFO] assets by path *.woff2 1.04 MiB 90 assets
  109. [INFO] assets by path *.js 1.22 MiB 3 assets
  110. [INFO] + 1 asset
  111. [INFO] assets by path *.png 64.8 KiB
  112. [INFO] asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
  113. [INFO] asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
  114. [INFO] asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
  115. [INFO] + 5 assets
  116. [INFO] asset service-worker.js 215 KiB [emitted] [minimized] 1 related asset
  117. [INFO] asset index.html 2.99 KiB [emitted]
  118. [INFO] asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
  119. [INFO] asset manifest.266df36f2271d27ae9bcaa196a2976ae.json 1.29 KiB [emitted]
  120. [INFO] asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
  121. [INFO] Entrypoint main [big] 2.34 MiB (1.56 MiB) = openmrs.aa7a2a7a4f5b0d6d.css 1.16 MiB openmrs.279edf4225d4b67d.js 1.19 MiB 2 auxiliary assets
  122. [INFO] orphan modules 10.6 MiB (javascript) 29.9 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1498 modules
  123. [INFO] runtime modules 19.2 KiB 15 modules
  124. [INFO] built modules 4.52 MiB (javascript) 1.16 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
  125. [INFO] javascript modules 4.52 MiB 229 modules
  126. [INFO] css modules 1.16 MiB
  127. [INFO] modules by path ../@react-spectrum/ 429 KiB 11 modules
  128. [INFO] modules by path ../@openmrs/ 761 KiB 4 modules
  129. [INFO] provide-module modules 420 bytes
  130. [INFO] modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
  131. [INFO] + 8 modules
  132. [INFO] consume-shared-module modules 420 bytes
  133. [INFO] modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
  134. [INFO] + 8 modules
  135. [INFO]
  136. [INFO] LOG from InjectManifest
  137. [INFO] <i> The service worker at service-worker.js will precache
  138. [INFO] <i> 191 URLs, totaling 5.03 MB.
  139. [INFO]
  140. [INFO] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  141. [INFO] This can impact web performance.
  142. [INFO] Assets:
  143. [INFO] openmrs.aa7a2a7a4f5b0d6d.css (1.16 MiB)
  144. [INFO] openmrs.279edf4225d4b67d.js (1.19 MiB)
  145. [INFO]
  146. [INFO] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  147. [INFO] Entrypoints:
  148. [INFO] main (2.34 MiB)
  149. [INFO] openmrs.aa7a2a7a4f5b0d6d.css
  150. [INFO] openmrs.279edf4225d4b67d.js
  151. [INFO]
  152. [INFO]
  153. [INFO] webpack 5.89.0 compiled with 2 warnings in 52168 ms
  154. [INFO] [openmrs] Build finished.
  155. [INFO] npm not inheriting proxy config from Maven
  156. [INFO] Running 'npm --legacy-peer-deps --cache=/home/wikum/openmrs/_openmrs_sdk_node_cache/npm-cache exec -- openmrs@next assemble --target /home/wikum/openmrs/server7/frontend --mode config --config /home/wikum/openmrs/server7/spa-build-config.json' in /home/wikum
  157. [INFO] [openmrs] Reading configuration ...
  158. [INFO] [openmrs] Assembling the importmap ...
  159.  
  160. What port would you like your server to use? (default: '8080'):
  161.  
  162. If you want to enable remote debugging by default when running the server,
  163. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  164. (Do not do this on a production server) (default: 'no debugging'):
  165.  
  166.  
  167. Which database would you like to use?:
  168. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  169. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  170. 3) Existing docker container (requires pre-installed Docker)
  171. 4) PostgreSQL 8.2 and above
  172.  
  173. Which one do you choose? [1/2/3/4]:
  174.  
  175. You must specify 1 or 2 or 3 or 4.
  176.  
  177. Which database would you like to use?:
  178. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  179. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  180. 3) Existing docker container (requires pre-installed Docker)
  181. 4) PostgreSQL 8.2 and above
  182.  
  183. Which one do you choose? [1/2/3/4]: 1
  184.  
  185. The distribution requires a MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  186.  
  187. Please specify database username (-DdbUser) (default: 'root'):
  188. Please specify database password (-DdbPassword): ************
  189.  
  190. Connected to the database.
  191.  
  192. Importing an initial database from classpath://openmrs-platform.sql...
  193.  
  194. Database imported successfully.
  195.  
  196. The search index has been reset.
  197.  
  198. Note: JDK 1.8 or above is needed for platform version 2.6.3.
  199.  
  200. Which JDK would you like to use to run this server?:
  201. 1) JAVA_HOME (currently: /usr/lib/jvm/java-17-openjdk-amd64)
  202. 2) /home/wikum/.jdks/openjdk-17.0.1
  203. 3) Other...
  204.  
  205. Which one do you choose? [1/2/3]: 1
  206. [INFO] Server configured successfully, path: /home/wikum/openmrs/server7
  207. [INFO] ------------------------------------------------------------------------
  208. [INFO] BUILD SUCCESS
  209. [INFO] ------------------------------------------------------------------------
  210. [INFO] Total time: 18:04 min
  211. [INFO] Finished at: 2023-11-30T09:46:02+05:30
  212. [INFO] ------------------------------------------------------------------------
  213.  
Add Comment
Please, Sign In to add comment