Having made a copy of my live site, which is 22.214.171.124 and upgraded that to OJS 126.96.36.199 I have noticed that some of the galley links (full text and PDF) no longer work. Some crash the server (500 internal server error) and some simply return a 404. Some still work.
The URLs that the galley links point to are identical (apart from having a different subdomain).
To reproduce the issue is simple, just display an article and attempt to download the PDF galley, or to view the full text of the article.
I am using OJS 188.8.131.52 on an AWS Ubuntu instance.
The last two entries in the error log show the server crash as well as the 404:-
[Tue Aug 09 09:47:47.702792 2022] [php7:error] [pid 36454] [client 184.108.40.206:58760] PHP Fatal error: Uncaught League\\Flysystem\\FileNotFoundException: File not found at path: journals/1/articles/573/submission/proof/573-1-5066-2-10-20220629.html in /var/www/html/lib/pkp/lib/vendor/league/flysystem/src/Filesystem.php:389\nStack trace:\n#0 /var/www/html/lib/pkp/lib/vendor/league/flysystem/src/Filesystem.php(179): League\\Flysystem\\Filesystem->assertPresent()\n#1 /var/www/html/plugins/generic/htmlArticleGalley/HtmlArticleGalleyPlugin.inc.php(131): League\\Flysystem\\Filesystem->read()\n#2 /var/www/html/plugins/generic/htmlArticleGalley/HtmlArticleGalleyPlugin.inc.php(111): HtmlArticleGalleyPlugin->_getHTMLContents()\n#3 /var/www/html/lib/pkp/classes/plugins/HookRegistry.inc.php(107): HtmlArticleGalleyPlugin->articleDownloadCallback()\n#4 /var/www/html/pages/article/ArticleHandler.inc.php(426): HookRegistry::call()\n#5 /var/www/html/lib/pkp/classes/core/PKPRouter.inc.php(395): ArticleHandler->download()\n#6 /var/www/html/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()\n#7 /var in /var/www/html/lib/pkp/lib/vendor/league/flysystem/src/Filesystem.php on line 389, referer: https://production.veterinaryevidence.org/index.php/ve/article/view/573 [Tue Aug 09 09:47:53.612003 2022] [php7:notice] [pid 32217] [client 220.127.116.11:58774] ojs2: 404 Not Found, referer: https://<mywebsite>.org/index.php/ve/article/view/573
Looking at the error, is there a plugin that I may need to upgrade too?
Many thanks in advance.