Hi.
A little while ago we had a corruption on the server where we run OsTicket in a docker container and we lost some of the files in the attachment directory on the filesystem. Now we occasionally get emails with errors when some tickets are viewed. Not all tickets, just some.
Our setup looks like this:

And the error emails look like this:

It's not a permissions issue because most stuff is working and files are still being written and read from the attachments directory. It's just some of the older attachments.
I have found the relevant rows in the ost_file table, but don't want to just delete them without understanding the consequences of doing this.
Does anyone have a solution as to how I can fix this?