docdoku / docdoku-plm-docker

Docker configuration files for creating DocDokuPLM images
10 stars 12 forks source link

Problem building artifacts #9

Open jordicasadevall opened 5 years ago

jordicasadevall commented 5 years ago

I'm trying to install docdoku to test it, with docker. I cloned the repo in machine where we have other projects running with docker. I follow the steps and everything is ok until

./platform-ctl build-artifacts

When I run this command, after som messages "Creating docdoku... DONE", I get:

npm ERR! path /src/docdoku-web-front/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/src/docdoku-web-front/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Then if I run:

./platform-ctl up

I can access:

https://docdokuplm.local:14848

I see the login page.

But i have errors doing:

./platform-ctl deploy

First of all I would like to achieve building artifacts and see if the rest of the things are ok.

Thank you so much,

Jordi

murych commented 4 years ago

Also having problems with artifacts, but, I guess, not quite the same. While deployment of them goes without errors, when trying to perform verify-artifacts command, I get this errors:

➜  docdoku-plm git:(master) ./platform-ctl verify-artifacts
Verifying artifacts ...
Starting docdoku-plm-docker_smtp ... done
Starting docdoku-plm-docker_es      ... done
Starting docdoku-plm-docker_front ... done
Starting docdoku-plm-docker_db    ... done
Starting docdoku-plm-docker_adminer ... done
Starting docdoku-plm-docker_kibana  ... done
Starting docdoku-plm-docker_back    ... done
Starting docdoku-plm-docker_proxy   ... done
8238494d919a47e254bab0d14aff5c3d  /src/eplmp/eplmp-server/eplmp-server-ear/target/eplmp-server-ear.ear
md5sum: /src/docdoku-plm/converter-all/converter-all-ear/target/converter-all-ear-2.5.5.ear: No such file or directory
md5sum: /src/docdoku-plm/converter-dae/converter-dae-ear/target/converter-dae-ear-2.5.5.ear: No such file or directory
md5sum: /src/docdoku-plm/converter-ifc/converter-ifc-ear/target/converter-ifc-ear-2.5.5.ear: No such file or directory
md5sum: /src/docdoku-plm/converter-obj/converter-obj-ear/target/converter-obj-ear-2.5.5.ear: No such file or directory
md5sum: /src/docdoku-plm/converter-step/converter-step-ear/target/converter-step-ear-2.5.5.ear: No such file or directory
md5sum: /src/docdoku-plm/importer-attributes/importer-attributes-ear/target/importer-attributes-ear-2.5.5.ear: No such file or directory
f9e3806548e9ce888d805f4605a62b74  /src/docdoku-plm/docdoku-cli/target/docdoku-cli-jar-with-dependencies.jar
md5sum: /src/docdoku-plm/docdoku-api/target/docdoku-api-2.5.5-json.jar: No such file or directory
md5sum: /src/docdoku-plm/docdoku-api-java/target/docdoku-api-java-2.5.5-jar-with-dependencies.jar: No such file or directory
bb372a04b4cd9afe30f62aefb310cf46  /src/docdoku-web-front/target/docdoku-web-front.zip

As a result, deploy command doesn't finish correctly either.