Hallo zusammen,
bei Umzügen und Aktualisierungen von Contao habe ich leider oft mit Problemen zu kämpfen. Daher benötige ich wieder eure Hilfe.
Ich habe eine 4.4.57-Installation zu alfahosting migriert und bin dabei (wieder) nach dieser Anleitung vorgegangen. Alles hat problemlos geklappt: Datenbank importiert, Backend ist erreichbar und vollständig, der CM läuft einwandfrei...
Es ist nur eine Erweiterung (MATE-Theme) installiert - also nix Kompliziertes...
Alle Caches (Smylinks, Prod- und Composer-Cache) sind gelöscht.
Trotzdem zeigt das Frontend die Standard-Contao-Fehlermeldung. Bei Aufruf des CM wird bereits ein Eintrag in var/logs geschrieben:
Code:
[2022-09-09 17:52:07] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"contao-manager/users.json","_route":"contao_catch_all"},"request_uri":"https://www.sustainability-expert.de/contao-manager/users.json","method":"GET"} []
[2022-09-09 17:52:07] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2022-09-09 17:52:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: https://www.sustainability-expert.de/contao-manager/users.json" at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: https://www.sustainability-expert.de/contao-manager/users.json at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: https://www.sustainability-expert.de/contao-manager/users.json at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
Beim Aufruf des Frontend, kommt das noch dazu:
Code:
[2022-09-09 18:09:44] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","_route":"contao_index"},"request_uri":"https://www.sustainability-expert.de/","method":"GET"} []
[2022-09-09 18:09:44] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2022-09-09 18:09:45] app.CRITICAL: An exception occurred. {"exception":"[object] (ScssPhp\\ScssPhp\\Exception\\CompilerException(code: 0): `../../../../../../../files/mate/sass/_custom_colors` file not found for @import: bundles/matetheme/sass/materialize.scss on line 10, at column 1\nCall Stack:\n#0 import bundles/matetheme/sass/materialize.scss (unknown file) on line 1 at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/scssphp/scssphp/src/Compiler.php:6102)"} []
[2022-09-09 18:09:44] request.INFO: Matched route "contao_catch_all". {"route":"contao_catch_all","route_parameters":{"_scope":"frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_url_fragment":"favicon.ico","_route":"contao_catch_all"},"request_uri":"https://www.sustainability-expert.de/favicon.ico","method":"GET"} []
[2022-09-09 18:09:45] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\\CoreBundle\\Security\\ContaoAuthenticator"} []
[2022-09-09 18:09:45] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Page not found: https://www.sustainability-expert.de/favicon.ico" at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 112 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Page not found: https://www.sustainability-expert.de/favicon.ico at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:112, Contao\\CoreBundle\\Exception\\PageNotFoundException(code: 0): Page not found: https://www.sustainability-expert.de/favicon.ico at /var/www/vhosts/x8yghhu7.web11.alfahosting-server.de/sustainability-expert.de/contao/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:63)"} []
Mir sagt das leider nichts bis garnichts :-/ Irgendeine Seite wird nicht gefunden.
Hat jemand von euch eine Idee?
Danke für eure Hilfe!
Roland
Lesezeichen