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

[Bug] EMLParser fails with Unexpected error: File 5.41 supports only version 16 magic files #1197

Open
blockanz opened this issue Jun 23, 2023 · 3 comments
Assignees

Comments

@blockanz
Copy link

Installed Cortex on new Ubuntu 22.04 instance with all latest updates added.

Everything seems to be working except EmlParser.

When run, I get the following error:

Unexpected Error: b"File 5.41 supports only version 16 magic files. `/usr/local/lib/python3.10/dist-packages/magic/libmagic/magic.mgc' is version 14"

I have looked all over to see how I can recompile the magic.mgc db but can't find how that is done (maybe my google foo is lacking here).

Anyone got any ideas on how I can get this working?

Many thanks in advance.

@fabmat
Copy link

fabmat commented Jun 29, 2023

I had a similar problem.

In my case there was a working magic file located at '/lib/file/magic.mgc', which I copied to the location mentioned in the Error.

@jeromeleonard
Copy link
Contributor

Do you have the issue with this analyzer run as a docker container ?

@jeromeleonard jeromeleonard self-assigned this Aug 28, 2023
@ilyesFh
Copy link

ilyesFh commented Feb 21, 2024

Same issue running analyzer as a pod (container).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants