After a migration that gone bad some of the PDF article links give me a Blank page. I know that the file that was supposed to be downloaded does exist on journals/x/articles/y. However, it seems like OJS is trying to get a non-existent file. It is clear that this is a dissonance between the DB and the File system. My question is - how does OJS look for the file to be downloaded? I know it is a combination of whatever it is on submission_files, but not sure exactly how.
Blank file check: https://seer3.dev.ufs.br/index.php/eptic/article/view/375/321
./journals/3/articles/375/public/375-1046-1-PB.pdf ./journals/3/articles/375/submission/375-253-992-1-2-20120409.pdf ./journals/3/articles/375/submission/original/375-992-1-SM.pdf ./journals/3/articles/375/submission/proof/375-253-1046-1-10-20120411.pdf ./journals/3/articles/375/submission/review/375-253-993-1-4-20120409.pdf ./journals/3/articles/375/submission/review/375-993-1-RV.pdf