Thanks @csmu for the help, I found the file!
I’ll document what I ended up doing in case this is helpful for future travellers:
-
I navigated to the
/var/discourse/shared/standalone/uploads/ -
I searched for the relevant filetype like this:
ls -Rl | grep ".docx"(I was originally searching for files published in 2019 without noticing that for files created in the current year the
lflag replaces the year with the creation time.) -
I looked at the list of files and found the one (there was only one in my case) that was posted today.
-
I downloaded the file to make sure, by using a command like this on my local machine:
scp servername:/var/discourse/shared/standalone/uploads/default/original/2X/1/FILE_ID.docx ~/Downloads -
After I confirmed that it was the file I wanted, I just deleted it (
rm /var/discourse/shared/standalone/uploads/default/original/2X/1/FILE_ID.docx)
Rejoice!