opencti icon indicating copy to clipboard operation
opencti copied to clipboard

File indexing is not working when one file is missing on S3

Open aHenryJard opened this issue 1 year ago • 0 comments

Description

From discussion on https://github.com/OpenCTI-Platform/opencti/issues/7352

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create an Artifact with a file extension used for indexing (like .md for example)
  2. Go on minio ui, inside the bucket > /import/Artifact/ARTIFACT_ID
  3. Delete the file ( .md one for example)
  4. Go on setting > File indexing > Start

Expected Output

Idnexing works fine

Actual Output

Indexing never ends, in logs there is {"genre":"TECHNICAL","http_status":500},"message":"The specified key does not exist."

Additional information

Only tested for a first indexation, might be interesting to test the same steps on a platform that has a succeed indexing first.

Screenshots (optional)

aHenryJard avatar Jun 14 '24 14:06 aHenryJard