Closed pyred123 closed 2 years ago
that's exactly the same i'm facing off.
@11173776 I ended up reinstalling Ubuntu 20.04 LTS and starting over, where this time it worked.
The second time around I didn't really need to edit the docker-compose.yml file, I just created a new .env file in the same directory and ran the docker-compose up command.
Prerequisites
Description
Hi all, I'm attempting to run OpenCTI using Docker on Ubuntu-20.04.3. I am unable to access the web interface (localhost:4000) and have what seems to be many errors when trying to build/run the containers. Any information to get OpenCTI up and running would be greatly appreciated :)
example error:
{"error":{"name":"UnknownError","data":{"message":"The Access Key Id you provided does not exist in our records.","_stack":"S3Error: The Access Key Id you provided does not exist in our records.\n at Object.parseError (/opt/opencti/node_modules/minio/dist/main/xml-parsers.js:89:11)\n at /opt/opencti/node_modules/minio/dist/main/transformers.js:164:22\n at DestroyableTransform._flush (/opt/opencti/node_modules/minio/dist/main/transformers.js:88:10)\n at DestroyableTransform.prefinish (/opt/opencti/node_modules/readable-stream/lib/_stream_transform.js:129:10)\n at DestroyableTransform.emit (node:events:394:28)\n at prefinish (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:611:14)\n at finishMaybe (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:620:5)\n at endWritable (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:643:3)\n at DestroyableTransform.Writable.end (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:571:22)\n at IncomingMessage.onend (node:internal/streams/readable:688:10)\n at Object.onceWrapper (node:events:513:28)\n at IncomingMessage.emit (node:events:406:35)\n at endReadableNT (node:internal/streams/readable:1331:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"}},"category":"APP","version":"5.0.3","level":"error","message":"[OPENCTI] Platform initialization fail","timestamp":"2021-11-24T03:39:16.938Z"}
and
opt/opencti/node_modules/minio/dist/main/xml-parsers.js:89 opencti_1 | var e = new errors.S3Error(); opencti_1 | ^ opencti_1 | S3Error: The Access Key Id you provided does not exist in our records. opencti_1 | at Object.parseError (/opt/opencti/node_modules/minio/dist/main/xml-parsers.js:89:11) opencti_1 | at /opt/opencti/node_modules/minio/dist/main/transformers.js:164:22 opencti_1 | at DestroyableTransform._flush (/opt/opencti/node_modules/minio/dist/main/transformers.js:88:10) opencti_1 | at DestroyableTransform.prefinish (/opt/opencti/node_modules/readable-stream/lib/_stream_transform.js:129:10) opencti_1 | at DestroyableTransform.emit (node:events:394:28) opencti_1 | at prefinish (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:611:14) opencti_1 | at finishMaybe (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:620:5) opencti_1 | at endWritable (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:643:3) opencti_1 | at DestroyableTransform.Writable.end (/opt/opencti/node_modules/readable-stream/lib/_stream_writable.js:571:22) opencti_1 | at IncomingMessage.onend (node:internal/streams/readable:688:10) opencti_1 | at Object.onceWrapper (node:events:513:28) opencti_1 | at IncomingMessage.emit (node:events:406:35) opencti_1 | at endReadableNT (node:internal/streams/readable:1331:12) opencti_1 | at processTicksAndRejections (node:internal/process/task_queues:83:21)
.env file `OPENCTI_ADMIN_EMAIL=admin@opencti.io
OPENCTI_ADMIN_PASSWORD=opencti
OPENCTI_ADMIN_TOKEN=c1f9689d-ba7d-4bc9-b661-c26bf5fb20ca
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=admin1
RABBITMQ_DEFAULT_USER=guest
RABBITMQ_DEFAULT_PASS=guest
CONNECTOR_HISTORY_ID=ae2eaae6-0064-4229-b700-e8831990a1eb
CONNECTOR_EXPORT_FILE_STIX_ID=6dbc66e1-9f7d-46b5-bb65-56d9b817d42f
CONNECTOR_EXPORT_FILE_CSV_ID=82088983-d80e-479c-b46e-bad4665c92fb
CONNECTOR_IMPORT_FILE_STIX_ID=2027593c-ae34-4dd0-b8d4-6c7b5ba6c3d2
CONNECTOR_IMPORT_REPORT_ID=f478b9d0-7d5a-41ca-9965-2acb5c250173
SMTP_HOSTNAME=cti.Mail.Com`
docker-compose.yml `version: '3'
services:
redis:
elasticsearch:
minio:
rabbitmq:
opencti:
worker:
connector-history:
connector-export-file-stix:
connector-export-file-csv:
connector-import-file-stix:
connector-import-report:
volumes:
esdata:
s3data:
redisdata:
amqpdata:`
Environment