[OJS 3.1] Unable to upload issue cover

Hello all,

I’m not able to figure out what the error in the log is for this problem.
I’m unable to upload a cover image in the issue details form.
It’s complaining it’s not an image format, although I tried .png and jpg.
When I upload from the editor, it works though.

For this the upload in the form to work I need to comment

[finfo]
;mime_database_path = /etc/magic.mime

Any ideas?