OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.37k stars 941 forks source link

Docker-Compose Issue #95

Closed aostrovs closed 5 years ago

aostrovs commented 5 years ago

Environment

  1. macOS High Sierra
  2. OpenCTI version latest

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. docker-compose up

Actual Output

Following error occurs (over and over):

opencti_1 | Waiting Grakn to launch... integration_1 | Waiting for shared config... worker_1 | Waiting for token in shared config... opencti_1 | Waiting Grakn to launch... integration_1 | Waiting for shared config... worker_1 | Waiting for token in shared config... opencti_1 | Waiting Grakn to launch... integration_1 | Waiting for shared config... worker_1 | Waiting for token in shared config... opencti_1 | Waiting Grakn to launch... integration_1 | Waiting for shared config... worker_1 | Waiting for token in shared config...

codeyourweb commented 5 years ago

Similar thing on docker-compose up (Env Ubuntu 19.04 / OpenCTI latest version / docker-compose up)

Actual output: worker_1 | Waiting for token in shared config... opencti_1 | Waiting ElasticSearch to launch... integration_1 | Waiting for shared config... worker_1 | Waiting for token in shared config... opencti_1 | Waiting ElasticSearch to launch... (output loop)

SamuelHassine commented 5 years ago

@aostrovs, @codeyourweb: could you please:

  1. Clear your docker images and containers
  2. Clear all files in the folder opencti-docker/config
  3. Pull the repository (we fix a bug)
  4. Verify you apply sysctl -w vm.max_map_count=262144 as mentioned in the documentation.
  5. Run docker-compose up

Is OpenCTI working now?

aostrovs commented 5 years ago

Was able to resolve the issue. Thank you!

SamuelHassine commented 5 years ago

@aostrovs, @codeyourweb: we fixed a lot a problems related to the Docker installation in the new release. This should solve all the bugs you encountered. I close this issue, do not hesitate to open a new one if you have any new troubles.