Skip to content

Instantly share code, notes, and snippets.

@spoonerWeb
Last active April 20, 2020 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spoonerWeb/685401f520ec6a0f3805d417a99b5ddf to your computer and use it in GitHub Desktop.
Save spoonerWeb/685401f520ec6a0f3805d417a99b5ddf to your computer and use it in GitHub Desktop.
"ddev logs web" output
APIVersion: v1.13.1
name: typo3.org
type: typo3
docroot: public
php_version: "7.4"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.3"
nfs_mount_enabled: false
provider: default
hooks:
post-import-db:
- exec: ./vendor/bin/typo3cms database:updateschema
post-start:
- exec: cp private/typo3conf/AdditionalConfiguration.ddev.php private/typo3conf/AdditionalConfiguration.php
- exec: composer install --ignore-platform-reqs -d /var/www/html
- exec: npm --prefix private/typo3conf/ext/t3olayout/Build install
- exec: npm --prefix private/typo3conf/ext/t3olayout/Build run-script build
- exec: ./vendor/bin/typo3cms install:generatepackagestates
- exec: ./vendor/bin/typo3cms install:extensionsetupifpossible
webimage_extra_packages: [php7.4-ldap]
use_dns_when_possible: true
timezone: Europe/Berlin
» ddev logs web 1 ↵
+ set -o errexit nounset pipefail
+ rm -f /tmp/healthy
+ DDEV_PHP_VERSION=7.4
+ DDEV_WEBSERVER_TYPE=nginx-fpm
+ '[' -n public ']'
+ export WEBSERVER_DOCROOT=/var/www/html/public
+ WEBSERVER_DOCROOT=/var/www/html/public
+ export NGINX_DOCROOT=/var/www/html/public
+ NGINX_DOCROOT=/var/www/html/public
+ '[' -f /mnt/ddev_config/nginx-site.conf ']'
+ '[' -f /mnt/ddev_config/apache/apache-site.conf ']'
+ '[' -n 7.4 ']'
+ update-alternatives --set php /usr/bin/php7.4
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in manual mode
+ ln -sf /usr/sbin/php-fpm7.4 /usr/sbin/php-fpm
+ export PHP_INI=/etc/php/7.4/fpm/php.ini
+ PHP_INI=/etc/php/7.4/fpm/php.ini
+ '[' '!' -z Europe/Berlin ']'
++ find /etc/php -name php.ini
+ perl -pi -e 's%date.timezone *=.*$%date.timezone = Europe/Berlin%g' /etc/php/7.2/apache2/php.ini /etc/php/7.2/cli/php.ini /etc/php/7.2/fpm/php.ini /etc/php/7.2/cgi/php.ini /etc/php/7.1/apache2/php.ini /etc/php/7.1/cli/php.ini /etc/php/7.1/fpm/php.ini /etc/php/7.1/cgi/php.ini /etc/php/7.0/apache2/php.ini /etc/php/7.0/cli/php.ini /etc/php/7.0/fpm/php.ini /etc/php/7.0/cgi/php.ini /etc/php/7.3/apache2/php.ini /etc/php/7.3/cli/php.ini /etc/php/7.3/fpm/php.ini /etc/php/7.3/cgi/php.ini /etc/php/5.6/apache2/php.ini /etc/php/5.6/cli/php.ini /etc/php/5.6/fpm/php.ini /etc/php/5.6/cgi/php.ini /etc/php/7.4/apache2/php.ini /etc/php/7.4/phpdbg/php.ini /etc/php/7.4/cli/php.ini /etc/php/7.4/fpm/php.ini /etc/php/7.4/cgi/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
+ rm -f /etc/apache2/apache-site.conf
+ '[' -f /etc/apache2/ddev_apache-typo3.conf ']'
+ ln -s -f /etc/apache2/apache-site-default.conf /etc/apache2/apache-site.conf
+ envsubst '$WEBSERVER_DOCROOT,$NGINX_DOCROOT'
+ envsubst '$WEBSERVER_DOCROOT'
++ id -un
++ id -gn
+ printf '\nexport APACHE_RUN_USER=spooner\nexport APACHE_RUN_GROUP=spooner\n'
+ a2enmod access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex deflate dir env filter mime mpm_prefork negotiation reqtimeout rewrite setenvif status
Considering dependency authn_core for access_compat:
Module authn_core already enabled
Module access_compat already enabled
Module alias already enabled
Considering dependency authn_core for auth_basic:
Module authn_core already enabled
Module auth_basic already enabled
Module authn_core already enabled
Module authn_file already enabled
Module authz_core already enabled
Considering dependency authz_core for authz_host:
Module authz_core already enabled
Module authz_host already enabled
Considering dependency authz_core for authz_user:
Module authz_core already enabled
Module authz_user already enabled
Module autoindex already enabled
Considering dependency filter for deflate:
Module filter already enabled
Module deflate already enabled
Module dir already enabled
Module env already enabled
Module filter already enabled
Module mime already enabled
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Module negotiation already enabled
Module reqtimeout already enabled
Enabling module rewrite.
Module setenvif already enabled
Module status already enabled
To activate the new configuration, you need to run:
service apache2 restart
+ a2enconf charset localized-error-pages other-vhosts-access-log security serve-cgi-bin
Conf charset already enabled
Conf localized-error-pages already enabled
Conf other-vhosts-access-log already enabled
Conf security already enabled
Conf serve-cgi-bin already enabled
+ '[' nginx-fpm = apache-cgi ']'
+ '[' nginx-fpm = apache-fpm ']'
+ '[' false '!=' true ']'
+ disable_xdebug
Disabled xdebug
+ ls /var/www/html
+ sudo mkdir -p /mnt/ddev-global-cache/terminus/cache
+ sudo cp -r /home/.ssh /home/.ssh-agent /home/.drush /home/.gitconfig /home/.my.cnf /home/spooner/
+ sudo mkdir -p /mnt/ddev-global-cache/bashhistory/typo3.org-web
++ id -u
++ id -g
+ sudo chown -R 501:20 /mnt/ddev-global-cache/ /home/spooner/.ssh /home/spooner/.ssh-agent /home/spooner/.drush /home/spooner/.gitconfig /home/spooner/.my.cnf
+ '[' -d /mnt/ddev_config/homeadditions ']'
+ cp -r /mnt/ddev_config/homeadditions/. /home/spooner/
+ sudo mkdir -p /mnt/ddev-global-cache/mkcert
+ sudo chmod -R ugo+rw /mnt/ddev-global-cache/mkcert
+ mkcert -install
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨
The local CA is now installed in the system trust store! ⚡️
+ sudo CAROOT=/mnt/ddev-global-cache/mkcert mkcert -cert-file /etc/ssl/certs/master.crt -key-file /etc/ssl/certs/master.key typo3.org.ddev.site localhost 127.0.0.1 127.0.0.1 web ddev-typo3.org-web ddev-typo3.org-web.ddev_default
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨
Created a new certificate valid for the following names 📜
- "typo3.org.ddev.site"
- "localhost"
- "127.0.0.1"
- "127.0.0.1"
- "web"
- "ddev-typo3.org-web"
- "ddev-typo3.org-web.ddev_default"
The certificate is at "/etc/ssl/certs/master.crt" and the key at "/etc/ssl/certs/master.key" ✅
+ sudo chown 501 /etc/ssl/certs/master.crt /etc/ssl/certs/master.key
+ echo 'Server started'
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-nginx-fpm.conf
Server started
2020-04-20 17:55:13,572 INFO Included extra file "/etc/supervisor/php-fpm.conf" during parsing
2020-04-20 17:55:13,573 INFO Included extra file "/etc/supervisor/conf.d/mailhog.conf" during parsing
2020-04-20 17:55:13,573 INFO Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing
2020-04-20 17:55:13,583 INFO supervisord started with pid 1
2020-04-20 17:55:14,585 INFO spawned: 'child_exit_monitor' with pid 1704
2020-04-20 17:55:14,587 INFO spawned: 'php-fpm' with pid 1705
2020-04-20 17:55:14,589 INFO spawned: 'nginx' with pid 1706
2020-04-20 17:55:14,591 INFO spawned: 'mailhog' with pid 1707
[20-Apr-2020 17:55:14] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:14] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:14] ERROR: [pool www] failed to chown() the socket '/run/php/php7.4-fpm.sock': Operation not permitted (1)
[20-Apr-2020 17:55:14] ERROR: FPM initialization failed
2020-04-20 17:55:14,802 INFO exited: php-fpm (exit status 78; not expected)
2020/04/20 17:55:14 [crit] 1711#1711: *1 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020-04-20 17:55:15,922 INFO success: child_exit_monitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-04-20 17:55:15,924 INFO spawned: 'php-fpm' with pid 1723
2020-04-20 17:55:15,924 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-04-20 17:55:15,924 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[20-Apr-2020 17:55:16] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:16] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:16] ERROR: [pool www] failed to chown() the socket '/run/php/php7.4-fpm.sock': Operation not permitted (1)
[20-Apr-2020 17:55:16] ERROR: FPM initialization failed
2020-04-20 17:55:16,056 INFO exited: php-fpm (exit status 78; not expected)
2020/04/20 17:55:16 [crit] 1711#1711: *3 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020/04/20 17:55:17 [crit] 1711#1711: *5 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020-04-20 17:55:18,398 INFO spawned: 'php-fpm' with pid 1746
[20-Apr-2020 17:55:18] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:18] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:18] ERROR: [pool www] failed to chown() the socket '/run/php/php7.4-fpm.sock': Operation not permitted (1)
[20-Apr-2020 17:55:18] ERROR: FPM initialization failed
2020-04-20 17:55:18,516 INFO exited: php-fpm (exit status 78; not expected)
2020/04/20 17:55:18 [crit] 1711#1711: *7 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020/04/20 17:55:19 [crit] 1711#1711: *9 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020/04/20 17:55:21 [crit] 1711#1711: *11 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020-04-20 17:55:22,077 INFO spawned: 'php-fpm' with pid 1780
[20-Apr-2020 17:55:22] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:22] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[20-Apr-2020 17:55:22] ERROR: [pool www] failed to chown() the socket '/run/php/php7.4-fpm.sock': Operation not permitted (1)
[20-Apr-2020 17:55:22] ERROR: FPM initialization failed
2020-04-20 17:55:22,241 INFO exited: php-fpm (exit status 78; not expected)
2020/04/20 17:55:22 [crit] 1711#1711: *13 connect() to unix:/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /phpstatus HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "127.0.0.1"
2020-04-20 17:55:22,248 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly
2020-04-20 17:55:23,249 WARN child_exit_monitor: bad result line: 'This line kills supervisor: ver:3.0 server:supervisor serial:0 pool:child_exit_monitor poolserial:0 eventname:PROCESS_STATE_FATAL len:56'
2020-04-20 17:55:23,249 WARN child_exit_monitor: has entered the UNKNOWN state and will no longer receive events, this usually indicates the process violated the eventlistener protocol
2020-04-20 17:55:23,250 WARN received SIGQUIT indicating exit request
2020-04-20 17:55:23,251 INFO waiting for nginx, child_exit_monitor, mailhog to die
2020-04-20 17:55:23,251 INFO stopped: mailhog (terminated by SIGTERM)
2020-04-20 17:55:23,263 INFO stopped: nginx (exit status 0)
2020-04-20 17:55:24,265 INFO stopped: child_exit_monitor (terminated by SIGTERM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment