Hi all,

I have a weird issue where osTicket does not import (and then move the imported emails) any incoming emails with what looks like attachements over 2mb.

I have found the following topics here
https://forum.osticket.com/d/90219-resolved-email-fetching-attachment-size-limit
https://github.com/osTicket/osTicket-plugins/issues/65

  • we are running osticket 1.12
  • we are running php v 5.6.40
  • attachments are saved on the fileserver (via plugin)
  • php.ini has upload_max_filesize set to 100M

Anything else I can check? Anyone has an idea?
I will now test saving attachments in the DB although i would rather keep them separate on the server.

Cheers
Matt

Go to Admin panel -> Settings -> Tickets -> Attachments.
Click on the Config button.
Whats Maximum File Size set to?

Hi ntozier! It is set to 32mb

What about setting post_max_size in php.ini too?

post_max_size is 100M
memory_limit is 32m

i had an email from a customer with attachment. did not want to import. I removed the attachment from the email and the email imported successfully.

What was File extension?
Did you look at the logs on the server?

@mattso

What is Admin Panel > Settings > Tickets > Settings > Ticket Attachment Settings > Config > Maximum File Size set to?

Cheers.

Hi Kevin! It's set to 32mb.

I came to work this morning and was pleasently surprised that emails with large attachments were suddenly showing up in the queue. However then realised that it was saving attachments to the database rather than the filesystem. Not too sure how happy I am about this. Is it not going to overload the database?

Anyways... went to check why it wasnt using filesystem plugin and found that the plugin was disabled due to (defunct - missing). - I upgraded last week from 1.11 to 1.12.

I deleted the plugin, downloaded a new version from the website, uploaded it to the folder and the result is attached. Does not show the plugin name and information and if I try to enable it throws up the same error. I uploaded the Active Directory plugin to see if there was something wrong with my upload or fileserver but that one works OK.

Does the storage-fs plugin not work anymore with 1.12? I cant really troubleshoot the initial problem anymore until I can get the plugin to work again.

Any help appreciated.
Cheers
Matt

Write a Reply...