Project

General

Profile

Actions

Bug #91826

open

Install issue in TYPO3 10/11

Added by Maximilian Anton Grimm almost 4 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-07-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Installtool
Complexity:
Is Regression:
Sprint Focus:

Description

My Webserver PHP got updated to 7.2.32, since this update at install of TYPO3 10.4.5 error occurs at last step 4/5 80%

POST ../typo3/install.php Error 502
install.php:1 Uncaught (in promise) r.ResponseError {response: Response}
Promise.then (async)
executeDatabaseData Installer.js?bust=e7…dd92c4e66b216301:13
(anonymous)
Installer.js?bust=e7…dd92c4e66b216301:13
dispatch jquery.min.js?bust=e…0dd92c4e66b216301:2
v.handle
jquery.min.js?bust=e…0dd92c4e66b216301:2

Database is setup with tables but without records inside.


Files

clipboard-202106271753-wrbxo.png (24.9 KB) clipboard-202106271753-wrbxo.png Error in FireFox David Bruchmann, 2021-06-27 10:53
clipboard-202106271802-ajyri.png (49.3 KB) clipboard-202106271802-ajyri.png Error in Chrome David Bruchmann, 2021-06-27 11:02

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #94422: wrong handling in TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStreamClosed2021-06-27

Actions
Related to TYPO3 Core - Bug #88846: Install tool (on FIRST_INSTALL) warns about "Trusted hosts pattern mismatch" although 'trustedHostsPattern' is set correctly (if no LocalConfiguration.php is present)Closed2019-07-26

Actions
Actions #1

Updated by Bastian Bringenberg almost 4 years ago

  • Project changed from 9 to TYPO3 Core
  • TYPO3 Version set to 10
  • PHP Version set to 7.2

Moved to correct project.
Set TYPO3 Version.
Set PHP Version.

Updated by David Bruchmann almost 3 years ago

I've nearly the same issue, just no tables are added in my database.

My environment:

  • TYPO3 v11.3-dev
  • PHP 7.4
  • Apache 2.4, PHP, CGI
  • MariaDB 10.5 + InnoDB

In firefox I get the error shown like this:

Error in FireFox

and in chrome it's looking like that:

Error in Chrome

Actions #3

Updated by David Bruchmann almost 3 years ago

  • Subject changed from TYPO3 10.4.5 + PHP 7.2.32 Install issue to Install issue in TYPO3 10/11
  • Tags set to Installtool

After some verification I found a concrete error:

Fatal error: Class TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStream may not inherit from final class (GuzzleHttp\Psr7\LazyOpenStream) in /var/www/html/domain.com/typo3/sysext/core/Classes/Http/SelfEmittableLazyOpenStream.php on line 29

I installed it now in ddev instead of directly on the server and the error-messages in the console are a bit different, so I could get this one.

Actions #4

Updated by David Bruchmann almost 3 years ago

One problem seems to be in the guzzle class GuzzleHttp\Psr7\LazyOpenStream which implements Psr\Http\Message\StreamInterface but is on the one hand final and on the other hand includes only 2 methods of the interface. So either the versions of class and interface never fit together or guzzle has just a bug here.

details:
  • psr/http-message is installed in version 1.0.x-dev
  • guzzlehttp/psr7 is installed in version 2.0-dev

The bug is reported here: https://github.com/guzzle/psr7/issues/428

Actions #5

Updated by David Bruchmann almost 3 years ago

  • Related to Bug #94422: wrong handling in TYPO3\CMS\Core\Http\SelfEmittableLazyOpenStream added
Actions #6

Updated by David Bruchmann almost 3 years ago

  • Related to Bug #88846: Install tool (on FIRST_INSTALL) warns about "Trusted hosts pattern mismatch" although 'trustedHostsPattern' is set correctly (if no LocalConfiguration.php is present) added
Actions #7

Updated by David Bruchmann almost 3 years ago

Bug #88846 is not directly related but another issue in the InstallTool.

Actions #8

Updated by David Bruchmann almost 3 years ago

  • Category set to Install Tool
Actions #9

Updated by David Bruchmann almost 3 years ago

I did miss the used trait https://github.com/guzzle/psr7/blob/148492f9e2e1524317a8aa60875f5b59517a9374/src/StreamDecoratorTrait.php
therefore my aforementioned conclusions are wrong.

Instead the implementation in TYPO3 seems being wrong. See #94422

Actions

Also available in: Atom PDF