wikumW

O3-server setup

May 18th, 2023
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.54 KB | None | 0 0
  1. wikum@msi:~/Documents/GSOC/OpenMRS/O3/2.6-dev3$ mvn openmrs-sdk:setup -DserverId=O3 -Ddistro=distro.properties
  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:4.5.0:setup (default-cli) @ standalone-pom ---
  9.  
  10. Setting up a new server...
  11. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.6.0:war
  12. [INFO] Copying openmrs-webapp-2.6.0.war to /home/wikum/openmrs/O3/openmrs-2.6.0.war
  13. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.15.1:jar
  14. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.15.0:jar
  15. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.14.0:jar
  16. [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:2.1.0:jar
  17. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.14.0:jar
  18. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.9.0:jar
  19. [INFO] Configured Artifact: org.openmrs.module:ordertemplates-omod:1.0.1:jar
  20. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.16:omod
  21. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.11.0:jar
  22. [INFO] Configured Artifact: org.bahmni.module:appointments-omod:1.6.0:jar
  23. [INFO] Configured Artifact: org.openmrs.module:queue-omod:1.0.0-alpha.1:jar
  24. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:3.0.0:jar
  25. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.10.0:jar
  26. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.6.0:jar
  27. [INFO] Configured Artifact: org.openmrs.module:cohort-omod:3.4.0:jar
  28. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:2.3.0:jar
  29. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.25.0:jar
  30. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
  31. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.39.0:jar
  32. [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.9:jar
  33. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.23.0:jar
  34. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.23.0:jar
  35. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.9.0:jar
  36. [INFO] Copying addresshierarchy-omod-2.15.1.jar to /home/wikum/openmrs/O3/modules/addresshierarchy-2.15.1.omod
  37. [INFO] Copying legacyui-omod-1.15.0.jar to /home/wikum/openmrs/O3/modules/legacyui-1.15.0.omod
  38. [INFO] Copying reportingrest-omod-1.14.0.jar to /home/wikum/openmrs/O3/modules/reportingrest-1.14.0.omod
  39. [INFO] Copying openconceptlab-omod-2.1.0.jar to /home/wikum/openmrs/O3/modules/openconceptlab-2.1.0.omod
  40. [INFO] Copying owa-omod-1.14.0.jar to /home/wikum/openmrs/O3/modules/owa-1.14.0.omod
  41. [INFO] Copying fhir2-omod-1.9.0.jar to /home/wikum/openmrs/O3/modules/fhir2-1.9.0.omod
  42. [INFO] Copying ordertemplates-omod-1.0.1.jar to /home/wikum/openmrs/O3/modules/ordertemplates-1.0.1.omod
  43. [INFO] Copying serialization.xstream-omod-0.2.16.omod to /home/wikum/openmrs/O3/modules/serialization.xstream-0.2.16.omod
  44. [INFO] Copying htmlwidgets-omod-1.11.0.jar to /home/wikum/openmrs/O3/modules/htmlwidgets-1.11.0.omod
  45. [INFO] Copying appointments-omod-1.6.0.jar to /home/wikum/openmrs/O3/modules/appointments-1.6.0.omod
  46. [INFO] Copying queue-omod-1.0.0-alpha.1.jar to /home/wikum/openmrs/O3/modules/queue-1.0.0-alpha.1.omod
  47. [INFO] Copying attachments-omod-3.0.0.jar to /home/wikum/openmrs/O3/modules/attachments-3.0.0.omod
  48. [INFO] Copying idgen-omod-4.10.0.jar to /home/wikum/openmrs/O3/modules/idgen-4.10.0.omod
  49. [INFO] Copying metadatamapping-omod-1.6.0.jar to /home/wikum/openmrs/O3/modules/metadatamapping-1.6.0.omod
  50. [INFO] Copying cohort-omod-3.4.0.jar to /home/wikum/openmrs/O3/modules/cohort-3.4.0.omod
  51. [INFO] Copying referencedemodata-omod-2.3.0.jar to /home/wikum/openmrs/O3/modules/referencedemodata-2.3.0.omod
  52. [INFO] Copying reporting-omod-1.25.0.jar to /home/wikum/openmrs/O3/modules/reporting-1.25.0.omod
  53. [INFO] Copying calculation-omod-1.3.0.jar to /home/wikum/openmrs/O3/modules/calculation-1.3.0.omod
  54. [INFO] Copying webservices.rest-omod-2.39.0.jar to /home/wikum/openmrs/O3/modules/webservices.rest-2.39.0.omod
  55. [INFO] Copying spa-omod-1.0.9.jar to /home/wikum/openmrs/O3/modules/spa-1.0.9.omod
  56. [INFO] Copying uicommons-omod-2.23.0.jar to /home/wikum/openmrs/O3/modules/uicommons-2.23.0.omod
  57. [INFO] Copying uiframework-omod-3.23.0.jar to /home/wikum/openmrs/O3/modules/uiframework-3.23.0.omod
  58. [INFO] Copying metadatasharing-omod-1.9.0.jar to /home/wikum/openmrs/O3/modules/metadatasharing-1.9.0.omod
  59. [WARNING] Could not find server 'O3' in settings.xml
  60. [INFO] Installing node version v16.15.0
  61. [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-node5193028003024574896/node/tmp
  62. [INFO] Copying node binary from /tmp/openmrs-sdk-node5193028003024574896/node/tmp/node-v16.15.0-linux-x64/bin/node to /tmp/openmrs-sdk-node5193028003024574896/node/node
  63. [INFO] Installed node locally.
  64. [INFO] Installing npm version 8.5.5
  65. [INFO] Unpacking /home/wikum/.m2/repository/com/github/eirslett/npm/8.5.5/npm-8.5.5.tar.gz into /tmp/openmrs-sdk-node5193028003024574896/node/node_modules
  66. [INFO] Installed npm locally.
  67. [INFO] npm not inheriting proxy config from Maven
  68. [INFO] Running 'npm --cache=/tmp/openmrs-sdk-node5193028003024574896/npm-cache exec -- [email protected] --version' in /home/wikum/Documents/GSOC/OpenMRS/O3/2.6-dev3
  69. [INFO] npm WARN exec The following package was not found and will be installed: [email protected]
  70. [INFO] npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
  71. [INFO] npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
  72. [INFO] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
  73. [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
  74. [INFO] npm WARN deprecated [email protected]: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
  75. [INFO] 4.4.1
  76. [INFO] npm notice
  77. [INFO] npm notice New major version of npm available! 8.5.5 -> 9.6.7
  78. [INFO] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.7>
  79. [INFO] npm notice Run `npm install -g [email protected]` to update!
  80. [INFO] npm notice
  81. [INFO] npm not inheriting proxy config from Maven
  82. [INFO] Running 'npm --cache=/tmp/openmrs-sdk-node5193028003024574896/npm-cache exec -- [email protected] build --target /home/wikum/openmrs/O3/frontend --build-config /home/wikum/openmrs/O3/spa-build-config.json' in /home/wikum/Documents/GSOC/OpenMRS/O3/2.6-dev3
  83. [INFO] [openmrs] Running build process ...
  84. [INFO] (node:37094) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
  85. [INFO] BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
  86. [INFO] Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
  87. [INFO] Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
  88. [INFO] (Use `node --trace-deprecation ...` to show where the warning was created)
  89. [INFO] assets by info 3.83 MiB [immutable]
  90. [INFO] assets by path *.woff 1.35 MiB 90 assets
  91. [INFO] assets by path *.woff2 1.04 MiB 90 assets
  92. [INFO] assets by status 1.44 MiB [big] 2 assets
  93. [INFO] + 1 asset
  94. [INFO] assets by path *.png 64.8 KiB
  95. [INFO] asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
  96. [INFO] asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
  97. [INFO] asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
  98. [INFO] + 5 assets
  99. [INFO] asset service-worker.js 200 KiB [emitted] [minimized] 1 related asset
  100. [INFO] asset index.html 2.76 KiB [emitted]
  101. [INFO] asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
  102. [INFO] asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
  103. [INFO] asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
  104. [INFO] Entrypoint main [big] 1.44 MiB (951 KiB) = openmrs.3abd2a009987bb14.css 658 KiB openmrs.5d9e0845ca7330e6.js 812 KiB 2 auxiliary assets
  105. [INFO] orphan modules 7.3 MiB (javascript) 2.4 MiB (asset) 8.21 KiB (runtime) [orphan] 1282 modules
  106. [INFO] runtime modules 18.6 KiB 14 modules
  107. [INFO] built modules 2.6 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) 664 KiB (css/mini-extract) [built]
  108. [INFO] javascript modules 2.6 MiB 220 modules
  109. [INFO] provide-module modules 336 bytes
  110. [INFO] modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
  111. [INFO] + 6 modules
  112. [INFO] consume-shared-module modules 336 bytes
  113. [INFO] modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
  114. [INFO] + 6 modules
  115. [INFO] css modules 664 KiB
  116. [INFO] css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/dist/openmrs-esm-styleguide.css 662 KiB [built] [code generated]
  117. [INFO] css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss 896 bytes [built] [code generated]
  118. [INFO] css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/error-state/error-state.module.scss 1.5 KiB [built] [code generated]
  119. [INFO]
  120. [INFO] LOG from InjectManifest
  121. [INFO] <i> The service worker at service-worker.js will precache
  122. [INFO] <i> 189 URLs, totaling 4.04 MB.
  123. [INFO]
  124. [INFO] WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  125. [INFO] This can impact web performance.
  126. [INFO] Assets:
  127. [INFO] openmrs.3abd2a009987bb14.css (658 KiB)
  128. [INFO] openmrs.5d9e0845ca7330e6.js (812 KiB)
  129. [INFO]
  130. [INFO] WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  131. [INFO] Entrypoints:
  132. [INFO] main (1.44 MiB)
  133. [INFO] openmrs.3abd2a009987bb14.css
  134. [INFO] openmrs.5d9e0845ca7330e6.js
  135. [INFO]
  136. [INFO]
  137. [INFO] webpack 5.83.1 compiled with 2 warnings in 22051 ms
  138. [INFO] [openmrs] Build finished.
  139. [INFO] npm not inheriting proxy config from Maven
  140. [INFO] Running 'npm --cache=/tmp/openmrs-sdk-node5193028003024574896/npm-cache exec -- [email protected] assemble --target /home/wikum/openmrs/O3/frontend --mode config --config /home/wikum/openmrs/O3/spa-build-config.json' in /home/wikum/Documents/GSOC/OpenMRS/O3/2.6-dev3
  141. [INFO] [openmrs] Reading configuration ...
  142. [INFO] [openmrs] Assembling the importmap ...
  143.  
  144. What port would you like your server to use? (default: '8080'):
  145.  
  146. If you want to enable remote debugging by default when running the server,
  147. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  148. (Do not do this on a production server) (default: 'no debugging'): 1044
  149.  
  150. Which database would you like to use?:
  151. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  152. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  153. 3) Existing docker container (requires pre-installed Docker)
  154. 4) PostgreSQL 8.2 and above
  155.  
  156. Which one do you choose? [1/2/3/4]: 2
  157.  
  158. Preparing 'openmrs-sdk-mysql-v3-2' DB docker container...
  159.  
  160. Starting 'openmrs-sdk-mysql-v3-2' DB docker container...
  161.  
  162. Connected to the database.
  163.  
  164. Importing an initial database from classpath://openmrs-platform.sql...
  165.  
  166. Database imported successfully.
  167.  
  168. The search index has been reset.
  169.  
  170. Note: JDK 1.8 or above is needed for platform version 2.6.0.
  171.  
  172. Which JDK would you like to use to run this server?:
  173. 1) JAVA_HOME (currently: /usr/lib/jvm/java-8-openjdk-amd64/jre)
  174. 2) Other...
  175.  
  176. Which one do you choose? [1/2]: 1
  177. [INFO] Server configured successfully, path: /home/wikum/openmrs/O3
  178. [INFO] ------------------------------------------------------------------------
  179. [INFO] BUILD SUCCESS
  180. [INFO] ------------------------------------------------------------------------
  181. [INFO] Total time: 05:33 min
  182. [INFO] Finished at: 2023-05-19T09:45:12+05:30
  183. [INFO] ------------------------------------------------------------------------
  184.  
Advertisement
Add Comment
Please, Sign In to add comment