Try enable debug in your CMS ->
The Debug Component (Symfony 3.3 Docs). |
Troubleshooting Problems (Symfony 5.4 Docs)
And, why about /var/log/plesk-phpXX-fpm/error.log ?
I have tried the debug but of course being in production many errors appear, and in /var/log/plesk-php74-fpm I do find logs of 500 but with the favicon of my app, here I leave you some example ->
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "{"message":"Uncaught PHP Exception Twig\\Error\\RuntimeError: \"An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").\" at /var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig line 9","context":{"exception":{"class":"Twig\\Error\\RuntimeError","message":"An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig:9","previous":{"class":"InvalidArgumentException","message":"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypo"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "ints.json\" does not exist.","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:124","previous":{"class":"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException","message":"No route found for \"GET
https://barcolon.w3bcn.es/favicon.ico\" (from \"
https://barcolon.w3bcn.es/login\")","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/http-kernel/EventListener/RouterListener.php:135","previous":{"class":"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException","message":"No routes found for \"/favicon.ico/\".","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74"}}}}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-11-02T13:21:30.751536+00:00","extra":{}}"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "{"message":"Exception thrown when handling an exception (Twig\\Error\\RuntimeError: An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\"). at /var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig line 9)","context":{"exception":{"class":"Twig\\Error\\RuntimeError","message":"An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig:9","previous":{"class":"InvalidArgumentException","message":"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/p"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "ublic/build/entrypoints.json\" does not exist.","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:124"}}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-11-02T13:21:30.756291+00:00","extra":{}}"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "{"message":"Uncaught Exception: An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").","context":{"exception":{"class":"Twig\\Error\\RuntimeError","message":"An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig:9","previous":{"class":"InvalidArgumentException","message":"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/webpack-"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: "encore-bundle/src/Asset/EntrypointLookup.php:124","previous":{"class":"Twig\\Error\\RuntimeError","message":"An exception has been thrown during the rendering of a template (\"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.\").","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/templates/base.html.twig:9","previous":{"class":"InvalidArgumentException","message":"Could not find the entrypoints file from Webpack: the file \"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/public/build/entrypoints.json\" does not exist.","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:124","previous":{"class":"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException","message":"No route found for \"GET
https://barcolon.w3bcn.es/favicon.ico\" (from"
[02-Nov-2023 13:21:30] WARNING: [pool barcolon.w3bcn.es] child 621292 said into stderr: " \"
https://barcolon.w3bcn.es/login\")","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/http-kernel/EventListener/RouterListener.php:135","previous":{"class":"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException","message":"No routes found for \"/favicon.ico/\".","code":0,"file":"/var/www/vhosts/w3bcn.es/barcolon.w3bcn.es/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74"}}}}}}},"level":500,"level_name":"CRITICAL","channel":"php","datetime":"2023-11-02T13:21:30.756647+00:00","extra":{}}"