Hi,

I am having issues with the "Attachments on Filesystem Plugin". I have uploaded the phar file and enabled it in the plugins section of the admin panel. I have changed the path and set the folder permissions on the newly created directory. I have then changed the "store attachments" in settings to "Filesystem : path to new directory ".

When I create a new ticket by email, the email arrives and the attachment is there and opens etc, but it does not appear in the directory that I have created?

Any ideas please?

Kind Regards

The way that the attachments::Filesystem works is that it creates a folder in the attachments directory and then puts a file (which is not the name of the attachment, but a randomly created file name) in that sub folder. Are you seeing any flders created in the attachment folder?

Hi,

Sadly not. A keep file appeared after I created the directory, but no other folders or files.

I have tried to do it many times before without success.

I’ve tried setting the permissions on the folder to 755 and even 777.

thanks

Are you running anything like mod_security, or SELinux?
are the directories permissions the same owner/group as the rest of the web site is owned by?

Hi,

No. no mod security or selinux.

Thank you

@EIJason

Your issue is different than this. Please create your own post. Thank you.

Cheers.

@clarkies

So go to your database, go to the ost_file table, and look for the newly created files by name. See if the newly created attachments have a bk value of F, if so then the attachments are being stored on the filesystem for sure. If this is the case the place the system is storing the file data will be the folder in which you configured in the Plugin settings. If however the bk value is D then the files are stored in the database (which could mean the Plugin isn't enabled or something).

Cheers.

Write a Reply...