Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyst workbenches is not deleted from the report. #6954

Open
misohouse opened this issue May 14, 2024 · 0 comments
Open

Analyst workbenches is not deleted from the report. #6954

misohouse opened this issue May 14, 2024 · 0 comments
Labels
needs triage use to identify issue needing triage from Filigran Product team question Further information is requested

Comments

@misohouse
Copy link

There seems to be an error while importing minio data stored in S3 from the old server to the new server.

(Error screen)
111

(Error log)
ory":"APP","errors":[{"attributes":{"filename":"import/pending/Log4j.pdf.json","genre":"BUSINESS","http_status":500,"user_id":"74d07ecc-fd2c-47eb-b13c-f3ea7e6b2768"},"message":"Load file from storage fail","name":"UNSUPPORTED_ERROR","stack":"UNSUPPORTED_ERROR: Load file from storage fail\n at error (/opt/opencti/build/src/config/errors.js:8:10)\n at UnsupportedError (/opt/opencti/build/src/config/errors.js:83:51)\n at loadFile (/opt/opencti/build/src/database/file-storage.js:205:11)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:95:14)\n at deleteImport (/opt/opencti/build/src/domain/file.js:139:20)"},{"message":"UnknownError","name":"NotFound","stack":"NotFound: UnknownError\n at de_NotFoundRes (/opt/opencti/build/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4827:21)\n at de_CommandError (/opt/opencti/build/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4750:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at /opt/opencti/build/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20\n at /opt/opencti/build/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js:225:18\n at /opt/opencti/build/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38\n at /opt/opencti/build/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:97:20\n at /opt/opencti/build/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:120:14\n at /opt/opencti/build/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22\n at loadFile (/opt/opencti/build/src/database/file-storage.js:169:20)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:95:14)\n at deleteImport (/opt/opencti/build/src/domain/file.js:139:20)"}],"inner_relation_creation":0,"level":"error","message":"Load file from storage fail","operation":"WorkbenchFileLineDeleteMutation","operation_query":"mutation WorkbenchFileLineDeleteMutation($fileName:String){deleteImport(fileName:$fileName)}","size":138,"time":11,"timestamp":"2024-05-14T06:36:41.760Z","type":"WRITE_ERROR","user":{"group_ids":["eee3b034-1ea2-4281-884c-337697819212"],"ip":"::ffff:192.168.200.162","organization_ids":[],"referer":"http://192.168.200.211:8080/dashboard/analyses/reports/605d40cb-a27c-4ada-925d-368356f6fa45/files","socket":"query","user_id":"74d07ecc-fd2c-47eb-b13c-f3ea7e6b2768","user_metadata":{}},"variables":{"fileName":"import/pending/Log4j.pdf.json"},"version":"6.0.9"}

On the old server, I can view and delete it normally, but on the new server, I can see the list of workbench but not delete it.

I checked the path /var/lib/docker/volumes/opencti_s3data/_data/opencti-bucktet/import/pending and the data is there on the new server as well as on the old server.

I'm not sure, but I think I'll have to delete it myself via elasticsearch in kibana, but I'm not sure what query statement to run.

Please let me know the solution

@misohouse misohouse added needs triage use to identify issue needing triage from Filigran Product team question Further information is requested labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage use to identify issue needing triage from Filigran Product team question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant