-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Attachment upload fails (unallowed MIME type application/octet-stream) #6332
Comments
I have no troubles uploading PDF files myself. What's your setup like? |
This is the first file I have trouble with, all others worked just fine (including multiple PDFs). I'm running Debian 11.4, apache2 (2.4.54) with php8.1-fpm (8.1.4). I configured a new pool for firefly in php-fpm.
and even way bigger files than this strange PDF can be uploaded. I didn't change much besides the new pool. I just checked the PDF file version: 1.4 (Acrobat 5.x) |
Some of the apache site configuration:
|
I found the difference for this PDF. I opened it in Notepad++ and found this:
I have never seen a gziped PDF. |
Neither did I lol. I did discover another issue with uploads. I'll mark it as such and pick it up! |
In case someone else stumbles upon this later on and searches for a solution: |
Hi there! This is an automatic reply. This issue is now closed. Please be aware that closed issues are not actively monitored. If you reply, you may get no response.
Thank you for your consideration. |
Support guidelines
I've found a bug and checked that ...
Description
When uploading a certain PDF file to an existing transaction (the file extension and name don't matter) I get a success message, but the attachment is not visible in the transaction itself. When accessing
/attachments
the file is shown as 0 KB and not present. I found a hidden error on the/debug
page but I don't know where this error originates from.Expected behaviour
I would at least expect a visible message about this error. At best the file upload should just work.
Debug information
Debug information generated at 2022-08-08 19:29:56 Europe/Berlin for Firefly III version 5.7.10.
8.1.4
Linux
Steps to reproduce
No response
Additional info
I cannot upload the PDF file in this issue because it contains private data. If I can debug something for you tell me. In case you really need it, I could send you the PDF in private.
The text was updated successfully, but these errors were encountered: