wikumW

Untitled

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