Posts

osTicket email attachments missing in ticket

Incoming email to osTicket, but attached files from the email message are missing in the ticket.

Make sure attachements are enabled for tickets in osTicket.

  1. Login as osTicket administrator
  2. If you are not on the administrative control panel, switch to it by clicking Administrative control panel (top right menu)
  3. Settings -> Tickets
  4. Scroll down to the attached files section and click on the Config button
  5. Make sure the Allow attached material is ticked and optionally select the file types to accept. Also check the allowed file size so it is sufficient.
  6. Click Save

osTicket ‘Access denied’ after upgrade to 1.9.14

After uploading/copying the files from the upload directory to a osTicket installation in order to upgrade it to osTicket 1.9.14, I got the error message ‘Access denied’ when trying to login as administrator to finalize the upgrade. Deleting the osTicket session cookie did not help either.

It turned out that the problem was that all files in the distribution ZIP-file had file permission ‘000’ causing the trouble. A ls -l looked like this:

---------- 1 webNNN clientX 5162 jun 11 18:22 login.php
---------- 1 webNNN clientX 980 jun 11 18:22 logo.php
---------- 1 webNNN clientX 714 jun 11 18:22 logout.php
---------- 1 webNNN clientX 1584 jun 11 18:22 main.inc.php
---------- 1 webNNN clientX 930 jun 11 18:22 offline.php
---------- 1 webNNN clientX 2830 jun 11 18:22 open.php

A simple fix was needed. Make sure you are in the upload folder of the unpacked distribution zip when you do this:

chmod 644 `find . -type f -print`