Giter Site home page Giter Site logo

docdoku-plm-docker's People

Contributors

mguimard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docdoku-plm-docker's Issues

docdoku-plm-docker/keystore unexpected character

 ./start.sh 
Data directory found
/Users/xuyukun/Desktop/docdoku-plm-docker/data
Keystore found
/Users/xuyukun/Desktop/docdoku-plm-docker/keystore
unexpected character "." in variable name near "cluster.name=changeit\nbootstrap.memory_lock=true\ndiscovery.type=single-node\nES_JAVA_OPTS=-Xms512m -Xmx512m"
bash 

ElasticSearch container faild

When I run docker-compose my container docdokuplmdocker_es_1 failed with such as log file:

user@pc:~/docdoku-plm-docker$ docker logs docdokuplmdocker_es_1 
[2017-06-30T19:59:12,850][INFO ][o.e.n.Node               ] [] initializing ...
[2017-06-30T19:59:13,284][INFO ][o.e.e.NodeEnvironment    ] [4UfoEra] using [1] data paths, mounts [[/ (none)]], net usable_space [20.3gb], net total_space [27.3gb], spins? [possibly], types [aufs]
[2017-06-30T19:59:13,284][INFO ][o.e.e.NodeEnvironment    ] [4UfoEra] heap size [494.9mb], compressed ordinary object pointers [true]
[2017-06-30T19:59:13,286][INFO ][o.e.n.Node               ] node name [4UfoEra] derived from node ID [4UfoEraYRs-Its4Utl86KA]; set [node.name] to override
[2017-06-30T19:59:13,286][INFO ][o.e.n.Node               ] version[5.4.0], pid[1], build[780f8c4/2017-04-28T17:43:27.229Z], OS[Linux/4.8.0-58-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_131/25.131-b12]
[2017-06-30T19:59:16,765][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [aggs-matrix-stats]
[2017-06-30T19:59:16,765][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [ingest-common]
[2017-06-30T19:59:16,765][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-expression]
[2017-06-30T19:59:16,765][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-groovy]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-mustache]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-painless]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [percolator]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [reindex]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [transport-netty3]
[2017-06-30T19:59:16,767][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [transport-netty4]
[2017-06-30T19:59:16,768][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [ingest-geoip]
[2017-06-30T19:59:16,768][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [ingest-user-agent]
[2017-06-30T19:59:16,768][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [x-pack]
[2017-06-30T19:59:20,504][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/55] [Main.cc@128] controller (64 bit): Version 5.4.0 (Build 120b96fa7f6fa7) Copyright (c) 2017 Elasticsearch BV
[2017-06-30T19:59:20,586][INFO ][o.e.d.DiscoveryModule    ] [4UfoEra] using discovery type [zen]
[2017-06-30T19:59:21,987][INFO ][o.e.n.Node               ] initialized
[2017-06-30T19:59:21,988][INFO ][o.e.n.Node               ] [4UfoEra] starting ...
[2017-06-30T19:59:23,654][INFO ][o.e.t.TransportService   ] [4UfoEra] publish_address {172.18.0.2:9300}, bound_addresses {0.0.0.0:9300}
[2017-06-30T19:59:23,793][INFO ][o.e.b.BootstrapChecks    ] [4UfoEra] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2017-06-30T19:59:23,809][INFO ][o.e.n.Node               ] [4UfoEra] stopping ...
[2017-06-30T19:59:23,813][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started
[2017-06-30T19:59:23,882][INFO ][o.e.n.Node               ] [4UfoEra] stopped
[2017-06-30T19:59:23,882][INFO ][o.e.n.Node               ] [4UfoEra] closing ...
[2017-06-30T19:59:23,892][INFO ][o.e.n.Node               ] [4UfoEra] closed
[2017-07-01T10:11:27,617][INFO ][o.e.n.Node               ] [] initializing ...
[2017-07-01T10:11:27,997][INFO ][o.e.e.NodeEnvironment    ] [4UfoEra] using [1] data paths, mounts [[/ (none)]], net usable_space [20.1gb], net total_space [27.3gb], spins? [possibly], types [aufs]
[2017-07-01T10:11:27,997][INFO ][o.e.e.NodeEnvironment    ] [4UfoEra] heap size [494.9mb], compressed ordinary object pointers [true]
[2017-07-01T10:11:27,999][INFO ][o.e.n.Node               ] node name [4UfoEra] derived from node ID [4UfoEraYRs-Its4Utl86KA]; set [node.name] to override
[2017-07-01T10:11:27,999][INFO ][o.e.n.Node               ] version[5.4.0], pid[1], build[780f8c4/2017-04-28T17:43:27.229Z], OS[Linux/4.8.0-58-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_131/25.131-b12]
[2017-07-01T10:11:33,404][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [aggs-matrix-stats]
[2017-07-01T10:11:33,404][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [ingest-common]
[2017-07-01T10:11:33,404][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-expression]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-groovy]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-mustache]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [lang-painless]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [percolator]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [reindex]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [transport-netty3]
[2017-07-01T10:11:33,405][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded module [transport-netty4]
[2017-07-01T10:11:33,406][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [ingest-geoip]
[2017-07-01T10:11:33,406][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [ingest-user-agent]
[2017-07-01T10:11:33,406][INFO ][o.e.p.PluginsService     ] [4UfoEra] loaded plugin [x-pack]
[2017-07-01T10:11:39,023][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/55] [Main.cc@128] controller (64 bit): Version 5.4.0 (Build 120b96fa7f6fa7) Copyright (c) 2017 Elasticsearch BV
[2017-07-01T10:11:39,134][INFO ][o.e.d.DiscoveryModule    ] [4UfoEra] using discovery type [zen]
[2017-07-01T10:11:40,290][INFO ][o.e.n.Node               ] initialized
[2017-07-01T10:11:40,290][INFO ][o.e.n.Node               ] [4UfoEra] starting ...
[2017-07-01T10:11:40,962][INFO ][o.e.t.TransportService   ] [4UfoEra] publish_address {172.18.0.3:9300}, bound_addresses {0.0.0.0:9300}
[2017-07-01T10:11:40,969][INFO ][o.e.b.BootstrapChecks    ] [4UfoEra] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2017-07-01T10:11:40,988][INFO ][o.e.n.Node               ] [4UfoEra] stopping ...
[2017-07-01T10:11:40,993][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started
[2017-07-01T10:11:41,081][INFO ][o.e.n.Node               ] [4UfoEra] stopped
[2017-07-01T10:11:41,082][INFO ][o.e.n.Node               ] [4UfoEra] closing ...
[2017-07-01T10:11:41,111][INFO ][o.e.n.Node               ] [4UfoEra] closed

dockdoku-plm-dokcer_back crashes

Greetings,
First of all, thank you for your contribution to open source software! The demos of the plm look fantastic!

I have unfortunately encountered a problem, while building dockdocku-plm via docker-compose. It seems that the backend crashes, because of a certain payara exception. My host OS is ubuntu 20.04, and I have attached the logs below.

docker-compose-logs.txt.
Could you please advice how I could solve this issue?

Problem while starting Server.

Screenshot: https://prnt.sc/mf6ljm

API: https://docdokuplm.local:10081/eplmp-server-rest/api/auth/providers

Request Method: GET

Status Code: 404 Not Found

Remote Address: 127.0.0.1:10081

Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ7XCJsb2dpblwiOlwic29tbWVzaDI5XCIsXCJncm91cE5hbWVcIjpcInVzZXJzXCJ9IiwiaWF0IjoxNTQ5MjY0MzMwLCJleHAiOjE1NDkyNzUxMzB9.WDPmEYu1H-qUDR84funBBX-bW6yv8FJBHnWRzuMxTts

Branch name: Master
Commit : 3d4312f

We have used Docker installation.

Now installed version is 2.5.2-SNAPSHOT.

While starting the server we are getting the above screenshot error (404 Not Found).

But if we keep on reloading the site for 10 - 15 times its getting loaded. Once the site is up means, its always running fine until restarting the server.

Why is this happening is this application error or is this related to NGINX configuration issue ?
Should we configure our location and root in Nginx?

Problem building artifacts

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

Start app

I build server:

cd ~/docdoku-plm-server
mvn clean install 

Then:

cd ~/.docdoku-web-front/
npm install
bower install
grunt build

Then:

docker-compose up -d

And when I type URL: localhost:13000
I had an error:

Sorry

An unexpected error happened, please try again or contact support

   CODE[0] - 

./start.sh: line 46: keytool: command not found

Hi, Install error like this

$ ./start.sh
Creating data directory and volume...
docdoku-plm-server-volume
/data/docdoku-plm-docker/data
Generating keystore...
./start.sh: line 46: keytool: command not found

Sorry Server isn't available, please try again

I installed it according to the instructions. But I get an error when I try to open
http://[my ip]:8000

Sorry Server isn't available, please try again

if i use http://localhost:8000 it works correctly

docker-compose ps

docdoku-plm-docker_adminer_1      entrypoint.sh docker-php-e ...   Up      0.0.0.0:8004->8080/tcp,:::8004->8080/tcp
docdoku-plm-docker_back_1         /entrypoint.sh                   Up      0.0.0.0:4848->4848/tcp,:::4848->4848/tcp, 0.0.0.0:8001->8080/tcp,:::8001->8080/tcp, 8181/tcp, 9009/tcp
docdoku-plm-docker_conversion_1   /deployments/run-java.sh         Up      8080/tcp
docdoku-plm-docker_db_1           docker-entrypoint.sh postgres    Up      5432/tcp
docdoku-plm-docker_es_1           /usr/local/bin/docker-entr ...   Up      9200/tcp, 9300/tcp
docdoku-plm-docker_front_1        /entrypoint.sh                   Up      0.0.0.0:8000->80/tcp,:::8000->80/tcp
docdoku-plm-docker_kafka_1        start-kafka.sh                   Up
docdoku-plm-docker_kibana_1       /usr/local/bin/kibana-docker     Up      0.0.0.0:8002->5601/tcp,:::8002->5601/tcp
docdoku-plm-docker_smtp_1         MailHog                          Up      0.0.0.0:1025->1025/tcp,:::1025->1025/tcp, 0.0.0.0:8003->8025/tcp,:::8003->8025/tcp
docdoku-plm-docker_ssl-proxy_1    /docker-entrypoint.sh ngin ...   Up      0.0.0.0:9000->443/tcp,:::9000->443/tcp, 80/tcp
docdoku-plm-docker_zookeeper_1    /bin/sh -c /usr/sbin/sshd  ...   Up      2181/tcp, 22/tcp, 2888/tcp, 3888/tcp

What should I check?

Problem when insert-sample <login> <pwd>.

HI,

To import and check sample project I have used the following command.

sudo ./platform-ctl insert-sample MY_LOGIN_USER_ID MY_PASSWORD

When trying the above command it gives me the following error.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.571 s
[INFO] Finished at: 2019-01-31T07:29:36+00:00
[INFO] Final Memory: 34M/301M
[INFO] ------------------------------------------------------------------------
[INFO] - No workspace name supplied, generating one...
[INFO] - Using wks-a72fca63 as workspace name 
[INFO] - Starting load process... 
[INFO] - Checking server availability...
[INFO] - Creating your account...
[INFO] - Creating account [sommesh29]
[INFO] - Cannot create account, trying to use given credentials for next operations
[INFO] - Creating workspace...
[INFO] - Adding user sommesh29 to workspace wks-a72fca63
[SEVERE] - Ooops, something went wrong while loading sample data : Not Found
Not Foundcom.docdoku.api.client.ApiException: Not Found
    at com.docdoku.api.client.ApiClient.handleResponse(ApiClient.java:838)
    at com.docdoku.api.client.ApiClient.execute(ApiClient.java:773)
    at com.docdoku.api.client.ApiClient.execute(ApiClient.java:757)
    at com.docdoku.api.services.WorkspacesApi.addUserWithHttpInfo(WorkspacesApi.java:833)
    at com.docdoku.api.services.WorkspacesApi.addUser(WorkspacesApi.java:819)
    at com.docdoku.loaders.SampleLoader.addUserToWorkspace(SampleLoader.java:304)
    at com.docdoku.loaders.SampleLoader.load(SampleLoader.java:88)
    at com.docdoku.loaders.Main.main(Main.java:73)

Kindly let me know the reson for the error .

Is this error from your API repositroy or so?

Docker Swarm Stack for production

I'm working on a production Docker Swarm stack and am a little stuck so I was hoping for some guidance.

Right now I'm stuck with the wonderful
Sorry Server isn't available, please try again
error message. But I can't figure out exactly what I've messed up.

Currently, the stack looks like this (which is a modified version of your stack):

  • DocDokuPLM using payara/server-full:4.181
  • Nginx Alpine
  • MariaDB 10/latest
  • Elasticsearch:6.6.1
  • DocDokuPLM-build using ubuntu:16.04 for building DocDokuPLM

Nginx, MariaDB, and Elasticsearch are all using their base containers with all configuration handled by environment variables, Docker Swarm configs, and Docker Swarm secrets.

The DocDokuPLM container is the payara container but uses an entrypoint script to run all the configuration commands that are in the back container. This makes it reconfigurable from the docker-swarm.yaml without needing to rebuild the container.

The DocDokuPLM-build container incorporates the init, build, and deploy commands in `platform-ctl' since everything needs to be built within the Docker volumes as they're not tied to any particular local storage/folder.

There are no error messages from the containers/build processes as far as I can tell, of course, it's possible I missed something. The only thing I get is a 200 605 code from Nginx when I try to connect.

What I'm looking at right now is the webapp.properties.json and vhost.conf. Most of vhost.conf is what I run in my other stacks so I've tested it, my main interest is at the bottom where the webapp.properties.json location is. I'm not sure if I have that quite right.

Next in line would be DOCDOKU_PLM_CODEBASE, DATABASE_URL, and ES_SERVER_URI in docker-swarm.yaml. Within Docker networks you usually can reference the other containers by name instead of by address or ip, but I'm not sure if that's an issue here or not.

Besides that would be any errors in the docker-entrypoint.sh, build, deploy, or init scripts. But those seem to checkout.

So yeah anything stick out?

Problem while opening Browser

Platform: Ubuntu

OS Type: 64-bit

First Thanks for the docker.

When trying to launch the browser using the comment given in the Readme document which is

./platform-ctl browser dev

getting the following error

./platform-ctl: line 316: Opening: command not found

I have checked that line number in platform-ctl which has this command in that particular line

browser () {
    .
    .
    .
    if [ "$1" == "dev" ] ; then
        URL=https://docdokuplm.local:10081
    else
        URL=https://docdokuplm.local:10080
    fi

    $(${COMMAND} ${URL})  // this is the line number 316

}

Can you please let us know what might be the issue.

docdoku

Is this issue because of Ubuntu or is this from the docker.

Kindly guide me through the setup.

Thanks in Advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.