Project

General

Profile

Actions

Bug #76185

closed

Install tool not working when NOT using namebased hosting

Added by Joris Willems over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2016-05-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When I try to install typo3 8.1 on the default ip based site (Debian nginx, but this applies to other systems too I am sure).
I am always getting:

@Trusted hosts pattern mismatch

The trusted hosts pattern will be configured to allow all header values. This is because your $SERVER_NAME is "_" while your HTTP_HOST is "192.168.102.167". Check the pattern defined in Install Tool -> All configuration -> System -> trustedHostsPattern and adapt it to expected host value(s).
@

I think this should only be displayed when there is already a finished install because I cannot comply with this suggestion.

If I click "Continue anyway, I know what I am doing" all further steps of the wizard are skipped and at least the DB configuration is empty. Front- and backend fail inevitably.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #76163: Predefined database host during installationClosed2016-05-12

Actions
Actions #1

Updated by Joris Willems over 8 years ago

If I use namebased hosting the install tool does not give the above warning but when I click "System looks good. Continue." it give the same issue with the not configured DB connection and the rest of the wizard skipped.

Actions #2

Updated by Joris Willems over 8 years ago

Manually adding the db configuration in typo3conf/LocalConfiguration.php is a workaround:

'DB' => [
'Connections' => [
'Default' => [
'charset' => 'utf-8',
'dbname' => 'typo3',
'driver' => 'mysqli',
'host' => 'localhost',
'password' => 'XXXXXXXXXX',
'port' => 3306,
'unix_socket' => '/var/run/mysqld/mysqld.sock',
'user' => 'typo3',
],
],
],

Actions #3

Updated by Wolfgang Wagner over 8 years ago

Seems to be the same problem? https://forge.typo3.org/issues/76163

Actions #4

Updated by Joris Willems over 8 years ago

Indeed. The correct title for the bugreport should be "DB connection not configured by install tool in typo3 8.1"

Actions #5

Updated by Joris Willems over 8 years ago

I am not getting any message about an old Mysql version. The wizard just ends after the first page with typo3 trying to connect with an empty connection.

Actions #6

Updated by Riccardo De Contardi almost 8 years ago

  • Status changed from New to Closed

That should be already fixed; see #76163, so I am closing it for now.

If you think that this is the wrong decision or experience the issue again then please reopen it or open a new issue with a reference to this one.

Thank you

Actions

Also available in: Atom PDF