Template Cache causes (?) 504 Gateway Time-Out

50 views
Skip to first unread message

Simon Hohl

unread,
Oct 21, 2020, 8:16:15 AM10/21/20
to AtoM Users
I am running version 2.5.2 and am experiencing a weird bug and am not quite sure how to proceed further:

On first loading my atom webpage, everything loads fine. After that (even a simple refresh) just produces an nginx 504. I can "fix" the 504 by deleting everything in "cache/qubit/prod/template" for the next refresh, after that it goes back to 504 again.

Running "php symfony cc" also works, the output:

php symfony cc
>> cache     Clearing cache type "all" for "qubit" app and "prod" env
>> file+     /atom/src/data/qubit_prod-cli.lck
>> chmod 777 /atom/src/data/qubit_prod-cli.lck
>> file-     /atom/src/cache/qubit/prod/config/modules_staticpage_config_view.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_staticpage_config_filters.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_staticpage_config_module.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_staticpage_config_security.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_routing.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_factories.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_search.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_autoload.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_app.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_settings.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_core_compile.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_search_config_module.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules__config_security.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_menu_config_module.yml.php
>> file-     /atom/src/cache/qubit/prod/config/modules_default_config_module.yml.php
>> file-     /atom/src/cache/qubit/prod/config/config_config_handlers.yml.php
>> file-     /atom/src/data/qubit_prod-cli.lck
>> file-     /atom/src/cache/project_autoload.cache
>> file-     /atom/src/cache/qubit/prod/template/742db5efe51cdb2f2d39bc6f6d04dd87de/messages.xml/.nfs0000000000302b1f0000037f
>> file-     /atom/src/cache/qubit/prod/template/c3fe9b0b7a30cbfabb76c6a33d9930d4de/messages.xml/.nfs0000000000302b0d0000037e
>> file-     /atom/src/cache/qubit/prod/template/e88c38ecdba74d6c2f7ca9d0ce02b779de/messages.xml/.nfs0000000000302afd0000037d

José Raddaoui

unread,
Oct 23, 2020, 9:13:05 AM10/23/20
to AtoM Users
Hi Simon,

I've never seen this before but, could it be related to file permissions? Although, I don't know how could the web server write to the cache folder and then fail reading it, check:


Best regards,
Radda.
Reply all
Reply to author
Forward
0 new messages