Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

ticket attachment

I just wanted to ask why ticket attachments are stored in "ost_file" and not inside the attachment folder I made? I was using file storage plugin (storage.phar) and enabled that already.

osTicket version 1.9.15

Comments

  • You are mistaken.  The pointer to the fils, file name, etc. (but not the file) are stored in ost_file.  If you installed the plugin correctly then the file is physically being stored on the file system.  Other wise it would be in the ost_file_chunk table.
  • @ntozier is correct, osTicket uses the table to store metadata about the attachment and the hash, then looks up the file by the hash (that's why the files and folder names appear to be gibberish in the filesystem).

    You can verify that it's working by checking the backend field in the files table, or simply making a ticket then searching for modified files with a command like: find /path/to/attachment -mtime -1
Sign In or Register to comment.