i got the message when run: yarn serv
[OPENCTI] Platform default initialization failed.
might be error comes because i have kill previous yarn serv initiation,
Steps to create the smallest reproducible scenario:
yarn install
yarn build
yarn serv
error
{"category":"APP","errors":[{"attributes":{"genre":"TECHNICAL","http_status":500},"message":"Cannot convert undefined or null to object","name":"UNKNOWN_ERROR","stack":"GraphQLError: Cannot convert undefined or null to object\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at UnknownError (/opt/opencti/build/src/config/errors.js:81:47)\n at Object._logWithError (/opt/opencti/build/src/config/conf.js:238:17)\n at Object.error (/opt/opencti/build/src/config/conf.js:247:48)\n at platformStart (/opt/opencti/build/src/boot.js:42:12)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)"},{"message":"Cannot convert undefined or null to object","name":"TypeError","stack":"TypeError: Cannot convert undefined or null to object\n at Function.keys ()\n at Object._objectKeys (/opt/opencti/build/node_modules/fast-json-patch/commonjs/helpers.js:34:23)\n at _generate (/opt/opencti/build/node_modules/fast-json-patch/commonjs/duplex.js:125:32)\n at Object.compare (/opt/opencti/build/node_modules/fast-json-patch/commonjs/duplex.js:178:5)\n at elUpdateIndicesMappings (/opt/opencti/build/src/database/engine.js:1032:34)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at refreshMappingsAndIndices (/opt/opencti/build/src/initialization.js:60:3)\n at platformInit (/opt/opencti/build/src/initialization.js:117:7)\n at platformStart (/opt/opencti/build/src/boot.js:29:7)"}],"level":"error","message":"Cannot convert undefined or null to object","source":"backend","timestamp":"2024-10-25T03:26:08.177Z","version":"6.3.6"}
Description
i got the message when run: yarn serv [OPENCTI] Platform default initialization failed. might be error comes because i have kill previous yarn serv initiation,
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
{"category":"APP","errors":[{"attributes":{"genre":"TECHNICAL","http_status":500},"message":"Cannot convert undefined or null to object","name":"UNKNOWN_ERROR","stack":"GraphQLError: Cannot convert undefined or null to object\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at UnknownError (/opt/opencti/build/src/config/errors.js:81:47)\n at Object._logWithError (/opt/opencti/build/src/config/conf.js:238:17)\n at Object.error (/opt/opencti/build/src/config/conf.js:247:48)\n at platformStart (/opt/opencti/build/src/boot.js:42:12)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)"},{"message":"Cannot convert undefined or null to object","name":"TypeError","stack":"TypeError: Cannot convert undefined or null to object\n at Function.keys ()\n at Object._objectKeys (/opt/opencti/build/node_modules/fast-json-patch/commonjs/helpers.js:34:23)\n at _generate (/opt/opencti/build/node_modules/fast-json-patch/commonjs/duplex.js:125:32)\n at Object.compare (/opt/opencti/build/node_modules/fast-json-patch/commonjs/duplex.js:178:5)\n at elUpdateIndicesMappings (/opt/opencti/build/src/database/engine.js:1032:34)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at refreshMappingsAndIndices (/opt/opencti/build/src/initialization.js:60:3)\n at platformInit (/opt/opencti/build/src/initialization.js:117:7)\n at platformStart (/opt/opencti/build/src/boot.js:29:7)"}],"level":"error","message":"Cannot convert undefined or null to object","source":"backend","timestamp":"2024-10-25T03:26:08.177Z","version":"6.3.6"}
Additional information