Giter Site home page Giter Site logo

Comments (4)

henrikengstrom avatar henrikengstrom commented on June 9, 2024

If you look at the last couple of lines you can see that there is an error when the Vizceral backend service tries to communicate with Elasticsearch. What services do you see if you type docker ps?

from cinnamon-ui.

applideveloper avatar applideveloper commented on June 9, 2024

@henrikengstrom

vizceral araki$ docker ps
CONTAINER ID        IMAGE                                                                          COMMAND                  CREATED             STATUS              PORTS                    NAMES
fa5498888161        lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral-frontend:0.1   "npm run dev"            17 minutes ago      Up 17 minutes       0.0.0.0:8080->8080/tcp   vizceral_web_1
2ecf12bf3462        lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral:0.1            "bin/cinnamon-vizc..."   17 minutes ago      Up 17 minutes       0.0.0.0:8999->8999/tcp   vizceral_backend_1
vizceral araki$ docker images 
REPOSITORY                                                                 TAG                 IMAGE ID            CREATED             SIZE
lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral            0.1                 f730cb81ef5f        5 weeks ago         886MB
lightbend-docker-registry.bintray.io/cinnamon/cinnamon-vizceral-frontend   0.1                 c86233ec8748        5 weeks ago         344MB
docker.elastic.co/elasticsearch/elasticsearch                              5.6.3               865b21b970de        8 weeks ago         657MB

from cinnamon-ui.

applideveloper avatar applideveloper commented on June 9, 2024
vizceral araki$ docker exec -it 2ecf12bf3462 bash

daemon@2ecf12bf3462:/opt/docker$ vi conf/application.conf 
bash: vi: command not found
daemon@2ecf12bf3462:/opt/docker$ cat conf/application.conf 
# https://www.playframework.com/documentation/latest/Configuration

# Disables the security filters to enable the Vizceral javascript functionality
play.filters.enabled=[]

play.http.secret.key="cinviz"

# Run this process on a non-default port to not collide with other Play apps
play.server.http.port = 8999

cinnamon-vizceral {
  data-backend {
    frequency = 10 seconds
  }

  elasticsearch-backend {
    host =  "elasticsearch" // Maybe this!
    port = 9200
    retrieval-window = 30s // should have format xs, xm, xh, etc. where x is a number 1-n.
    max-size = 1000
    max-retry-timeout-millis = 10000
    user = "elastic"
    password = "changeme"
  }
}

daemon@2ecf12bf3462:/opt/docker$  sed -i -e "s/elasticsearch/localhost/" conf/application.conf 

2017-12-09 19 15 59

from cinnamon-ui.

 avatar commented on June 9, 2024

@applideveloper according to docker ps, your elasticsearch and kibana instances are not running. Verify that your cinnamon docker network is created with docker network ls, then run the following:

  • start elasticsearch container (-d for daemon mode)
    docker container run -d -p 9200:9200 -p 9300:9300 --name elasticsearch --network cinnamon elasticsearch:5.6.3

  • check container logs for elasticsearch container to ensure it started OK
    docker logs elasticsearch

with elasticsearch running on the cinnamon network, all the other containers on the cinnamon network will be able to communicate with it using the network alias elasticsearch on port 9200 and 9300.

I have a feeling your elasticsearch container failed to start OK. good luck! and let me know if your issues persist. I'm about to start working with this project myself.

from cinnamon-ui.

Related Issues (2)

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.