I've got a new osTicket instance, running the latest and greatest 1.17.2. I'm using the plugin for storing attachments in an S3 bucket, and I'm a bit stuck. osTicket will take my attachment without complaint, and attach it to the ticket, however when you download it it is an empty file, and there's no corresponding file in the S3 bucket. Bucket policy is correct as are the access/secret keys. There are no errors being logged anywhere about it, didn't know if there was a trick to get some additional logging out of the plugin? I'm on php 8.1, and Apache, if that helps.
S3 Attachments Not Making It To Bucket, 0kb When Downloaded
When you upload an image or attachment it should create a file in the configured S3 Bucket. So maybe start by looking at the Network tab in the browser's developer tools when adding an attachment to see if that upload request is failing. If that’s not failing then you need to look on the webserver level to see if any of the requests to S3 are failing or returning abnormal responses or even being called at all.
I will try to replicate this in the meantime.
Cheers.