- Edited
Environment:
Ubuntu Server 24.04.2 LTS
Apache version: 2.4.58
Database: MariaDB 10.11.8
PHP Version: 8.3.6
osTicket Version: 1.18.2
Hello,
We’ve encountered an unusual issue with video file uploads in osTicket, and we’re hoping to get some insights from the community. The problem appears when attempting to upload MP4 files—while MOV files upload successfully, MP4 files fail without any apparent errors or logs.
Our users reported that uploading video files, specifically MP4s, fails during the upload process. To investigate, we used the following sample files for testing:
- Sample MOV files from file-examples.com
- Sample MP4 files from file-examples.com
When uploading the MOV files, everything works as expected. However, uploading the MP4 files results in failure with no errors recorded in the osTicket logs or server logs (as far as we’ve checked).
Potential Causes and Troubleshooting Steps
Since there are no errors being logged, we’re considering a few possible causes:
File Size Limits: Check PHP settings:
file_uploads = On
upload_tmp_dir = /tmp
upload_max_filesize = 2000M
max_file_uploads = 20
MIME Type Restrictions: There are no file types specified in osTicket’s attachment settings (see attached screenshots. Assuming this allows everything?
Permissions Issue: The web server has the necessary permissions to write MP4 files to the upload directory.
Server-Side Configuration: We could not find and restrictions in Apache's configuration to see if certain MIME types are being blocked.
osTicket Version Compatibility: Confirm whether the current osTicket version has any known issues with MP4 uploads. For example, this issue for osTicket:1.16.x seems to be resolved in 1.18.2.
We’d love to hear from the community if anyone has encountered similar issues or has suggestions for further troubleshooting. Please feel free to share your insights or solutions in the comments below.
Thanks for your help!
Best regards,
Nx