Error when publishing a number

When I try to publish an issue, which is long and has 66 articles, the screen stays like this and never finishes the process.
This journal has published longer issues than this one, so I don’t think it has anything to do with the length of the issue.

The steps I take are the only ones to publish an issue.

Application Version - e.g., OJS 3.3.0.6 However, this error happens to me since version 3.3.

error

Hello @didoemilio, would it be possible for you to check if there are any errors in your PHP logs when you attempt this process and share them with us?

capturaError

2021/11/03 11:37:33 [error] 127377#127377: *523566 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/index.php/EEH/article/view/35326 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:38:02 [error] 127377#127377: *523801 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/revistas.psi.unc.edu.ar/revistas/plugins/themes/default/DefaultThemePlugin.inc.php on line 163" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/PREFACIO/article/view/19354/19255 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:38:04 [error] 127377#127377: *523814 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/revistas.psi.unc.edu.ar/revistas/plugins/themes/default/DefaultThemePlugin.inc.php on line 163" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/etcetera/citationstylelanguage/get/chicago-author-date?publicationId=24300&submissionId=26943 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:38:32 [error] 127377#127377: *523931 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/acteconomica/about/siteMap HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:39:24 [error] 127377#127377: *524204 directory index of "/var/www/revistas.psi.unc.edu.ar/revistas/public/journals/91/" is forbidden, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /public/journals/91/ HTTP/1.1", host: "revistas.unc.edu.ar"
2021/11/03 11:39:28 [error] 127377#127377: *524217 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/revistas.psi.unc.edu.ar/revistas/plugins/themes/default/DefaultThemePlugin.inc.php on line 163" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/PREFACIO/article/view/18385 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:39:52 [error] 127377#127377: *524312 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/drarchitettura/article/download/34520/GIEDION%20y%20la%20b%C3%BAsqueda%20de%20una%20est%C3%A9tica%20trascendental_archivos/image001.gif HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php/drarchitettura/article/download/34520/34900?inline=1"
2021/11/03 11:39:53 [error] 127377#127377: *524314 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/drarchitettura/article/download/34520/GIEDION%20y%20la%20b%C3%BAsqueda%20de%20una%20est%C3%A9tica%20trascendental_archivos/image001.gif HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php/drarchitettura/article/download/34520/34900?inline=1"
2021/11/03 11:40:47 [error] 127377#127377: *524667 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-90-recommendbysimilarityplugin.php): failed to open stream: No such file or directory in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46PHP message: PHP Warning:  include(): Failed opening '/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-90-recommendbysimilarityplugin.php' for inclusion (include_path='.:/usr/share/php') in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/tecyt/$$$call$$$/grid/users/author/author-grid/fetch-grid?submissionId=15436&publicationId=13784&_=1635949476759 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php/tecyt/workflow/index/15436/4"
2021/11/03 11:41:02 [error] 127377#127377: *524791 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-90-recommendbysimilarityplugin.php): failed to open stream: No such file or directory in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46PHP message: PHP Warning:  include(): Failed opening '/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-90-recommendbysimilarityplugin.php' for inclusion (include_path='.:/usr/share/php') in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/tecyt/$$$call$$$/grid/users/stage-participant/stage-participant-grid/fetch-grid?submissionId=15436&stageId=4&_=1635950459982 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php/tecyt/workflow/index/15436/4"
2021/11/03 11:41:58 [error] 127377#127377: *525097 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/RDPL/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php"
2021/11/03 11:42:03 [error] 127377#127377: *525160 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /RDPL/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/RDPL/index.php"
2021/11/03 11:42:07 [error] 127377#127377: *525219 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/RDPL/about/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php"
2021/11/03 11:42:09 [error] 127377#127377: *525258 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /RDPL/about/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/RDPL/about/index.php"
2021/11/03 11:42:12 [error] 127377#127377: *525273 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.200, server: revistas.unc.edu.ar, request: "GET /index.php/aifp/article/download/2895/2773 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar"
2021/11/03 11:42:13 [error] 127377#127377: *525281 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/RDPL/about/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php"
2021/11/03 11:42:17 [error] 127377#127377: *525344 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /RDPL/about/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/RDPL/about/index.php"
2021/11/03 11:42:19 [error] 127377#127377: *525351 FastCGI sent in stderr: "PHP message: ojs2: 404 Not Found" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/RDPL/about/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://revistas.unc.edu.ar/index.php"
2021/11/03 11:42:23 [error] 127377#127377: *525360 FastCGI sent in stderr: "PHP message: PHP Warning:  include(/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-54-recommendbyauthorplugin.php): failed to open stream: No such file or directory in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46PHP message: PHP Warning:  include(): Failed opening '/var/www/revistas.psi.unc.edu.ar/revistas/cache/fc-pluginSettings-54-recommendbyauthorplugin.php' for inclusion (include_path='.:/usr/share/php') in /var/www/revistas.psi.unc.edu.ar/revistas/lib/pkp/classes/cache/FileCache.inc.php on line 46" while reading response header from upstream, client: 172.16.16.199, server: revistas.unc.edu.ar, request: "GET /index.php/med/article/view/25493 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "revistas.unc.edu.ar", referrer: "https://www.google.com/"

Thank you so much for the additional details! I will tag your post and hopefully someone with sysadmin experience will be able to help you with this problem. :slight_smile:

Hi @didoemilio,

The “504 (Gateway Time-out)” message means the publishing process is taking more time to finish than the amount allowed by your webserver. You have to increase this limit, then you’ll be able to proceed.

Talk to your sysadmin, they probably know what to do. If you need further suggestions, please let me know which webserver you’re running (Apache, Nginx, e.g.) and I’ll see if I can be more useful.

Best,
Janio

2 Likes