Hi All,
Currently I am unable to upload bigger files to the KB.
I think the server has a problem with files or packages that contain executable files.
It uploads but eventually it throws error 500.

I have changed the PHP version from 7.4 to 8.

I have a number of parameters I can enable/disable on the server.
I have the phpinfo.html but I cannot upload here.

Should I move to file system storage or try S3 instead? Not sure how reliable the upload to DB is.
It use to work. Just FYI this problem came up while I was on PHP 7.4.
Best regards

    VerusAutenticus

    Sounds like either your system doesn't allow a bigger size for Agents (Admin Panel > Settings > System > Agent Maximum Filesize), your system doesn't allow a bigger size for Users (Admin Panel > Settings > Tickets > Settings > Ticket Attachment Settings > Config > Maximum File Size), your PHP is configured to only accept a certain post size (google the relevant settings for PHP), your webserver doesn't allow posts over a certain size (google the relevant settings for Apache/IIS), or you are getting a fatal error which you should be able to see in some of your logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.).

    Cheers.

      KevinTheJedi
      I have a core setting in phpinfo
      upload_max_filesize 1G 1G

      **post_max_size 8M 8M**

      Agent Maximum File Size: 1024 mb
      Issue Details -> Maximum File Size: 512 mb

      So this means the post_max_size is the offending setting. I change it to 1G.
      Thank you

      It looks like there must be some security setting because it's still tripping the upload of binaries.
      The upload of regular files is fine.

      In my case it's shared hosting on LiteSpeed V8.1 Cloudlinux 1.3.
      I reckon there is some security setting. It could be it's beyond what I can set in the panel.

      7 days later

      You probably need to talk to your hosting provider to see if there is they are preventing certain file types from being uplaoded.

      Write a Reply...