Hi there, long time user and fan of osTicket, I hope I can explain my issue correctly so you can point me in the right direction.
Configuration
Server: Debian 10.10 buster
osTicket: 1.15.2
Apache: 2.4.38
PHP: 7.3.29-1deb10u1
MariaDB: 15.1 Distrib 10.3.29
I made the upgrade from 1.14.2 to 1.14.6 and then to 1.15.2 and everything works ok, so far, except for attaching files in the reply area or pasting images in the same place.
Tickets that are sent to the plattform containing attachments have no problem and they are created and you can download the attachment, same with embedded images.
Upon inspection of my problem I see two errors in the web console (tried with different browsers too):
- 500 (Internal Server Error) when I tried to attach a file via drag and drop or File Explorer and popup with "File Upload Error" undefined 500
- 403 (Forbidden) when tried to paste an image in the reply area
The apache error log shows the following, I understand this is PHP writing on here cause I haven't defined another location for this error log to be written. (here is my php info anyway https://cloud.feligato.com/s/Gqxi624egx4kqKd)
I have the "Attachments on the filesystem" plugin Enabled, I tried with the database option with the same results. Also I made a "clean install" with this guide https://tmib.net/upgrading-osticket-from-1-14-x-to-1-15-x/, and the error continues.
I also checked the MariaDB-Mysql error log, and just found some issues with the innodb_index_stats and a lenght mismatch that I fixed with the mysql_upgrade but the problem persists.
All the troubleshooting above was made following other threads with similar issues, but not quite the same, so I think my problem could be around permissions. On that I can also say that I have not SElinux or mod_security configured, and all the files and directories have a "www-data" read, write on the osTicket folder.
Sry for my English ,not main language here, also, if you need more info that I can provide please let me know.
Thanks in advance for your assistance