Fehler 500 bei Installation
Hallo,
hab jetzt mehrere erfolglose Versuche durchlaufen: Contao lässt sich auf dem Strato-Server (Strato Hosting Basic) nicht installieren.
Getetestet habe ich
- PHP Version 7.3 und 7.4
- Contao Version 4.9 LTS und 4.10
Im Contao Manager lege ich zunächst das Benutzerkonto an, dann startet die Systemprüfung und wird an unterschiedlichen Stellen abgebrochen. Beim letzten Versuch bin ich immerhin bis zu dem Punkt gekommen, wo ich die gewünschte Contao-Version auswählen kann, dann bricht die Installation ab:
Code:
ERROR 500
HTTP-Anfrage für "PUT api/task" fehlgeschlagen.
Es scheint ein unbekannter Fehler aufgetreten zu sein. Prüfe die Log-Dateien deines Webservers (Apache/Nginx) und des Contao Managers im Ordner "contao-manager/logs".
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
service@webmailer.de to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Contao Support
Die Fehlermeldungen unterscheiden sich immer. Start ich die Installationsroutine nach der Fehlermeldung erneut, heißt es z.B. 'HTTP-Anfrage für "GET api/server/composer" fehlgeschlagen'. Ein erneutes Aufrufen der Seite führt zu 'HTTP-Anfrage für "GET api/task" fehlgeschlagen'. Und dann geht es anscheinend nicht weiter.
Hat jemand eine Idee?
Fehler 500 bei Installation auf Strato-Server
Hallo,
leider bin ich im Unterforum 'Strato' nicht weiter gekommen, daher schildere ich mein Problem noch mal in diesem Forum. Mir brennt leider ein bisschen die Zeit unter den Nägeln ... :(
Ich habe jetzt mehrere erfolglose Versuche durchlaufen: Contao lässt sich auf dem Strato-Server (Strato Hosting Basic) nicht installieren.
Getetestet habe ich
- PHP Version 7.3 und 7.4
- Contao Version 4.9 LTS und 4.10
Im Contao Manager lege ich zunächst das Benutzerkonto an, dann startet die Systemprüfung und wird an unterschiedlichen Stellen abgebrochen. Beim letzten Versuch bin ich immerhin bis zu dem Punkt gekommen, wo ich die gewünschte Contao-Version auswählen kann, dann bricht die Installation ab:
Code:
ERROR 500
HTTP-Anfrage für "PUT api/task" fehlgeschlagen.
Es scheint ein unbekannter Fehler aufgetreten zu sein. Prüfe die Log-Dateien deines Webservers (Apache/Nginx) und des Contao Managers im Ordner "contao-manager/logs".
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
service@webmailer.de to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Contao Support
Die Fehlermeldungen unterscheiden sich. Start ich die Installationsroutine nach der Fehlermeldung erneut, heißt es z.B. 'HTTP-Anfrage für "GET api/server/composer" fehlgeschlagen'. Ein erneutes Aufrufen der Seite führt zu 'HTTP-Anfrage für "GET api/task" fehlgeschlagen'. Und dann geht es anscheinend nicht weiter.
Die log-Datei sieht so aus
Code:
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"http://contao2020.xyz.de/contao-manager.phar.php/api/task","method":"PUT"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"t.g\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] tasks.INFO: Created new task {"name":"contao/install","options":{"version":"4.10","core-only":"0","no-update":"0"},"class":"Contao\\ManagerApi\\Task\\Packages\\SetupTask"} []
[27-Oct-2020 11:31:41 MET] [2020-10-27 11:31:41] app.ERROR: The process has been signaled with signal "6". {"exception":"[object] (Symfony\\Component\\Process\\Exception\\ProcessSignaledException(code: 0): The process has been signaled with signal \"6\". at phar:///mnt/web507/d2/37/59667437/htdocs/xyz.de-contao2020/web/contao-manager.phar.php/vendor/symfony/process/Process.php:428)"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"http://contao2020.xyz.de/contao-manager.phar.php/api/task","method":"GET"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"t.g\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:00] tasks.INFO: Updating task status {"name":"contao/install","class":"Contao\\ManagerApi\\Task\\Packages\\SetupTask"} []
[27-Oct-2020 11:33:01 MET] [2020-10-27 11:33:01] app.ERROR: The process has been signaled with signal "6". {"exception":"[object] (Symfony\\Component\\Process\\Exception\\ProcessSignaledException(code: 0): The process has been signaled with signal \"6\". at phar:///mnt/web507/d2/37/59667437/htdocs/xyz.de-contao2020/web/contao-manager.phar.php/vendor/symfony/process/Process.php:428)"} []
[27-Oct-2020 11:33:04 MET] [2020-10-27 11:33:04] tasks.INFO: Completed operation: Contao\ManagerApi\TaskOperation\Composer\CreateProjectOperation [] []
[27-Oct-2020 11:33:04 MET] [2020-10-27 11:33:04] tasks.INFO: Current operation: Contao\ManagerApi\TaskOperation\Composer\CloudOperation [] []
[27-Oct-2020 11:33:04 MET] [2020-10-27 11:33:04] tasks.INFO: Creating Composer Cloud job {"headers":["Composer-Resolver-Client: contao","Composer-Resolver-Command: --with-dependencies --profile"],"body":"{\"composerJson\":{\"type\":\"project\",\"require\":{\"contao\\/manager-bundle\":\"4.10.*\",\"contao\\/calendar-bundle\":\"4.10.*\",\"contao\\/comments-bundle\":\"4.10.*\",\"contao\\/faq-bundle\":\"4.10.*\",\"contao\\/listing-bundle\":\"4.10.*\",\"contao\\/news-bundle\":\"4.10.*\",\"contao\\/newsletter-bundle\":\"4.10.*\",\"contao\\/conflicts\":\"*@dev\"},\"extra\":{\"contao-component-dir\":\"assets\"},\"scripts\":{\"post-install-cmd\":[\"Contao\\\\ManagerBundle\\\\Composer\\\\ScriptHandler::initializeApplication\"],\"post-update-cmd\":[\"Contao\\\\ManagerBundle\\\\Composer\\\\ScriptHandler::initializeApplication\"]}},\"composerLock\":[],\"platform\":{\"composer-runtime-api\":\"1.0.0.0\",\"php\":\"7.4.10.0\",\"php-ipv6\":\"7.4.10.0\",\"ext-date\":\"7.4.10.0\",\"ext-ereg\":\"0.0.0.0\",\"ext-libxml\":\"7.4.10.0\",\"ext-openssl\":\"7.4.10.0\",\"ext-pcre\":\"7.4.10.0\",\"ext-sqlite3\":\"7.4.10.0\",\"ext-zlib\":\"7.4.10.0\",\"ext-bcmath\":\"7.4.10.0\",\"ext-bz2\":\"7.4.10.0\",\"ext-calendar\":\"7.4.10.0\",\"ext-ctype\":\"7.4.10.0\",\"ext-curl\":\"7.4.10.0\",\"ext-dba\":\"7.4.10.0\",\"ext-dom\":\"20031129\",\"ext-hash\":\"7.4.10.0\",\"ext-fileinfo\":\"7.4.10.0\",\"ext-filter\":\"7.4.10.0\",\"ext-ftp\":\"7.4.10.0\",\"ext-gd\":\"7.4.10.0\",\"ext-gettext\":\"7.4.10.0\",\"ext-spl\":\"7.4.10.0\",\"ext-iconv\":\"7.4.10.0\",\"ext-session\":\"7.4.10.0\",\"ext-intl\":\"7.4.10.0\",\"ext-json\":\"7.4.10.0\",\"ext-lzf\":\"1.6.3.0\",\"ext-mailparse\":\"3.0.2.0\",\"ext-mbstring\":\"7.4.10.0\",\"ext-mcrypt\":\"1.0.3.0\",\"ext-mysql\":\"1.0.0.0\",\"ext-mysqli\":\"7.4.10.0\",\"ext-pcntl\":\"7.4.10.0\",\"ext-imap\":\"7.4.10.0\",\"ext-pdo\":\"7.4.10.0\",\"ext-pdo_mysql\":\"7.4.10.0\",\"ext-pdo_sqlite\":\"7.4.10.0\",\"ext-phar\":\"7.4.10.0\",\"ext-posix\":\"7.4.10.0\",\"ext-reflection\":\"7.4.10.0\",\"ext-imagick\":\"3.4.4.0\",\"ext-simplexml\":\"7.4.10.0\",\"ext-soap\":\"7.4.10.0\",\"ext-sockets\":\"7.4.10.0\",\"ext-exif\":\"7.4.10.0\",\"ext-tidy\":\"7.4.10.0\",\"ext-tokenizer\":\"7.4.10.0\",\"ext-xml\":\"7.4.10.0\",\"ext-xmlreader\":\"7.4.10.0\",\"ext-xmlrpc\":\"7.4.10.0\",\"ext-xmlwriter\":\"7.4.10.0\",\"ext-xsl\":\"7.4.10.0\",\"ext-zip\":\"1.15.6.0\",\"ext-cgi-fcgi\":\"7.4.10.0\",\"ext-zend-opcache\":\"7.4.10.0\",\"lib-libxml\":\"2.7.8.0\",\"lib-openssl\":\"1.0.2.8\",\"lib-pcre\":\"10.34.0.0\",\"lib-curl\":\"7.54.0.0\",\"lib-iconv\":\"1.14.0.0\",\"lib-icu\":\"52.1.0.0\",\"lib-imagick\":\"6.9.10.47\",\"lib-xsl\":\"1.1.26.0\"},\"localPackages\":[]}"} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"http://contao2020.xyz.de/contao-manager.phar.php/api/task","method":"GET"} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:33:10 MET] [2020-10-27 11:33:10] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"http://contao2020.xyz.de/contao-manager.phar.php/api/task","method":"GET"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Calling getCredentials() on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"t.g\", authenticated=true, roles=\"ROLE_ADMIN\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] tasks.INFO: Updating task status {"name":"contao/install","class":"Contao\\ManagerApi\\Task\\Packages\\SetupTask"} []
[27-Oct-2020 11:34:06 MET] [2020-10-27 11:34:06] app.ERROR: The process has been signaled with signal "6". {"exception":"[object] (Symfony\\Component\\Process\\Exception\\ProcessSignaledException(code: 0): The process has been signaled with signal \"6\". at phar:///mnt/web507/d2/37/59667437/htdocs/xyz.de-contao2020/web/contao-manager.phar.php/vendor/symfony/process/Process.php:428)"} []
[27-Oct-2020 11:34:10 MET] [2020-10-27 11:34:10] tasks.INFO: Completed operation: Contao\ManagerApi\TaskOperation\Composer\CreateProjectOperation [] []
[27-Oct-2020 11:34:09 MET] [2020-10-27 11:34:10] tasks.INFO: Current operation: Contao\ManagerApi\TaskOperation\Composer\CloudOperation [] []
[27-Oct-2020 11:34:09 MET] [2020-10-27 11:34:09] app.DEBUG: Checked CA file /usr/ssl/certs/ca-bundle.crt: valid [] []
Ich habe es dann in mehreren Anläufen (neu laden) dann irgendwie geschafft, die Installation zu starten, aber dann hängt es beim composer install.
Code:
Hintergrund-Prozess
Ein Hintergrund-Prozess wurde unerwartet beendet. Bitte prüfe die Konsolen-Ausgabe.
$ /opt/RZphp74/bin/php-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=MET /mnt/web507/d2/37/59667888/htdocs/xyz.de-contao2020/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
ASSERTION CAUGHT: ts->tv_nsec >= 0 (0xffffffff80c67303 >= 0x0), file: /builds/s11u4/11.4.20.0.1.3.0.server/usr/src/common/hrt/i386/timestamp_cmn.c, line: 167
# Process terminated with exit code 134
# Result: Process aborted [signal 6]
Hat jemand eine Idee?
Liste der Anhänge anzeigen (Anzahl: 1)
memory-limit liegt bei 256M
Hast Du 4.9 über den CM installiert? Hab' gestern noch die Oneclick-Installation über den Kundenbereich getestet. Das sollte angeblich 4.9 oder 4.10 sein. Das wusste man bei Strato nicht so genau :mad: Die Installation brach dann mit 'Installation failed' ab und in den auf dem Server abgelegten Dateien habe ich den Hinweis auf Version 4.4.
Anhang 23974