- OS Version: Ubuntu 18.03.4
- osTicket Version: 1.12.4
- PHP Version: 7.2.24
- Apache Version: 2.4.29
Yesterday I upgraded osTicket from version 1.12.3 to 1.12.4.
Initial install of version 1.12.3 was done by git clone then running the manage.php script to deploy with the --setup parameter. Attachments are stored on the file system using the plugin and have been working perfectly since installation.
Upgraded osTicket to 1.12.4 by running git pull, and then ran the manage.php script with the deploy -v parameter to update the current install. Everything seemed to go fine. No error messages, and osTicket is showing the new version on the dashboard.
When an agent tries to download an attachment from osTicket now the download starts and saves a file to the location specified, but it's 0 bytes. When I find the source file on the server the file size is correct. Downloading the source file manually from the server by copying it out of the attachments folder, the image is fine.
This only seems to affect attachments processed from emails. If I create a ticket and manually attach a file to the ticket through the osTicket web interface, the attachment download's just fine and can be viewed/opened.