Restore files local storage

hello, I was transferring files from s3 to a local disk and forgot to change the permissions on the directory, as a result, all files uploaded by users were stored in memory.
After updating MM to 7.8, the files are no longer available, and now instead of a link to the file there is base64, is it possible to somehow restore these files?

image

link in browser

Hi @nuBacuk ,

this is a very interesting situation - I wasn’t aware Mattermost is doing that.
How did you transfer the files from S3 back to the local storage?
Do you have access to your database? If so, could you post one row of the fileinfo table with such an attachment so we can see what the database’s view on this attachment is?