Wir haben bei der Installation von Contao 4.5.x über den Contao Manager auf einem Managed Server von Hetzner leider kein Glück.
Die Installation liegt unter contao.domain.tld im Ordner /web (die Subdomain verweist ebenfalls auf den Ordner /web). Die PHP-Version vom Server ist aktuell noch die 5.6.xx und wurde für die Subdomain via htaccess auf die Version 7.1.20 wie folgt umgestellt:
Code:
FcgidWrapper "/home/httpd/cgi-bin/php71-fcgi-starter.fcgi" .php
Action application/x-httpd-php71 /cgi-sys/php71-fcgi-starter.fcgi
AddType application/x-httpd-php71 .php
Die Systemprüfung zeigte keine Fehler, auch wurde eine Contao Installation gefunden.
Code:
PHP Version 7.1.20, keine bekannten Probleme gefunden.
Serverkonfiguration
Konfiguriert als Hetzner Online GmbH, PHP-Binary in /usr/bin/php71.
PHP Kommandozeilen-Programm
PHP Version 7.1.20, keine bekannten Probleme gefunden.
Updates für den Contao Manager
Sie verwenden die aktuelle Version 1.0.2.
Composer-Umgebung
Keine bekannten Probleme gefunden.
Contao-Installation
Contao 4.5.10 (API-Version 1) gefunden.
Nachdem der Prozess soweit erfolgreich abgeschlossen war und ich das Install-Tool aufrufen möchte (contao.domain.tld/contao/install) erhalte ich die Fehlermeldung "The requested URL /contao/install was not found on this server."
Der Contao-Debug-Modus zeigt die folgenden Meldungen:
Exceptions: 2
Contao\CoreBundle\Exception\
InternalServerErrorHttpException
Code:
in vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php (line 106)
ExceptionConverterListener->convertToHttpException(object(IncompleteInstallationException), 'InternalServerErrorHttpException') in vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php (line 68)
ExceptionConverterListener->onKernelException(object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
call_user_func(array(object(ExceptionConverterListener), 'onKernelException'), object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 104)
WrappedListener->__invoke(object(GetResponseForExceptionEvent), 'kernel.exception', object(ContainerAwareEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 212)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(GetResponseForExceptionEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)
EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 139)
TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 228)
HttpKernel->handleException(object(IncompleteInstallationException), object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 79)
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request)) in web/app_dev.php (line 67)
Plugin::autoloadModules(__DIR__.'/../system/modules');
ContaoKernel::setProjectDir(\dirname(__DIR__));
// Handle the request
$kernel = new ContaoKernel('dev', true);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Contao\CoreBundle\Exception\
IncompleteInstallationException
The installation has not been completed. Open the Contao install tool to continue.
Code:
in vendor/contao/core-bundle/src/Framework/ContaoFramework.php (line 405)
ContaoFramework->validateInstallation() in vendor/contao/core-bundle/src/Framework/ContaoFramework.php (line 318)
ContaoFramework->initializeFramework() in vendor/contao/core-bundle/src/Framework/ContaoFramework.php (line 148)
ContaoFramework->initialize() in vendor/contao/core-bundle/src/Controller/FrontendController.php (line 36)
FrontendController->indexAction() in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request)) in web/app_dev.php (line 67)
Plugin::autoloadModules(__DIR__.'/../system/modules');
ContaoKernel::setProjectDir(\dirname(__DIR__));
// Handle the request
$kernel = new ContaoKernel('dev', true);
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Das die Installation unvollständig ist und erneut ausgeführt werden muss, ist mir soweit klar.
Logs: 1
Code:
Level Channel Message
INFO 17:00:11 php User Deprecated: Passing the path to the Composer installed.json as first argument is no longer supported in version 2.3.
INFO 17:00:11 request Matched route "contao_index".
INFO 17:00:11 security Populated the TokenStorage with an anonymous Token.
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Nelmio\SecurityBundle\EventListener\ContentSecurityPolicyListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\SessionListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\LocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\RefererIdListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\CsrfTokenCookieListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\BackendLocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\BypassMaintenanceListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Lexik\Bundle\MaintenanceBundle\Listener\MaintenanceListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\InsecureInstallationListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\ToggleViewListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\UserSessionListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Terminal42\HeaderReplay\EventListener\HeaderReplayListener::onKernelRequest".
INFO 17:00:11 php User Deprecated: The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
DEBUG 17:00:11 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
CRITICAL 17:00:11 request Uncaught PHP Exception Contao\CoreBundle\Exception\InternalServerErrorHttpException: "The installation has not been completed. Open the Contao install tool to continue." at /usr/www/users/agentur/contaoserver/contao/vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php line 106
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Nelmio\SecurityBundle\EventListener\ContentSecurityPolicyListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\SessionListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\LocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\RefererIdListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\CsrfTokenCookieListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\BackendLocaleListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\BypassMaintenanceListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Lexik\Bundle\MaintenanceBundle\Listener\MaintenanceListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\InsecureInstallationListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\ToggleViewListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Contao\CoreBundle\EventListener\UserSessionListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.request" to listener "Terminal42\HeaderReplay\EventListener\HeaderReplayListener::onKernelRequest".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG 17:00:11 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
DEBUG 17:00:11 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
Um 17:00:11 gab es einen kritschen Fehler, das die Installation nicht beendet wurde. Die Frage ist nur warum nicht!?
und hier noch die Stack Traces:
Stack Traces: 2
[2/2] InternalServerErrorHttpException
Code:
Contao\CoreBundle\Exception\InternalServerErrorHttpException:
The installation has not been completed. Open the Contao install tool to continue.
at vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:106
at Contao\CoreBundle\EventListener\ExceptionConverterListener->convertToHttpException(object(IncompleteInstallationException), 'InternalServerErrorHttpException')
(vendor/contao/core-bundle/src/EventListener/ExceptionConverterListener.php:68)
at Contao\CoreBundle\EventListener\ExceptionConverterListener->onKernelException(object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
at call_user_func(array(object(ExceptionConverterListener), 'onKernelException'), object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseForExceptionEvent), 'kernel.exception', object(ContainerAwareEventDispatcher))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212)
at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(GetResponseForExceptionEvent))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))
(vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:228)
at Symfony\Component\HttpKernel\HttpKernel->handleException(object(IncompleteInstallationException), object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:67)
[1/2] IncompleteInstallationException
Code:
Contao\CoreBundle\Exception\IncompleteInstallationException:
The installation has not been completed. Open the Contao install tool to continue.
at vendor/contao/core-bundle/src/Framework/ContaoFramework.php:405
at Contao\CoreBundle\Framework\ContaoFramework->validateInstallation()
(vendor/contao/core-bundle/src/Framework/ContaoFramework.php:318)
at Contao\CoreBundle\Framework\ContaoFramework->initializeFramework()
(vendor/contao/core-bundle/src/Framework/ContaoFramework.php:148)
at Contao\CoreBundle\Framework\ContaoFramework->initialize()
(vendor/contao/core-bundle/src/Controller/FrontendController.php:36)
at Contao\CoreBundle\Controller\FrontendController->indexAction()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:67)
Der Contao Check (Version 12.0) zeigte alle Tests erfolgreich an, jedoch die Prüfung der Installation meldete "Keine Contao-Installation gefunden."
Der Ram beim Server wurde 256M und die PHP Execution Time auf 10 Minuten hochgesetzt.
Eine Installation bei campusspeicher.de hingegen hat auf Anhieb funktioniert. Hat jemand einen passenden Tipp wo ich noch suchen könnte?
Vielen Dank
Andreas
Lesezeichen