Skip to content

Instantly share code, notes, and snippets.

@fsuter
Created May 9, 2024 17:13
Show Gist options
  • Save fsuter/4481cf594215bd57ef5fdefbf7a93970 to your computer and use it in GitHub Desktop.
Save fsuter/4481cf594215bd57ef5fdefbf7a93970 to your computer and use it in GitHub Desktop.
DDEV debug output
======== Output file will be in /var/folders/bs/6mh2f17x4pg1q2fcln_xzv_c0000gn/T/ddev-debug-test.txt ========
======== Existing project config ========
ddev installation alternate locations:
/opt/homebrew/bin/ddev
/usr/local/bin/ddev
These config files were loaded for project chuven: [/Users/fsuter/Sites/lausanneuniversityhospital/.ddev/config.yaml]
name: chuven
type: typo3
docroot: public
php_version: 8.0
webserver_type: apache-fpm
webimage: ddev/ddev-webserver:v1.23.0-1
router_http_port: 80
router_https_port: 443
additional_hostnames: [chuven]
additional_fqdns: []
mariadb_version: 10.2
database: {mariadb 10.2}
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 20
default_container_timeout: 120
======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /Users/fsuter/Sites/lausanneuniversityhospital
#ddev-generated
unmodified #ddev-generated found in .ddev/mutagen/mutagen.yml
======== Creating dummy project named tryddevproject-19862 in ../tryddevproject-19862 ========
Creating a new DDEV project config in the current directory (/Users/fsuter/Sites/tryddevproject-19862)
Once completed, your configuration will be written to /Users/fsuter/Sites/tryddevproject-19862/.ddev/config.yaml
Configuring a 'php' project with docroot 'web' at /Users/fsuter/Sites/tryddevproject-19862/web
Configuration complete. You may now run 'ddev start'.
======== OS Information ========
Darwin Cherry-Blossom.fritz.box 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
ProductName: macOS
ProductVersion: 14.4.1
BuildVersion: 23E224
======== User information ========
uid=501(fsuter) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),70(_www),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae)
======== ddev version ========
ITEM VALUE
DDEV version v1.23.0
architecture arm64
cgo_enabled 0
db ddev/ddev-dbserver-mariadb-10.11:v1.23.0
ddev-ssh-agent ddev/ddev-ssh-agent:v1.23.0
docker 26.0.0
docker-api 1.45
docker-compose v2.26.1
docker-platform docker-desktop
mutagen 0.17.2
os darwin
router ddev/ddev-traefik-router:v1.23.0
web ddev/ddev-webserver:v1.23.0-1
======== proxy settings ========
HTTP_PROXY=''
HTTPS_PROXY=''
http_proxy=''
NO_PROXY=''
======== DDEV global info ========
developer-mode=false
disable-http2=false
fail-on-hook-fail=false
instrumentation-opt-in=true
instrumentation-queue-size=0
instrumentation-reporting-interval=0s
instrumentation-user=
internet-detection-timeout-ms=3000
last-started-version=v1.23.0
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=/Users/fsuter/Library/Application Support/mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=mutagen
project-tld=ddev.site
required-docker-compose-version=v2.26.1
router=traefik
router-bind-all-interfaces=false
router-http-port=80
router-https-port=443
simple-formatting=false
table-style=bright
traefik-monitor-port=10999
use-docker-compose-from-path=false
use-hardened-images=false
use-letsencrypt=false
wsl2-no-windows-hosts-mgt=false
xdebug-ide-location=
======== DOCKER provider info ========
docker client location: /usr/local/bin/docker
docker client alternate locations:
/usr/local/bin/docker
Docker provider: docker-desktop
Docker Desktop Version: Docker Desktop for Mac 4.29.0 build 145265
docker version:
Client:
Cloud integration: v1.0.35+desktop.13
Version: 26.0.0
API version: 1.45
Go version: go1.21.8
Git commit: 2ae903e
Built: Wed Mar 20 15:14:46 2024
OS/Arch: darwin/arm64
Context: default
Server: Docker Desktop 4.29.0 (145265)
Engine:
Version: 26.0.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.8
Git commit: 8b79278
Built: Wed Mar 20 15:18:02 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.28
GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
Docker platform: docker-desktop
Using Docker context: default (unix:///Users/fsuter/.docker/run/docker.sock)
docker-compose: v2.26.1
Using DOCKER_HOST=unix:///Users/fsuter/.docker/run/docker.sock
Docker version: 26.0.0
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:Filesystem Size Used Available Use% Mounted on
overlay 58.4G 45.2G 10.2G 82% /
======== Existing docker containers ========
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
51e6ad3ef87c phpstorm_helpers:PS-233.15026.12 "/bin/sh" 3 weeks ago Created phpstorm_helpers_PS-233.15026.12
======== mkcert information ========
/opt/homebrew/bin/mkcert
/usr/local/bin/mkcert
/Users/fsuter/Library/Application Support/mkcert
total 16
-r-------- 1 fsuter staff 2484 Jan 6 2020 rootCA-key.pem
-rw-r--r-- 1 fsuter staff 1801 Jan 6 2020 rootCA.pem
======== ping attempt on ddev.site ========
ping: cannot resolve dkdkd.ddev.site: Unknown host
======== Project startup ========
Internet connection not detected, DNS may not work, see https://ddev.readthedocs.io/en/stable/users/usage/faq/ for info.
Network ddev_default created
2024-05-09T19:10:08.298 No internet connection.
Starting tryddevproject-19862...
2024-05-09T19:10:08.319 Pulled image for ddev/ddev-webserver:v1.23.0-1
2024-05-09T19:10:08.319 Pulled image for busybox:stable
2024-05-09T19:10:08.32 Pulled image for ddev/ddev-ssh-agent:v1.23.0
2024-05-09T19:10:08.321 Pulled image for ddev/ddev-traefik-router:v1.23.0
2024-05-09T19:10:08.584 GetDockerContext: contextInfo='default unix:///Users/fsuter/.docker/run/docker.sock'
2024-05-09T19:10:08.584 Using Docker context default (unix:///Users/fsuter/.docker/run/docker.sock)
2024-05-09T19:10:08.585 Mutagen sync session, configuration, and Docker volume are in incompatible status: 'Calculated mutagen.yml hash does not equal session label', Removing Mutagen sync session 'tryddevproject-19862' and Docker volume tryddevproject-19862_project_mutagen
2024-05-09T19:10:08.647 GetDockerContext: contextInfo='default unix:///Users/fsuter/.docker/run/docker.sock'
2024-05-09T19:10:08.647 Using Docker context default (unix:///Users/fsuter/.docker/run/docker.sock)
2024-05-09T19:10:09.328 chowning /mnt/ddev-global-cache and /var/lib/mysql to 501
2024-05-09T19:10:09.594 done chowning /mnt/ddev-global-cache and /var/lib/mysql to 501
Container ddev-ssh-agent Created
Container ddev-ssh-agent Started
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys.
2024-05-09T19:10:11.448 host.docker.internal='' because no other case was discovered
v1.23.0: Pulling from ddev/ddev-dbserver-mariadb-10.11
f4bb4e8dca02: Pulling fs layer
a936dfd11bce: Pulling fs layer
58b160c94476: Pulling fs layer
2852b259badd: Pulling fs layer
58b6ddbb08c3: Pulling fs layer
0f02d97f2d89: Pulling fs layer
994fef625868: Pulling fs layer
fce07317f70b: Pulling fs layer
4f4fb700ef54: Pulling fs layer
f1a25e0cc1fd: Pulling fs layer
a9ee1b871472: Pulling fs layer
2852b259badd: Waiting
aa928ad5fde3: Pulling fs layer
58b6ddbb08c3: Waiting
0f02d97f2d89: Waiting
da5eaca6943e: Pulling fs layer
0a97e5ce4743: Pulling fs layer
994fef625868: Waiting
fce07317f70b: Waiting
57d973e78a73: Pulling fs layer
4f4fb700ef54: Waiting
d51c1e042342: Pulling fs layer
a7de64eac3ab: Pulling fs layer
f1a25e0cc1fd: Waiting
2c3cedab13cc: Pulling fs layer
a9ee1b871472: Waiting
d39e383eb71b: Pulling fs layer
6682c689d7c1: Pulling fs layer
aa928ad5fde3: Waiting
cf64f04657c5: Pulling fs layer
6a3e4c757251: Pulling fs layer
0599ccc09145: Pulling fs layer
caefbeac4cf6: Pulling fs layer
da5eaca6943e: Waiting
0a97e5ce4743: Waiting
57d973e78a73: Waiting
d51c1e042342: Waiting
a7de64eac3ab: Waiting
2c3cedab13cc: Waiting
d39e383eb71b: Waiting
6682c689d7c1: Waiting
cf64f04657c5: Waiting
6a3e4c757251: Waiting
0599ccc09145: Waiting
caefbeac4cf6: Waiting
a936dfd11bce: Verifying Checksum
a936dfd11bce: Download complete
2852b259badd: Verifying Checksum
2852b259badd: Download complete
58b160c94476: Download complete
58b6ddbb08c3: Verifying Checksum
58b6ddbb08c3: Download complete
994fef625868: Verifying Checksum
994fef625868: Download complete
fce07317f70b: Verifying Checksum
fce07317f70b: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f4bb4e8dca02: Verifying Checksum
f4bb4e8dca02: Download complete
f1a25e0cc1fd: Download complete
aa928ad5fde3: Verifying Checksum
aa928ad5fde3: Download complete
f4bb4e8dca02: Pull complete
a936dfd11bce: Pull complete
58b160c94476: Pull complete
2852b259badd: Pull complete
58b6ddbb08c3: Pull complete
da5eaca6943e: Verifying Checksum
da5eaca6943e: Download complete
0a97e5ce4743: Verifying Checksum
0a97e5ce4743: Download complete
57d973e78a73: Verifying Checksum
57d973e78a73: Download complete
d51c1e042342: Verifying Checksum
d51c1e042342: Download complete
a9ee1b871472: Verifying Checksum
a9ee1b871472: Download complete
2c3cedab13cc: Verifying Checksum
2c3cedab13cc: Download complete
0f02d97f2d89: Verifying Checksum
0f02d97f2d89: Download complete
d39e383eb71b: Download complete
6682c689d7c1: Verifying Checksum
6682c689d7c1: Download complete
a7de64eac3ab: Download complete
cf64f04657c5: Verifying Checksum
cf64f04657c5: Download complete
0f02d97f2d89: Pull complete
994fef625868: Pull complete
fce07317f70b: Pull complete
4f4fb700ef54: Pull complete
6a3e4c757251: Verifying Checksum
6a3e4c757251: Download complete
0599ccc09145: Verifying Checksum
0599ccc09145: Download complete
f1a25e0cc1fd: Pull complete
caefbeac4cf6: Verifying Checksum
caefbeac4cf6: Download complete
a9ee1b871472: Pull complete
aa928ad5fde3: Pull complete
da5eaca6943e: Pull complete
0a97e5ce4743: Pull complete
57d973e78a73: Pull complete
d51c1e042342: Pull complete
a7de64eac3ab: Pull complete
2c3cedab13cc: Pull complete
d39e383eb71b: Pull complete
6682c689d7c1: Pull complete
cf64f04657c5: Pull complete
6a3e4c757251: Pull complete
0599ccc09145: Pull complete
caefbeac4cf6: Pull complete
Digest: sha256:8616a3e0ad0554aa26c838819a8cf3e72ae600071c2e9e76e0fd6e32a8c97627
Status: Downloaded newer image for ddev/ddev-dbserver-mariadb-10.11:v1.23.0
docker.io/ddev/ddev-dbserver-mariadb-10.11:v1.23.0
2024-05-09T19:10:36.421 Pulled image for ddev/ddev-dbserver-mariadb-10.11:v1.23.0
2024-05-09T19:10:36.422 Pulled image for ddev/ddev-webserver:v1.23.0-1
2024-05-09T19:10:36.423 Pulled image for ddev/ddev-ssh-agent:v1.23.0
2024-05-09T19:10:36.424 Pulled image for ddev/ddev-traefik-router:v1.23.0
The hostname tryddevproject-19862.ddev.site is not currently resolvable, trying to add it to the hosts file
DDEV needs to run with administrative privileges.
This is normally to add unresolvable hostnames to the hosts file.
You may be required to enter your password for sudo or allow escalation.
DDEV is about to issue the command:
sudo --preserve-env=HOME /opt/homebrew/bin/ddev hostname tryddevproject-19862.ddev.site 127.0.0.1
Building project images...
2024-05-09T19:10:44.661 Executing docker-compose -f /Users/fsuter/Sites/tryddevproject-19862/.ddev/.ddev-docker-compose-full.yaml build --progress=plain
.Project images built in 1s.
2024-05-09T19:10:45.663 Executing docker-compose -f /Users/fsuter/Sites/tryddevproject-19862/.ddev/.ddev-docker-compose-full.yaml up -d
Network ddev-tryddevproject-19862_default Created
Container ddev-tryddevproject-19862-db Created
Container ddev-tryddevproject-19862-web Created
Container ddev-tryddevproject-19862-db Started
Container ddev-tryddevproject-19862-web Started
2024-05-09T19:10:46.105 Copied /Users/fsuter/Library/Application Support/mkcert:CopyIntoVolume_bgigzjahytff into /mnt/v/mkcert in 40.733667ms
2024-05-09T19:10:46.13 Exec chown -R 501 /mnt/v/mkcert stdout=, stderr=, err=<nil>
2024-05-09T19:10:46.25 Pushed mkcert rootca certs to ddev-global-cache/mkcert
2024-05-09T19:10:46.25 VIRTUAL_HOST=tryddevproject-19862.ddev.site for web
2024-05-09T19:10:46.25 HTTP_EXPOSE=80:80,8025:8025 for web
2024-05-09T19:10:46.25 HTTPS_EXPOSE=443:80,8026:8025 for web
2024-05-09T19:10:46.505 Copied /Users/fsuter/Sites/tryddevproject-19862/.ddev/traefik:CopyIntoVolume_zcqgxuozpghq into /mnt/v/traefik in 30.355ms
2024-05-09T19:10:46.535 Exec chown -R 501 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-09T19:10:46.622 Copied Traefik certs in /Users/fsuter/Sites/tryddevproject-19862/.ddev/traefik/certs to ddev-global-cache/traefik
Starting Mutagen sync process...
2024-05-09T19:10:46.694 Using Mutagen config file /Users/fsuter/Sites/tryddevproject-19862/.ddev/mutagen/mutagen.yml
2024-05-09T19:10:46.717 Creating Mutagen sync: mutagen [sync create /Users/fsuter/Sites/tryddevproject-19862 docker://ddev-tryddevproject-19862-web/var/www/html --no-global-configuration --name tryddevproject-19862 --label com.ddev.volume-signature=Users-fsuter-docker-run-1715274608 --label com.ddev.config-hash=424dfd35cd346c5f809224bbc084f6ae2566848d --configuration-file=/Users/fsuter/Sites/tryddevproject-19862/.ddev/mutagen/mutagen.yml]
.2024-05-09T19:10:49.443 Mutagen status after sync: ok
Mutagen sync flush completed in 3s.
For details on sync status 'ddev mutagen st tryddevproject-19862 -l'
2024-05-09T19:10:49.443 Running /start.sh in ddev-webserver
Waiting for web/db containers to become ready: [web db]
2024-05-09T19:10:57.103 Copied /Users/fsuter/.ddev/commands:CopyIntoVolume_xszscwgtuegi into /mnt/v/global-commands in 47.027458ms
2024-05-09T19:10:57.131 Exec chown -R 501 /mnt/v/global-commands stdout=, stderr=, err=<nil>
2024-05-09T19:10:57.368 Testing to see if /mnt/ddev_config is properly mounted
Starting ddev-router if necessary...
2024-05-09T19:10:57.815 Copied /Users/fsuter/.ddev/traefik:CopyIntoVolume_xfksgvnjajpx into /mnt/v/traefik in 40.998542ms
2024-05-09T19:10:57.843 Exec chown -R 501 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-09T19:10:58.015 Copied global Traefik config in /Users/fsuter/.ddev/traefik/certs to ddev-global-cache/traefik
Container ddev-router Created
Container ddev-router Started
2024-05-09T19:10:58.235 Waiting for ddev-router to become ready. docker inspect --format "{{json .State.Health }}" ddev-router
2024-05-09T19:10:59.739 ddev-router is ready
Waiting for additional project containers to become ready...
All project containers are now ready.
Successfully started tryddevproject-19862
Project can be reached at https://tryddevproject-19862.ddev.site https://127.0.0.1:60002
======== Curl of site from inside container ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 200 OK
Server: nginx
Date: Thu, 09 May 2024 17:11:01 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
======== curl -I of http://tryddevproject-19862.ddev.site from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Thu, 09 May 2024 17:11:01 GMT
Server: nginx
Vary: Accept-Encoding
======== Full curl of http://tryddevproject-19862.ddev.site from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 286 0 286 0 0 83969 0 --:--:-- --:--:-- --:--:-- 95333
Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>/var/folders/bs/6mh2f17x4pg1q2fcln_xzv_c0000gn/T/ddev-debug-test.txt</b><br />
file:///var/folders/bs/6mh2f17x4pg1q2fcln_xzv_c0000gn/T/ddev-debug-test.txt<br />
======== Full curl of https://tryddevproject-19862.ddev.site from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 286 0 286 0 0 3336 0 --:--:-- --:--:-- --:--:-- 3364
Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>/var/folders/bs/6mh2f17x4pg1q2fcln_xzv_c0000gn/T/ddev-debug-test.txt</b><br />
file:///var/folders/bs/6mh2f17x4pg1q2fcln_xzv_c0000gn/T/ddev-debug-test.txt<br />
======== Project ownership on host ========
drwxr-xr-x 4 fsuter staff 128 May 9 19:10 ../tryddevproject-19862
======== Project ownership in container ========
drwxr-xr-x 4 fsuter dialout 4096 May 9 17:10 //var/www/html
======== In-container filesystem ========
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/vda1 ext4 61202244 49767504 8293416 86% /var/www
======== Thanks for running the diagnostic! ========
Running ddev launch in 3 seconds
Running ddev launch
Waiting 10 seconds to run ddev stop --unlist
running ddev stop --unlist
Container ddev-tryddevproject-19862-db Stopped
Container ddev-tryddevproject-19862-web Stopped
Container ddev-tryddevproject-19862-db Stopped
Container ddev-tryddevproject-19862-web Stopped
Container ddev-tryddevproject-19862-db Removed
Container ddev-tryddevproject-19862-web Removed
Network ddev-tryddevproject-19862_default Removed
Project tryddevproject-19862 has been stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment