Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Mariadb and ddev work with Docker Toolbox on Windows 10 Home, fixes drud/ddev#636 #854

Closed
rfay opened this issue May 14, 2018 · 7 comments
Assignees
Milestone

Comments

@rfay
Copy link
Member

rfay commented May 14, 2018

From @rfay on April 17, 2018 0:2

The Problem:

Docker Toolbox/Windows 10 Home uses a completely different virtualization environment that can break Mariadb.

The Fix:

  • Turn off innodb_use_native_aio since it just doesn't work with NTFS/Windows
  • log-bin=on - Fixes a weird problem with Virtualbox and mariadb.

The Test:

  • Use ddev with this on Windows 10 Home (dbimage: drud/mariadb-local:20180416_win_10_home)
  • Use it everywhere else.
  • Check for performance everywhere

Automation Overview:

Related Issue Link(s):

OP #636

Release/Deployment notes:

Copied from original issue: drud/mariadb-local/pull/53

@rfay rfay self-assigned this May 14, 2018
@rfay
Copy link
Member Author

rfay commented May 14, 2018

I tested this on Windows 10 Home with Docker Toolbox on a 2015 MBP; ddev start took 23sec. A D7 web install took about 4 minutes. Clicking around looks fine performancewiize

I think it's not a bad deal for our WIndows 10 Home users.

@rfay
Copy link
Member Author

rfay commented May 14, 2018

A drush si on D8 took about 9:30, which I don't think is too bad for windows. Unfortunately the resultant website was completely too slow for a reasonable experience, would never work.

@rfay
Copy link
Member Author

rfay commented May 14, 2018

This is a very small PR that we should probably bring in, even though WIndows 10 Home/Docker Toolbox seem to be disappointing in terms of performance.

@rfay
Copy link
Member Author

rfay commented May 14, 2018

From @ziadabdulhai on May 10, 2018 19:55

hi,

i have used:
dbimage: drud/mariadb-local:20180416_win_10_home

Now phpmyadmin and MailHog are ranning, but wenn i call the home page under:
http://typo3-master.ddev.local:8000 then i receive:
Diese Seite funktioniert nicht
typo3-master.ddev.local kann diese Anfrage momentan nicht verarbeiten.
HTTP ERROR 500

thanks

screenshot 1525981520
screenshot 1525981371
screenshot 1525981467
screenshot 1525981497
screenshot 1525982344

@rfay
Copy link
Member Author

rfay commented May 14, 2018

A 500 does not mean there's anything wrong with ddev. Please use ddev logs to find out the source of the error.

@rfay
Copy link
Member Author

rfay commented May 14, 2018

From @ziadabdulhai on May 10, 2018 20:37

\ddev logs

  • set -o errexit nounset pipefail
  • DDEV_PHP_VERSION=7.2
  • '[' -n '' ']'
  • '[' -f /mnt/ddev_config/nginx-site.conf ']'
  • '[' -n 7.2 ']'
  • update-alternatives --set php /usr/bin/php7.2
    update-alternatives: using /usr/bin/php7.2 to provide /usr/bin/php (php) in manual mode
  • ln -sf /usr/sbin/php-fpm7.2 /usr/sbin/php-fpm
  • export PHP_INI=/etc/php/7.2/fpm/php.ini
  • PHP_INI=/etc/php/7.2/fpm/php.ini
  • '[' -d /mnt/ddev_config/php ']'
  • '[' typo3 = backdrop ']'
  • rm -f /etc/nginx/nginx-site.conf
  • '[' -f /etc/nginx/nginx-site-typo3.conf ']'
  • ln -s /etc/nginx/nginx-site-typo3.conf /etc/nginx/nginx-site.conf
  • envsubst '$NGINX_DOCROOT'
  • disable_xdebug
    Disabled xdebug
    Server started
    php-fpm: no process found
  • echo 'Server started'
  • exec /usr/bin/supervisord -n -c /etc/supervisord.conf
    2018-05-10 20:06:52,970 CRIT Set uid to user 0
    2018-05-10 20:06:53,013 INFO RPC interface 'supervisor' initialized
    2018-05-10 20:06:53,013 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2018-05-10 20:06:53,015 INFO supervisord started with pid 1
    2018-05-10 20:06:54,024 INFO spawned: 'php-fpm' with pid 348
    2018-05-10 20:06:54,025 INFO spawned: 'nginx' with pid 349
    2018-05-10 20:06:54,026 INFO spawned: 'tail' with pid 350
    2018-05-10 20:06:54,028 INFO spawned: 'mailhog' with pid 351
    ==> /var/log/nginx/error.log <==

==> /var/log/php-fpm.log <==
[10-May-2018 20:06:54] NOTICE: fpm is running, pid 348
[10-May-2018 20:06:54] NOTICE: ready to handle connections
[10-May-2018 20:06:54] NOTICE: systemd monitor interval set to 10000ms
2018-05-10 20:06:55,053 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:06:55,054 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:06:55,054 INFO success: tail entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:06:55,054 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

==> /var/log/nginx/error.log <==
2018/05/10 20:10:24 [error] 352#352: *167 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')" while reading response header from upstream, client: 172.18.0.5, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "typo3-master.ddev.local:8000"

==> /var/log/php-fpm.log <==
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "Stack trace:"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SIT..."
2018-05-10 20:10:36,600 WARN received SIGTERM indicating exit request
2018-05-10 20:10:36,600 INFO waiting for nginx, tail, php-fpm, mailhog to die
2018-05-10 20:10:36,601 INFO stopped: mailhog (terminated by SIGTERM)
2018-05-10 20:10:36,602 INFO stopped: tail (terminated by SIGTERM)
2018-05-10 20:10:36,627 INFO stopped: nginx (exit status 0)
2018-05-10 20:10:36,640 INFO stopped: php-fpm (exit status 0)

  • set -o errexit nounset pipefail
  • DDEV_PHP_VERSION=7.2
  • '[' -n '' ']'
  • '[' -f /mnt/ddev_config/nginx-site.conf ']'
  • '[' -n 7.2 ']'
  • update-alternatives --set php /usr/bin/php7.2
  • ln -sf /usr/sbin/php-fpm7.2 /usr/sbin/php-fpm
  • export PHP_INI=/etc/php/7.2/fpm/php.ini
  • PHP_INI=/etc/php/7.2/fpm/php.ini
  • '[' -d /mnt/ddev_config/php ']'
  • '[' typo3 = backdrop ']'
  • rm -f /etc/nginx/nginx-site.conf
  • '[' -f /etc/nginx/nginx-site-typo3.conf ']'
  • ln -s /etc/nginx/nginx-site-typo3.conf /etc/nginx/nginx-site.conf
  • envsubst '$NGINX_DOCROOT'
  • disable_xdebug
    php-fpm: no process found
    Disabled xdebug
  • echo 'Server started'
    Server started
  • exec /usr/bin/supervisord -n -c /etc/supervisord.conf
    2018-05-10 20:32:32,467 CRIT Set uid to user 0
    2018-05-10 20:32:32,476 INFO RPC interface 'supervisor' initialized
    2018-05-10 20:32:32,476 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2018-05-10 20:32:32,476 INFO supervisord started with pid 1
    2018-05-10 20:32:33,478 INFO spawned: 'php-fpm' with pid 216
    2018-05-10 20:32:33,479 INFO spawned: 'nginx' with pid 217
    2018-05-10 20:32:33,480 INFO spawned: 'tail' with pid 218
    2018-05-10 20:32:33,480 INFO spawned: 'mailhog' with pid 219
    ==> /var/log/nginx/error.log <==
    2018/05/10 20:10:24 [error] 352#352: *167 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
    Stack trace:
    #0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
    Move drud api client into drud plugin and vault client into legacy plugin #1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
    Remove legacy and drudapi plugins #2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
    adds pr/issue templates #3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')" while reading response header from upstream, client: 172.18.0.5, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "typo3-master.ddev.local:8000"

==> /var/log/php-fpm.log <==
[10-May-2018 20:06:54] NOTICE: ready to handle connections
[10-May-2018 20:06:54] NOTICE: systemd monitor interval set to 10000ms
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "Stack trace:"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 20:10:24] WARNING: [pool www] child 357 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SIT..."
[10-May-2018 20:10:36] NOTICE: Terminating ...
[10-May-2018 20:10:36] NOTICE: exiting, bye-bye!
[10-May-2018 20:32:33] NOTICE: fpm is running, pid 216
[10-May-2018 20:32:33] NOTICE: ready to handle connections
[10-May-2018 20:32:33] NOTICE: systemd monitor interval set to 10000ms
2018-05-10 20:32:34,509 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:32:34,509 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:32:34,509 INFO success: tail entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 20:32:34,510 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
PS C:\Users\Ziad Abdul Hai\AppData\Local\Microsoft\WindowsApps\typo3-master>

@rfay
Copy link
Member Author

rfay commented May 14, 2018

From @ziadabdulhai on May 10, 2018 21:18

  • set -o errexit nounset pipefail
  • DDEV_PHP_VERSION=7.2
  • '[' -n '' ']'
  • '[' -f /mnt/ddev_config/nginx-site.conf ']'
  • '[' -n 7.2 ']'
  • update-alternatives --set php /usr/bin/php7.2
  • ln -sf /usr/sbin/php-fpm7.2 /usr/sbin/php-fpm
    update-alternatives: using /usr/bin/php7.2 to provide /usr/bin/php (php) in manual mode
  • export PHP_INI=/etc/php/7.2/fpm/php.ini
  • PHP_INI=/etc/php/7.2/fpm/php.ini
  • '[' -d /mnt/ddev_config/php ']'
  • '[' typo3 = backdrop ']'
  • rm -f /etc/nginx/nginx-site.conf
  • '[' -f /etc/nginx/nginx-site-typo3.conf ']'
  • ln -s /etc/nginx/nginx-site-typo3.conf /etc/nginx/nginx-site.conf
  • envsubst '$NGINX_DOCROOT'
  • '[' false '!=' true ']'
  • disable_xdebug
    php-fpm: no process found
    Disabled xdebug
  • echo 'Server started'
    Server started
  • exec /usr/bin/supervisord -n -c /etc/supervisord.conf
    2018-05-10 21:06:45,508 CRIT Set uid to user 0
    2018-05-10 21:06:45,514 INFO RPC interface 'supervisor' initialized
    2018-05-10 21:06:45,514 CRIT Server 'unix_http_server' running without any HTTP authentication checking
    2018-05-10 21:06:45,515 INFO supervisord started with pid 1
    2018-05-10 21:06:46,517 INFO spawned: 'php-fpm' with pid 348
    2018-05-10 21:06:46,525 INFO spawned: 'nginx' with pid 349
    2018-05-10 21:06:46,526 INFO spawned: 'tail' with pid 350
    2018-05-10 21:06:46,549 INFO spawned: 'mailhog' with pid 351
    ==> /var/log/nginx/error.log <==

==> /var/log/php-fpm.log <==
[10-May-2018 21:06:46] NOTICE: fpm is running, pid 348
[10-May-2018 21:06:46] NOTICE: ready to handle connections
[10-May-2018 21:06:46] NOTICE: systemd monitor interval set to 10000ms
2018-05-10 21:06:47,546 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 21:06:47,546 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 21:06:47,546 INFO success: tail entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-05-10 21:06:47,546 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

==> /var/log/nginx/error.log <==
2018/05/10 21:07:38 [error] 354#354: *45 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')" while reading response header from upstream, client: 172.18.0.5, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "typo3-master.ddev.local:8000"

==> /var/log/php-fpm.log <==
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "Stack trace:"
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:07:38] WARNING: [pool www] child 358 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SIT..."

==> /var/log/nginx/error.log <==
2018/05/10 21:07:44 [error] 354#354: *53 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')" while reading response header from upstream, client: 172.18.0.5, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "typo3-master.ddev.local:8000"

==> /var/log/php-fpm.log <==
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "Stack trace:"
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:07:44] WARNING: [pool www] child 358 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SIT..."

==> /var/log/nginx/error.log <==
2018/05/10 21:09:46 [info] 354#354: *163 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 192.168.99.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "192.168.99.100:32816"

==> /var/log/php-fpm.log <==
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header '192.168.99.100:32816' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "Stack trace:"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')"
[10-May-2018 21:09:47] WARNING: [pool www] child 358 said into stderr: "..."

==> /var/log/nginx/error.log <==
2018/05/10 21:09:52 [error] 354#354: *169 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header '192.168.99.100:32816' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')
#4 /var/" while reading response header from upstream, client: 192.168.99.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "192.168.99.100:32816"

==> /var/log/php-fpm.log <==
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header '192.168.99.100:32816' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "Stack trace:"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')"
[10-May-2018 21:09:52] WARNING: [pool www] child 356 said into stderr: "..."

==> /var/log/nginx/error.log <==
2018/05/10 21:09:54 [error] 354#354: *173 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header '192.168.99.100:32816' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')
#4 /var/" while reading response header from upstream, client: 192.168.99.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "192.168.99.100:32816"

==> /var/log/php-fpm.log <==
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header '192.168.99.100:32816' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "Stack trace:"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')"
[10-May-2018 21:09:54] WARNING: [pool www] child 357 said into stderr: "..."

==> /var/log/nginx/error.log <==
2018/05/10 21:10:53 [info] 354#354: *174 client timed out (110: Connection timed out) while waiting for request, client: 192.168.99.1, server: 0.0.0.0:80
2018/05/10 21:12:29 [error] 354#354: *316 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728
Stack trace:
#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')
#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')
#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')
#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL')" while reading response header from upstream, client: 172.18.0.5, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "typo3-master.ddev.local:8000"

==> /var/log/php-fpm.log <==
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught UnexpectedValueException: The current host header value does not match the configured trusted hosts pattern! Check the pattern defined in $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] and adapt it, if you want to allow the current host header 'typo3-master.ddev.local:8000' for your installation. in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php:2728"
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "Stack trace:"
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "#0 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2780): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')"
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "#1 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2789): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_H...')"
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "#2 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2792): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_D...')"
[10-May-2018 21:12:29] WARNING: [pool www] child 356 said into stderr: "#3 /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2806): TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SIT..."
PS C:\Users\Ziad Abdul Hai\AppData\Local\Microsoft\WindowsApps\typo3-master>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants