Created
August 17, 2022 16:43
-
-
Save shayanabbas/5825a3747894af631410e956cfc82446 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myuser@Myuser-MacBook-Pro-Work mydummyproject % ddev logs | |
+ set -o errexit nounset pipefail | |
+ rm -f /tmp/healthy | |
+ DDEV_PHP_VERSION=7.4 | |
+ DDEV_WEBSERVER_TYPE=apache-fpm | |
+ '[' -n 7.4 ']' | |
+ update-alternatives --set php /usr/bin/php7.4 | |
+ 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 ']' | |
+ '[' -d /mnt/ddev_config/php ']' | |
+ '[' -d /mnt/ddev_config/nginx_full ']' | |
+ rm -rf /etc/nginx/sites-enabled | |
+ cp -r /mnt/ddev_config/nginx_full /etc/nginx/sites-enabled/ | |
+ '[' -d /mnt/ddev_config/apache ']' | |
+ rm -rf /etc/apache2/sites-enabled | |
+ cp -r /mnt/ddev_config/apache /etc/apache2/sites-enabled | |
+ '[' wordpress = backdrop ']' | |
+ '[' wordpress = drupal6 ']' | |
+ '[' wordpress = drupal7 ']' | |
+ '[' wordpress = backdrop ']' | |
++ id -un | |
++ id -gn | |
+ printf '\nexport APACHE_RUN_USER=myuser\nexport APACHE_RUN_GROUP=dialout\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: | |
Enabling module mpm_prefork. | |
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 | |
+ '[' apache-fpm = apache-fpm ']' | |
+ a2enmod proxy_fcgi | |
Considering dependency proxy for proxy_fcgi: | |
Enabling module proxy. | |
Enabling module proxy_fcgi. | |
To activate the new configuration, you need to run: | |
service apache2 restart | |
+ a2enconf php7.4-fpm | |
Enabling conf php7.4-fpm. | |
+ a2dissite 000-default | |
To activate the new configuration, you need to run: | |
service apache2 reload | |
Site 000-default already disabled | |
+ '[' false = true ']' | |
+ disable_xdebug | |
Disabled xdebug | |
+ phpenmod assert | |
+ ls /var/www/html | |
+ sudo mkdir -p /mnt/ddev-global-cache/terminus/cache | |
+ sudo mkdir -p /mnt/ddev-global-cache/bashhistory/mydummyproject-web /mnt/ddev-global-cache/mysqlhistory/mydummyproject-web /mnt/ddev-global-cache/nvm_dir/mydummyproject-web /mnt/ddev-global-cache/npm/mydummyproject-web /mnt/ddev-global-cache/yarn/mydummyproject-web | |
++ id -u | |
++ id -g | |
+ sudo chown -R 501:20 /mnt/ddev-global-cache/ /var/lib/php | |
+ yarn config set cache-folder /mnt/ddev-global-cache/yarn/mydummyproject-web | |
yarn config v1.22.19 | |
success Set "cache-folder" to "/mnt/ddev-global-cache/yarn/mydummyproject-web". | |
Done in 0.32s. | |
+ npm config set cache /mnt/ddev-global-cache/npm/mydummyproject-web | |
+ ln -sf /mnt/ddev-global-cache/nvm_dir/mydummyproject-web /home/myuser/.nvm | |
+ '[' '!' -f /home/myuser/.nvm/nvm.sh ']' | |
+ '[' -d /mnt/ddev_config/.homeadditions ']' | |
+ cp -r /mnt/ddev_config/.homeadditions/. /home/myuser/ | |
+ sudo mkdir -p /mnt/ddev-global-cache/mkcert | |
++ id -u | |
++ id -g | |
+ sudo chown -R 501:20 /mnt/ddev-global-cache/ | |
+ '[' '!' -f /mnt/ddev-global-cache/mkcert/rootCA.pem ']' | |
+ mkcert -install | |
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨ | |
The local CA is now installed in the system trust store! ⚡️ | |
+ CAROOT=/mnt/ddev-global-cache/mkcert | |
+ mkcert -cert-file /etc/ssl/certs/master.crt -key-file /etc/ssl/certs/master.key mydummyproject.ddev.site localhost 127.0.0.1 127.0.0.1 web ddev-mydummyproject-web ddev-mydummyproject-web.ddev | |
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨ | |
Created a new certificate valid for the following names 📜 | |
- "mydummyproject.ddev.site" | |
- "localhost" | |
- "127.0.0.1" | |
- "127.0.0.1" | |
- "web" | |
- "ddev-mydummyproject-web" | |
- "ddev-mydummyproject-web.ddev" | |
The certificate is at "/etc/ssl/certs/master.crt" and the key at "/etc/ssl/certs/master.key" ✅ | |
Server started | |
+ echo 'Server started' | |
+ unset PHP_IDE_CONFIG | |
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-apache-fpm.conf | |
2022-08-17 16:35:42,198 INFO Included extra file "/etc/supervisor/apache.conf" during parsing | |
2022-08-17 16:35:42,199 INFO Included extra file "/etc/supervisor/php-fpm.conf" during parsing | |
2022-08-17 16:35:42,202 INFO Included extra file "/etc/supervisor/conf.d/mailhog.conf" during parsing | |
2022-08-17 16:35:42,202 INFO Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing | |
2022-08-17 16:35:42,271 INFO RPC interface 'supervisor' initialized | |
2022-08-17 16:35:42,272 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2022-08-17 16:35:42,273 INFO supervisord started with pid 1 | |
2022-08-17 16:35:43,306 INFO spawned: 'child_exit_monitor' with pid 2525 | |
2022-08-17 16:35:43,387 INFO spawned: 'php-fpm' with pid 2527 | |
2022-08-17 16:35:43,433 INFO spawned: 'apache2' with pid 2529 | |
2022-08-17 16:35:43,455 INFO spawned: 'mailhog' with pid 2530 | |
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message | |
[Wed Aug 17 16:35:43.880945 2022] [ssl:warn] [pid 2538] AH01909: 172.22.0.4:443:0 server certificate does NOT include an ID which matches the server name | |
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message | |
[Wed Aug 17 16:35:43.898065 2022] [ssl:warn] [pid 2538] AH01909: 172.22.0.4:443:0 server certificate does NOT include an ID which matches the server name | |
[Wed Aug 17 16:35:43.903610 2022] [mpm_prefork:notice] [pid 2538] AH00163: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations | |
[Wed Aug 17 16:35:43.906287 2022] [core:notice] [pid 2538] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' | |
[17-Aug-2022 16:35:44] NOTICE: fpm is running, pid 2527 | |
2022-08-17 16:35:44,554 INFO success: child_exit_monitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,555 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,556 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,556 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
[17-Aug-2022 16:35:44] NOTICE: ready to handle connections | |
[17-Aug-2022 16:35:44] NOTICE: systemd monitor interval set to 10000ms | |
myuser@Shayans-MacBook-Pro-Work mydummyproject % clear | |
myuser@Shayans-MacBook-Pro-Work mydummyproject % ddev logs | |
+ set -o errexit nounset pipefail | |
+ rm -f /tmp/healthy | |
+ DDEV_PHP_VERSION=7.4 | |
+ DDEV_WEBSERVER_TYPE=apache-fpm | |
+ '[' -n 7.4 ']' | |
+ update-alternatives --set php /usr/bin/php7.4 | |
+ 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 ']' | |
+ '[' -d /mnt/ddev_config/php ']' | |
+ '[' -d /mnt/ddev_config/nginx_full ']' | |
+ rm -rf /etc/nginx/sites-enabled | |
+ cp -r /mnt/ddev_config/nginx_full /etc/nginx/sites-enabled/ | |
+ '[' -d /mnt/ddev_config/apache ']' | |
+ rm -rf /etc/apache2/sites-enabled | |
+ cp -r /mnt/ddev_config/apache /etc/apache2/sites-enabled | |
+ '[' wordpress = backdrop ']' | |
+ '[' wordpress = drupal6 ']' | |
+ '[' wordpress = drupal7 ']' | |
+ '[' wordpress = backdrop ']' | |
++ id -un | |
++ id -gn | |
+ printf '\nexport APACHE_RUN_USER=myuser\nexport APACHE_RUN_GROUP=dialout\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: | |
Enabling module mpm_prefork. | |
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 | |
+ '[' apache-fpm = apache-fpm ']' | |
+ a2enmod proxy_fcgi | |
Considering dependency proxy for proxy_fcgi: | |
Enabling module proxy. | |
Enabling module proxy_fcgi. | |
To activate the new configuration, you need to run: | |
service apache2 restart | |
+ a2enconf php7.4-fpm | |
Enabling conf php7.4-fpm. | |
+ a2dissite 000-default | |
To activate the new configuration, you need to run: | |
service apache2 reload | |
Site 000-default already disabled | |
+ '[' false = true ']' | |
+ disable_xdebug | |
Disabled xdebug | |
+ phpenmod assert | |
+ ls /var/www/html | |
+ sudo mkdir -p /mnt/ddev-global-cache/terminus/cache | |
+ sudo mkdir -p /mnt/ddev-global-cache/bashhistory/mydummyproject-web /mnt/ddev-global-cache/mysqlhistory/mydummyproject-web /mnt/ddev-global-cache/nvm_dir/mydummyproject-web /mnt/ddev-global-cache/npm/mydummyproject-web /mnt/ddev-global-cache/yarn/mydummyproject-web | |
++ id -u | |
++ id -g | |
+ sudo chown -R 501:20 /mnt/ddev-global-cache/ /var/lib/php | |
+ yarn config set cache-folder /mnt/ddev-global-cache/yarn/mydummyproject-web | |
yarn config v1.22.19 | |
success Set "cache-folder" to "/mnt/ddev-global-cache/yarn/mydummyproject-web". | |
Done in 0.32s. | |
+ npm config set cache /mnt/ddev-global-cache/npm/mydummyproject-web | |
+ ln -sf /mnt/ddev-global-cache/nvm_dir/mydummyproject-web /home/myuser/.nvm | |
+ '[' '!' -f /home/myuser/.nvm/nvm.sh ']' | |
+ '[' -d /mnt/ddev_config/.homeadditions ']' | |
+ cp -r /mnt/ddev_config/.homeadditions/. /home/myuser/ | |
+ sudo mkdir -p /mnt/ddev-global-cache/mkcert | |
++ id -u | |
++ id -g | |
+ sudo chown -R 501:20 /mnt/ddev-global-cache/ | |
+ '[' '!' -f /mnt/ddev-global-cache/mkcert/rootCA.pem ']' | |
+ mkcert -install | |
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨ | |
The local CA is now installed in the system trust store! ⚡️ | |
+ CAROOT=/mnt/ddev-global-cache/mkcert | |
+ mkcert -cert-file /etc/ssl/certs/master.crt -key-file /etc/ssl/certs/master.key mydummyproject.ddev.site localhost 127.0.0.1 127.0.0.1 web ddev-mydummyproject-web ddev-mydummyproject-web.ddev | |
Using the local CA at "/mnt/ddev-global-cache/mkcert" ✨ | |
Created a new certificate valid for the following names 📜 | |
- "mydummyproject.ddev.site" | |
- "localhost" | |
- "127.0.0.1" | |
- "127.0.0.1" | |
- "web" | |
- "ddev-mydummyproject-web" | |
- "ddev-mydummyproject-web.ddev" | |
The certificate is at "/etc/ssl/certs/master.crt" and the key at "/etc/ssl/certs/master.key" ✅ | |
Server started | |
+ echo 'Server started' | |
+ unset PHP_IDE_CONFIG | |
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-apache-fpm.conf | |
2022-08-17 16:35:42,198 INFO Included extra file "/etc/supervisor/apache.conf" during parsing | |
2022-08-17 16:35:42,199 INFO Included extra file "/etc/supervisor/php-fpm.conf" during parsing | |
2022-08-17 16:35:42,202 INFO Included extra file "/etc/supervisor/conf.d/mailhog.conf" during parsing | |
2022-08-17 16:35:42,202 INFO Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing | |
2022-08-17 16:35:42,271 INFO RPC interface 'supervisor' initialized | |
2022-08-17 16:35:42,272 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2022-08-17 16:35:42,273 INFO supervisord started with pid 1 | |
2022-08-17 16:35:43,306 INFO spawned: 'child_exit_monitor' with pid 2525 | |
2022-08-17 16:35:43,387 INFO spawned: 'php-fpm' with pid 2527 | |
2022-08-17 16:35:43,433 INFO spawned: 'apache2' with pid 2529 | |
2022-08-17 16:35:43,455 INFO spawned: 'mailhog' with pid 2530 | |
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message | |
[Wed Aug 17 16:35:43.880945 2022] [ssl:warn] [pid 2538] AH01909: 172.22.0.4:443:0 server certificate does NOT include an ID which matches the server name | |
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message | |
[Wed Aug 17 16:35:43.898065 2022] [ssl:warn] [pid 2538] AH01909: 172.22.0.4:443:0 server certificate does NOT include an ID which matches the server name | |
[Wed Aug 17 16:35:43.903610 2022] [mpm_prefork:notice] [pid 2538] AH00163: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations | |
[Wed Aug 17 16:35:43.906287 2022] [core:notice] [pid 2538] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' | |
[17-Aug-2022 16:35:44] NOTICE: fpm is running, pid 2527 | |
2022-08-17 16:35:44,554 INFO success: child_exit_monitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,555 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,556 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2022-08-17 16:35:44,556 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
[17-Aug-2022 16:35:44] NOTICE: ready to handle connections | |
[17-Aug-2022 16:35:44] NOTICE: systemd monitor interval set to 10000ms | |
[Wed Aug 17 16:41:02.386108 2022] [proxy_fcgi:error] [pid 2544] (70007)The timeout specified has expired: [client 172.21.0.6:58022] AH01075: Error dispatching request to : (polling) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment