openslice / io.openslice.main

Main parent project
Apache License 2.0
5 stars 5 forks source link

Unable to install last develop version #3

Closed Thorfinn3 closed 3 years ago

Thorfinn3 commented 3 years ago

Hi ! I am trying to install your last version on develop branch but i encounter different problem (I am still on Ubuntu 20.04).

With deploy-develop.sh script (https://raw.githubusercontent.com/openslice/io.openslice.main/develop/compose/deploy-develop.sh) I have :

[ERROR] 1 problem was encountered while building the effective settings
[FATAL] Non-parseable settings /root/.m2/settings.xml: only whitespace content allowed before start tag and not e (position: START_DOCUMENT seen \n \n \n e... @4:3)  @ /root/.m2/settings.xml, line 4, column 3

npm WARN bootstrap@4.3.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself.
npm WARN ng-pick-datetime@7.0.0 requires a peer of @angular/cdk@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-toastr@11.2.1 requires a peer of rxjs@^6.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular/compiler-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 1595 packages in 7.845s

35 packages are looking for funding
  run `npm fund` for details

found 302 vulnerabilities (15 low, 52 moderate, 232 high, 3 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
Your global Angular CLI version (12.0.5) is greater than your local version (8.3.8). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Generating ES5 bundles for differential loading...
ES5 bundle generation complete.

chunk {2} polyfills-es2015.ffa9bb4e015925544f91.js (polyfills) 36.3 kB [initial] [rendered]
chunk {3} polyfills-es5.0290b245fbcca09184ac.js (polyfills-es5) 127 kB [initial] [rendered]
chunk {0} runtime-es2015.cdfb0ddb511f65fdc0a0.js (runtime) 1.45 kB [entry] [rendered]
chunk {0} runtime-es5.cdfb0ddb511f65fdc0a0.js (runtime) 1.45 kB [entry] [rendered]
chunk {1} main-es2015.68a4786776894706e72c.js (main) 2.6 MB [initial] [rendered]
chunk {1} main-es5.68a4786776894706e72c.js (main) 2.79 MB [initial] [rendered]
chunk {4} styles.7fff4f906b411848f366.css (styles) 270 kB [initial] [rendered]
chunk {scripts} scripts.ff89bbd26e044df9f81f.js (scripts) 23.3 kB [entry] [rendered]
Date: 2021-06-24T12:05:17.876Z - Hash: 5e68e540a5e50d641484 - Time: 53815ms

And after that if I try to do the next steps with docker-compose :

Removing network compose_front
Removing network compose_back
Creating network "compose_front" with driver "bridge"
Creating network "compose_back" with driver "bridge"
Building oasapi
Step 1/8 : FROM adoptopenjdk/openjdk13-openj9:latest
 ---> e8cf8e0a1776
Step 2/8 : MAINTAINER openslice.io
 ---> Using cache
 ---> 4c27b00ab49e
Step 3/8 : ENV SPRING_APPLICATION_JSON='{   "spring.datasource.url": "dbc:mysql://10.0.2.15/ostmfdb?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&nullCatalogMeansCurrent=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC",   "spring.activemq.broker-url": "tcp://10.0.2.15:61616"  }'
 ---> Using cache
 ---> cd8f2a396c18
Step 4/8 : RUN mkdir /opt/shareclasses
 ---> Using cache
 ---> 74367df34063
Step 5/8 : RUN mkdir -p /opt/openslice/lib/
 ---> Using cache
 ---> ad2cffda0cad
Step 6/8 : COPY target/io.openslice.oas-1.0.2-SNAPSHOT.jar /opt/openslice/lib/
ERROR: Service 'oasapi' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder910136889/target/io.openslice.oas-1.0.2-SNAPSHOT.jar: no such file or directory

I must have missed something in the configuration. I will search only own side as well. Many thanks, Charles

ctranoris commented 3 years ago

hm something strange happened during the build. I see [FATAL] Non-parseable settings /root/.m2/settings.xml: only whitespace content allowed before start tag and not e (position: START_DOCUMENT seen \n \n \n e... @4:3) @ /root/.m2/settings.xml, line 4, column 3

maybe could you please delete the /root/.m2 folder?

is there enough disk space?

Thorfinn3 commented 3 years ago

Thanks, I have enough disk space and I try to removed /root/.m2 folder and I have another error but I have an idea where it could come from, I'll tell you if I've sorted it out

Thorfinn3 commented 3 years ago

I have successfully installed, the problem came from my side because of the lack of a configuration to pass everything behind a proxy. Thanks a lot for your help and sorry for the inconvenience