0 votes
1 view

Hi,

I have deployed Knowage in Docker version, combined with knowage-r and knowage-python containers. Here is my docker-compose.yml

version: "3.5"
services:
  knowage:
    container_name: knowage
    image: knowagelabs/knowage-server-docker:latest
    depends_on:
      - knowagedb
    ports:
      - "8080:8080"
    networks:
      - outbound
    environment:
      - DB_USER=$DB_USER
      - DB_PASS=$DB_PASS
      - DB_DB=$DB_DB
      - DB_HOST=$DB_HOST
      - DB_PORT=$DB_PORT
      - DB_ROOT_PASS=$DB_ROOT_PASS
      - HMAC_KEY=$HMAC_KEY
      - PASSWORD_ENCRYPTION_SECRET=$PASSWORD_ENCRYPTION_SECRET
      - PUBLIC_ADDRESS=X.X.X.X
    volumes:
      - resource:/home/knowage/apache-tomcat/resources

  knowagepython:
    container_name: knowagepython
    image: knowagelabs/knowage-python-docker:latest
    environment:
      - HMAC_KEY=$HMAC_KEY
      - KNOWAGE_PUBLIC_ADDRESS=http://knowage:8080
      - PUBLIC_ADDRESS=X.X.X.X
    networks:
      - outbound
    ports:    
      - "5000:5000"

  knowager:
    container_name: knowager
    image: knowagelabs/knowage-r-docker:latest
    environment:
      - HMAC_KEY=$HMAC_KEY
    networks:
      - outbound

  knowagedb:
    container_name: knowagedb
    image: mariadb:latest
    environment:
      - MYSQL_USER=$DB_USER
      - MYSQL_PASSWORD=$DB_PASS
      - MYSQL_DATABASE=$DB_DB
      - MYSQL_ROOT_PASSWORD=$DB_ROOT_PASS
    networks:
      - outbound

    volumes:
      - db:/var/lib/mysql

volumes:
  db:
    driver: local
  resource:
    driver: local

networks:
  outbound:
    driver: bridge

I run it and tried to connect with my dockerized Knowage (http://X.X.X.X:8080/knowage), everything was normal.

I set the python.virtualenv.0.backend.url and python.virtualenv.0.frontend.url to http://X.X.X.X:5000

However when I tried to use Python widget, after I added the script to plot the graph, it doesn't show any graph or something, just blank. I accessed the knowage container saw the knowageDataMining.log file size is 0 which means no content.

So, my question is:

  1. Is Knowage Data Mining Engine deactivated by default?
  2. If yes, how to activate Knowage Data Mining Engine in order to use it for the first time?
  3. If no, did I miss some steps?
Thank you.
Environment Knowage 7.4.0-SNAPSHOT (latest)
closed with the note: Has been solved
asked Dec 15, 2020 in Data Mining by ferdymulyadi (120 points)
closed Jan 15, 2021 by ferdymulyadi | 1 view
How did you solve this? Have the same issue.
1,553 questions
1,017 answers
2,037 comments
2,567 users