-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
π bugSomething isn't workingSomething isn't working
Description
What happened?
Description
Since upgrading from v0.8.0 to v0.8.3-rc1, uploading LibreOffice / OpenDocument files
(.ods, .odt, .odp) fails with the following error:
ErrorController => error Unsupported file type: application/vnd.oasis.opendocument.spreadsheet
These files uploaded successfully in v0.8.0 (processed via fallback text parsing).
Additional Notes
- Confirmed on
.odtand.ods;.odpnot tested but likely affected given the sameErrorControllerrejection pattern. - No related issues found in open or closed issues
- No errors in server startup logs; error only appears at upload time
- Workaround: users must convert ODF files to
.docxor.pdfbefore uploading - This appears to be a regression introduced between v0.8.0 and v0.8.3-rc1,
possibly related to the native text parser work introduced in config v1.3.0
Version Information
Environment
| Field | Value |
|---|---|
| LibreChat version | v0.8.3-rc1 |
| Config version | v1.3.4 |
| Previous working version | v0.8.0 (config v1.3.0) |
| Deployment | Docker Compose |
$ docker images | grep librechat
ghcr.io/danny-avila/librechat-dev latest 4e1f401e0e74 4 days ago 1.77GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 3d3178a04e1b 8 weeks ago 1.69GBConfiguration
fileConfig:
endpoints:
default:
supportedMimeTypes:
- "text/.*"
- "application/.*"
- "image/.*"Even with the broad application/.* wildcard, the error persists.
The rejection appears to be hardcoded in ErrorController, not driven by config.
Steps to Reproduce
- Deploy LibreChat v0.8.3-rc1 with config v1.3.4
- Include ODF MIME types in
fileConfig.endpoints.default.supportedMimeTypes:- "application/vnd.oasis.opendocument.text" - "application/vnd.oasis.opendocument.spreadsheet" - "application/vnd.oasis.opendocument.presentation"
- Attempt to upload a
.ods,.odt, or.odpfile in the chat interface - Error is returned immediately
What browsers are you seeing the problem on?
Firefox
Relevant log output
Expected Behavior
ODF files should be accepted and processed via fallback text parsing,
as they were in v0.8.0.
Actual Behavior
Upload is rejected by ErrorController with: unsupported file type: application/vnd.oasis.opendocument.spreadsheet or unsupported file type: application/vnd.oasis.opendocument.text
The rejection occurs at the controller level regardless of supportedMimeTypes configuration.
Screenshots
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
π bugSomething isn't workingSomething isn't working