Nein, ich installiere Contao seit Jahren mit der contao-manager.phar.php-Datei. Dann gehe ich in den Contao Manager und installiere den pct_theme_installer. Nun ist es das erste mal, dass es nicht mehr geht. Der Contao Manager dreht durch (siehe Screens). Was könnte es sein?
Meine composer.json:
{
"type": "project",
"require": {
"contao/conflicts": "*@dev",
"contao/manager-bundle": "5.3.*",
"contao/calendar-bundle": "5.3.*",
"contao/comments-bundle": "5.3.*",
"contao/faq-bundle": "5.3.*",
"contao/listing-bundle": "5.3.*",
"contao/news-bundle": "5.3.*",
"contao/newsletter-bundle": "5.3.*"
},
"extra": {
"public-dir": "web",
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Ankündigung
Einklappen
Keine Ankündigung bisher.
Fehlermeldung mit PCT Contao Installer
Einklappen
Dieses Thema ist geschlossen.
X
X
-
Nimmst du nicht den PCT Contao Installer für die Erstinstallation? Da ist das Modul direkt vorinstalliert in Contao.Zitat von janineiten Beitrag anzeigenHallo zusammen
Ich kann das Modul premium-contao-themes/pct_theme_installer nicht mehr installieren, weder mit contao 413 noch mit contao 5. Es heisst, dass die Datenbank Probleme aufweist. Wenn ich Datenbank überprüfen klicke, dreht es durch und macht überhaupt nichts.
An was könnte das liegen? Die PHP Version scheint zu stimmen: https://dimutape.myhostpoint.ch/phpinfo.php
[2024-04-30T21:21:56.792077+02:00] console.CRITICAL: Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /home/dimutape/www/dimutape.myhostpoint.ch/vendor/symfony/http-foundation/RequestStack.php:126)","command":"cache:warmup --env=prod --no-ansi","message":"There is currently no session available."} []
[2024-04-30T21:21:57.453112+02:00] console.CRITICAL: An error occurred while using the console. Message: "An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\Component\HttpFoundation\Exception\Session NotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."] In RequestStack.php line 126: There is currently no session available. cache:warmup [--no-optional-warmers] " {"exception":"[object] (RuntimeException(code: 0): An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\\Component\\HttpFoundation\\Exception\\Ses sionNotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."]\n\nIn RequestStack.php line 126:\n \n There is currently no session available. \n \n\ncache:warmup [--no-optional-warmers]\n\n at /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/src/Command/ContaoSetupCommand.php:146)","message":"An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\\Component\\HttpFoundation\\Exception\\Ses sionNotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."]\n\nIn RequestStack.php line 126:\n \n There is currently no session available. \n \n\ncache:warmup [--no-optional-warmers]\n\n"} []
Einen Kommentar schreiben:
-
Moin,
wird der PCT-Installer im Contao-Manager hinzugefügt und heruntergeladen oder passiert das auch nicht?
Kannst Du Contao nur mit dem Contao-Manager installieren?
Wie sieht Deine Composer.json aus?
Grüße
Einen Kommentar schreiben:
-
Hallo zusammen
Ich kann das Modul premium-contao-themes/pct_theme_installer nicht mehr installieren, weder mit contao 413 noch mit contao 5. Es heisst, dass die Datenbank Probleme aufweist. Wenn ich Datenbank überprüfen klicke, dreht es durch und macht überhaupt nichts.
An was könnte das liegen? Die PHP Version scheint zu stimmen: https://dimutape.myhostpoint.ch/phpinfo.php
[2024-04-30T21:21:56.792077+02:00] console.CRITICAL: Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /home/dimutape/www/dimutape.myhostpoint.ch/vendor/symfony/http-foundation/RequestStack.php:126)","command":"cache:warmup --env=prod --no-ansi","message":"There is currently no session available."} []
[2024-04-30T21:21:57.453112+02:00] console.CRITICAL: An error occurred while using the console. Message: "An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\Component\HttpFoundation\Exception\Session NotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."] In RequestStack.php line 126: There is currently no session available. cache:warmup [--no-optional-warmers] " {"exception":"[object] (RuntimeException(code: 0): An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\\Component\\HttpFoundation\\Exception\\Ses sionNotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."]\n\nIn RequestStack.php line 126:\n \n There is currently no session available. \n \n\ncache:warmup [--no-optional-warmers]\n\n at /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/src/Command/ContaoSetupCommand.php:146)","message":"An error occurred while executing the "/usr/local/php81/bin/php -dmemory_limit=-1 /home/dimutape/www/dimutape.myhostpoint.ch/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 21:21:56 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "There is currently no session available." ["exception" => Symfony\\Component\\HttpFoundation\\Exception\\Ses sionNotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "There is currently no session available."]\n\nIn RequestStack.php line 126:\n \n There is currently no session available. \n \n\ncache:warmup [--no-optional-warmers]\n\n"} []
Einen Kommentar schreiben:
-
Ich hab immer mal Installationen, wo der Manager sich mit Javscript-Meldungen verabschiedet. Das sieht dann in der Browser-Console wie folgt aus.
Einen genauen Auslöser kann ich nicht benennen. Wenn die allgemeine Theme-Installation aber abgeschlossen ist, wie oben bestätigt, kann vielleicht auf den Manager verzichtet werden. Darüber hinaus müsste direkt die Installation geprüft werden.
Einen Kommentar schreiben:
-
Grundsätzlich ist das sicher möglich - z.B.auch über die SSH-Konsole.Zitat von tri Beitrag anzeigenDanke für die Nachricht :-)
... Oder kann ich das Theme manuell ohne PCT Contao Installer installieren?
Bei der Theme-Installation, welche sich ja erst mal von der Contao-Installation unterscheidet, musst Du auch vorsichtig sein. Hier kann es z.B. zu Fehlermeldungen mit der Lizenz kommen, wenn man nicht aufpasst.
Wenn man sich also mit dem Theme nicht gut genug auskennt, sollte evtl. doch lieber auch der Theme-Installer verwended werden.
Grüße
- 1 Likes
Einen Kommentar schreiben:
-
Danke für die Nachricht :-)
Ich wollte die Logdateien anonymisieren, leider ist es mir nicht ganz gelungen :-) Logdateien enthalten je sensible Daten oder ist das nicht nötig?Warum führt 2024.domaim.ch im Contao Backend den Theme-Installer aus und leitet aber auf 2024.fueller-lektorat.ch?
Nun ja, was soll ich jetzt tun? Ich habe heute die zweite mit dem neusten PCT Contao Installer und komme einfach nicht weiter ...
Liegt es vielleicht an meinem Hoster Hostpoint?
Oder kann ich das Theme manuell ohne PCT Contao Installer installieren?
Einen Kommentar schreiben:
-
.env ist eine Alternative zur parameters.yml und wird nicht zwangsläufig benötigt.
Das Problem aus dem anderen Thread wurde mit aktueller Version behoben. Allerdings hat es sich auf EX+CC eingrenzen lassen. Bezüglich einer Neuinstallation von EX5 sind keine Probleme bekannt.
Warum führt 2024.domaim.ch im Contao Backend den Theme-Installer aus und leitet aber auf 2024.fueller-lektorat.ch?https://2024.domaim.ch/contao?action...ller&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import
Einen Kommentar schreiben:
-
Teil 2
Code:[2024-04-29T14:52:48.573581+02:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_ro ute":"contao_backend","_scope":"backend","_token_c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","method":"GET"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:48.770387+02:00] php.CRITICAL: Uncaught Exception: There is already an active transaction {"exception":"[object] (Doctrine\\DBAL\\Driver\\PDO\\PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/PDOException.php:20)\n[previous exception] [object] (PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:117)"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:48.777280+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Driver\PDO\PDOException: "There is already an active transaction" at PDOException.php line 20 {"exception":"[object] (Doctrine\\DBAL\\Driver\\PDO\\PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/PDOException.php:20)\n[previous exception] [object] (PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:117)"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:48.891040+02:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallback Transport {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","alias":"contao_prio_low","sen der":"Contao\\CoreBundle\\Messenger\\Transport\\Au toFallbackTransport"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:48.894054+02:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:48.901754+02:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchI ndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","handler":"Contao\\CoreBundle\ \Messenger\\MessageHandler\\SearchIndexMessageHand ler::__invoke"} {"request_uri":"https://2024.domaim.ch/contao?do=pct_theme_installer&ref=PH6tqO7J&rt=c658 668c827b9a68fcebf27b.l9kE92bF7yP2H0qk6y3FtsweR2IX1 z5AePR0RYYRNGY.8Z5VjReCihKEXg7PokS1-f5rdyNDpBN3F4UrNcUnAD_RllyaMJaDdMFYPQ&status=insta llation&step=sql_template_import","request_method" :"GET"} [2024-04-29T14:52:49.164357+02:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_ro ute":"contao_backend","_scope":"backend","_token_c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","m ethod":"GET"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"} [2024-04-29T14:52:54.155263+02:00] php.CRITICAL: Uncaught Exception: There is already an active transaction {"exception":"[object] (Doctrine\\DBAL\\Driver\\PDO\\PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/PDOException.php:20)\n[previous exception] [object] (PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:117)"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"} [2024-04-29T14:52:54.158320+02:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Driver\PDO\PDOException: "There is already an active transaction" at PDOException.php line 20 {"exception":"[object] (Doctrine\\DBAL\\Driver\\PDO\\PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/PDOException.php:20)\n[previous exception] [object] (PDOException(code: 0): There is already an active transaction at /home/xxxx/www/2024.domain.ch/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:117)"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"} [2024-04-29T14:53:11.711104+02:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallback Transport {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","alias":"contao_prio_low","sen der":"Contao\\CoreBundle\\Messenger\\Transport\\Au toFallbackTransport"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"} [2024-04-29T14:53:11.712539+02:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"} [2024-04-29T14:53:11.714619+02:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchI ndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","handler":"Contao\\CoreBundle\ \Messenger\\MessageHandler\\SearchIndexMessageHand ler::__invoke"} {"request_uri":"https://2024.domaim.ch/contao?action=run&do=pct_theme_installer&redirectT o=https%3A%2F%2F2024.fueller-lektorat.ch%2Fcontao%2Flogin%3Fcompleted%3D1%26the me%3DeclipseX%26sql%3Declipsex_contao_5_3.sql&ref= PH6tqO7J&rt=8898823f78e606c.bvk65vOp3A-vwo6Fx5kAZPZWJl9Yu8zlVOJUMIgXM1k.CL5rnILuuT7dg8ruj vBwK8QjFh4MyOHSO5MLQMshBwAotmKLpfqwWJiF-Q&status=installation&step=sql_template_import","r equest_method":"GET"}
Einen Kommentar schreiben:
-
Ich habe jetzt alles frisch mit dem mit PCT Contao Installer Contao und Theme installiert. Soweit alles OK.
Will ich aber den Contao-Manager instalieren habe ich folgende Meldungen:
__________________
PHP-Webprozess
PHP Version 8.2.17, keine bekannten Probleme gefunden.
Serverkonfiguration
PHP-Binary in /usr/local/php82/bin/php.
PHP Kommandozeilen-Programm
PHP Version 8.2.17, keine bekannten Probleme gefunden.
Updates für den Contao Manager
Du verwendest die aktuelle Version 1.8.4.
Composer-Umgebung
Keine bekannten Probleme gefunden.
Contao-Installation
Contao 5.3.7 (API-Version 2) gefunden. Datenbank-Problem gefunden.
> Datenbank überprüfen
__________
Das Datenbank überprüfen musste ich nach einer halben Stunde abbrechen
Im System-Log habe ich folgende Fehlermeldungen: Teil 1
Code:[2024-04-29T14:49:18.990843+02:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_ro ute":"contao_backend","_scope":"backend","_token_c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://2024.domaim.ch/contao","method":"GET"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.452018+02:00] app.ERROR: Symfony\Component\HttpFoundation\Exception\Session NotFoundException: There is currently no session available. in /home/xxxx/www/2024.domain.ch/vendor/symfony/http-foundation/RequestStack.php:107 Stack trace: #0 /home/xxxx/www/2024.domain.ch/system/modules/pct_theme_installer/PCT/ThemeInstaller/SystemCallbacks.php(65): Symfony\Component\HttpFoundation\RequestStack->getSession() #1 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(224): PCT\ThemeInstaller\SystemCallbacks->installationCompletedStatus() #2 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(175): Contao\CoreBundle\Framework\ContaoFramework->triggerInitializeSystemHook() #3 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(95): Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() #4 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Cron/PurgeExpiredDataCron.php(32): Contao\CoreBundle\Framework\ContaoFramework->initialize() #5 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Cron/CronJob.php(47): Contao\CoreBundle\Cron\PurgeExpiredDataCron->onHourly('web') #6 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Cron/Cron.php(197): Contao\CoreBundle\Cron\CronJob->__invoke('web') #7 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Cron/Cron.php(182): Contao\CoreBundle\Cron\Cron->executeCrons(Array, 'web', Object(Closure)) #8 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/Cron/Cron.php(97): Contao\CoreBundle\Cron\Cron->doRun(Array, 'web', false) #9 /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(42): Contao\CoreBundle\Cron\Cron->run('web') #10 /home/xxxx/www/2024.domain.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(260): Contao\CoreBundle\EventListener\CommandSchedulerLi stener->__invoke(Object(Symfony\Component\HttpKernel\Even t\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDisp atcher)) #11 /home/xxxx/www/2024.domain.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(220): Symfony\Component\EventDispatcher\EventDispatcher: :Symfony\Component\EventDispatcher\{closure}(Objec t(Symfony\Component\HttpKernel\Event\TerminateEven t), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDisp atcher)) #12 /home/xxxx/www/2024.domain.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\Terminat eEvent)) #13 /home/xxxx/www/2024.domain.ch/vendor/symfony/http-kernel/HttpKernel.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Even t\TerminateEvent), 'kernel.terminat...') #14 /home/xxxx/www/2024.domain.ch/vendor/symfony/http-kernel/Kernel.php(157): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\RedirectRe sponse)) #15 /home/xxxx/www/2024.domain.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php(260): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\RedirectRe sponse)) #16 /home/xxxx/www/2024.domain.ch/public/index.php(46): Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate(Object(Symfony\Component\HttpFoundation \Request), Object(Symfony\Component\HttpFoundation\RedirectRe sponse)) #17 {main} [] {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.555562+02:00] php.CRITICAL: Uncaught Exception: There is currently no session available. {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /home/xxxx/www/2024.domain.ch/vendor/symfony/http-foundation/RequestStack.php:107)"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.565784+02:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\HttpFoundation\Exception\Session NotFoundException: "There is currently no session available." at RequestStack.php line 107 {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /home/xxxx/www/2024.domain.ch/vendor/symfony/http-foundation/RequestStack.php:107)"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.707354+02:00] php.WARNING: Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/www/2024.domain.ch/vendor/symfony/http-foundation/Response.php:1315) {"exception":"[object] (ErrorException(code: 0): Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/www/2024.domain.ch/vendor/symfony/http-foundation/Response.php:1315) at /home/xxxx/www/2024.domain.ch/vendor/contao/core-bundle/src/HttpKernel/Header/NativeHeaderStorage.php:29)"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.791853+02:00] messenger.INFO: Sending message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage with contao_prio_low sender using Contao\CoreBundle\Messenger\Transport\AutoFallback Transport {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","alias":"contao_prio_low","sen der":"Contao\\CoreBundle\\Messenger\\Transport\\Au toFallbackTransport"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.795718+02:00] messenger.INFO: Received message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:49:19.810360+02:00] messenger.INFO: Message Contao\CoreBundle\Messenger\Message\SearchIndexMes sage handled by Contao\CoreBundle\Messenger\MessageHandler\SearchI ndexMessageHandler::__invoke {"class":"Contao\\CoreBundle\\Messenger\\Message\\ SearchIndexMessage","handler":"Contao\\CoreBundle\ \Messenger\\MessageHandler\\SearchIndexMessageHand ler::__invoke"} {"request_uri":"https://2024.domaim.ch/contao","request_method":"GET"} [2024-04-29T14:52:48.573581+02:00] request.INFO: Matched route "contao_backend".[B][/B]
Könnte es eventuell an der Datenbankverbindung liegen?
In der Installation mit PCT Contao Installer fehlen diese Dateien im Hauptverzeichniss:
• env.local
• env
Einen Kommentar schreiben:
-
Ist das eine EX+CC? Bitte dann weiter im anderen Thread.
Da hakt bei mir der Manager auch gerade in einem anderen Thread. Da bin ich selbst auf der Spuren suche, aber genaueres ist noch nicht bekannt.
Einen Kommentar schreiben:
-
Ich habe die instanz auf PHP 8.2 der PCT Installer ist durchgelaufen und das Theme ist installiert :-)
Wo es noch hakt ist der Contao Manager. Als ich ihn aufgerufen habe musste ich die Datenbank überprüfen
oder den abgesicherten modus wählen.
Das Datenbank überprüfen musste ich nach einer halben Stunde abbrechen
Im abgesicherten modus unter System-Log habe ich folgende Fehlermeldungen:
Beim Prodcache leeren diese Meldung:Code:Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. in /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/http-foundation/RequestStack.php:107 Stack trace: #0 /home/pmworks/www/2024-4.pm-works.ch/system/modules/pct_theme_installer/PCT/ThemeInstaller/SystemCallbacks.php(65): Symfony\Component\HttpFoundation\RequestStack->getSession() #1 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(224): PCT\ThemeInstaller\SystemCallbacks->installationCompletedStatus() #2 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(175): Contao\CoreBundle\Framework\ContaoFramework->triggerInitializeSystemHook() #3 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Framework/ContaoFramework.php(95): Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() #4 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Cron/PurgeExpiredDataCron.php(32): Contao\CoreBundle\Framework\ContaoFramework->initialize() #5 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Cron/CronJob.php(47): Contao\CoreBundle\Cron\PurgeExpiredDataCron->onHourly('web') #6 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Cron/Cron.php(197): Contao\CoreBundle\Cron\CronJob->__invoke('web') #7 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Cron/Cron.php(182): Contao\CoreBundle\Cron\Cron->executeCrons(Array, 'web', Object(Closure)) #8 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/Cron/Cron.php(97): Contao\CoreBundle\Cron\Cron->doRun(Array, 'web', false) #9 /home/pmworks/www/2024-4.pm-works.ch/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(42): Contao\CoreBundle\Cron\Cron->run('web') #10 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(260): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #11 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(220): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #12 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #13 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/http-kernel/HttpKernel.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...') #14 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/http-kernel/Kernel.php(157): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #15 /home/pmworks/www/2024-4.pm-works.ch/vendor/symfony/http-kernel/HttpCache/HttpCache.php(260): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #16 /home/pmworks/www/2024-4.pm-works.ch/public/index.php(46): Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #17
HTML-Code:[2024-04-25T09:47:23.184571+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T09:47:33.530927+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T09:47:47.586415+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T10:14:31.650566+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T10:14:56.717420+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T10:35:46.068564+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} [] [2024-04-25T10:35:55.971657+02:00] console.CRITICAL: Error thrown while running command "contao:maintenance-mode enable --no-interaction". Message: "There is currently no session available." {"exception":"[object] (Symfony\\Component\\HttpFoundation\\Exception\\Se ssionNotFoundException(code: 0): There is currently no session available. at /xxx/www/xxx/vendor/symfony/http-foundation/RequestStack.php:107)","command":"contao:maintenan ce-mode enable --no-interaction","message":"There is currently no session available."} []
Einen Kommentar schreiben:
-
Allgemein setzt C5 auf min. 8.1. Das mag sein. Ich setz direkt auf höher. Die Version via PCT Installer ist unter PHP 8.2.0 erstellt und sollte damit betrieben werden. Dann ist man auch save gegenüber dem End of life von 8.1 im November.
---
Die kleine PHP Prüfung im Installer hakt gerade. Das update ich, damit die zu kleinen PHP Versionen wieder abgefangen werden.Zuletzt geändert von Tim; 24.04.2024, 16:17.
Einen Kommentar schreiben:

Einen Kommentar schreiben: