Skip to content

Instantly share code, notes, and snippets.

@gregmercer
Created October 23, 2023 20:04
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 gregmercer/6ab59ec11d42572eef39c71250ca0056 to your computer and use it in GitHub Desktop.
Save gregmercer/6ab59ec11d42572eef39c71250ca0056 to your computer and use it in GitHub Desktop.
ddev debug test
╰─$ ddev debug test 1 ↵
Running bash [-c /var/folders/td/m2shfpr11t53mr_bsyrrlpdw0000gq/T/test_ddev.sh]
======= Existing project config =========
These config files were loaded for project gsb-d9-1: [/Users/gmercer/Desktop/ddev/locals/gsb-d9-1/public-website/.ddev/config.yaml]
name: gsb-d9-1
type: drupal9
docroot: web
php_version: 8.0
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.22.3
router_http_port: 80
router_https_port: 443
additional_hostnames: []
additional_fqdns: []
mariadb_version: 10.4
database: {mariadb 10.4}
webimage_extra_packages: [zsh python2 python3]
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 18
default_container_timeout: 120
======= Creating dummy project named tryddevproject-5866 in ../tryddevproject-5866 =========
OS Information: Darwin GSB-VK4NXGL4H5 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64
ProductName: macOS
ProductVersion: 13.5
BuildVersion: 22G74
User information: uid=503(gmercer) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),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),702(com.apple.sharepoint.group.2),701(com.apple.sharepoint.group.1)
DDEV version: ITEM VALUE
DDEV version v1.22.3
architecture arm64
db ddev/ddev-dbserver-mariadb-10.4:v1.22.3
ddev-ssh-agent ddev/ddev-ssh-agent:v1.22.3
docker 20.10.11
docker-compose v2.21.0
docker-platform colima
mutagen 0.17.2
os darwin
router ddev/ddev-traefik-router:v1.22.3
web ddev/ddev-webserver:v1.22.3
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
performance-mode=mutagen
router-bind-all-interfaces=false
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
auto-restart-containers=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=v2.21.0
use-docker-compose-from-path=false
project-tld=
xdebug-ide-location=
no-bind-mounts=false
router=traefik
wsl2-no-windows-hosts-mgt=false
router-http-port=80
router-https-port=443
mailpit-http-port=8025
mailpit-https-port=8026
traefik-monitor-port=10999
======= DOCKER info =========
docker location: lrwxr-xr-x 1 gmercer admin 36 Aug 5 2022 /opt/homebrew/bin/docker -> ../Cellar/docker/20.10.17/bin/docker
Docker Desktop Version: Print: Entry, ":CFBundleShortVersionString", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist
Docker Desktop for Mac File build Doesn'tDocker Desktop for Mac Exist, build WillDocker Desktop for Mac Create: build /Applications/Docker.app/Contents/Info.plistDocker Desktop for Mac File build Doesn'tDocker Desktop for Mac Exist, build WillDocker Desktop for Mac Create: build /Applications/Docker.app/Contents/Info.plist
docker version:
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.18.3
Git commit: 100c70180f
Built: Mon Jun 6 21:36:39 2022
OS/Arch: darwin/arm64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.11
API version: 1.41 (minimum version 1.12)
Go version: go1.16.4
Git commit: 847da184ad5048b27f5bdf9d53d070f731b43180
Built: Wed Apr 13 23:41:08 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.5.8
GitCommit: 1e5ef943eb76627a6d3b6de8cd1ef6537f393a71
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit:
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.17.2
--------------------------------------------------------------------------------
No synchronization sessions found
--------------------------------------------------------------------------------
======= Docker Info =========
Docker platform: colima
Colima version: 0.5.5
Using Docker context: default (unix:///Users/gmercer/.colima/default/docker.sock)
docker-compose: v2.21.0
Using DOCKER_HOST=unix:///Users/gmercer/.colima/default/docker.sock
Docker version: 20.10.11
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 294.2G 6.6G 272.6G 2% /
Unable to create project at project root '/Users/gmercer/Desktop/ddev/locals/d10': project root /Users/gmercer/Desktop/ddev/locals/d10 does not exist
Stopped Mutagen daemon
The ddev-ssh-agent container has been removed. When you start it again you will have to use 'ddev auth ssh' to provide key authentication again.
Existing docker containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Network ddev_default created
Starting tryddevproject-5866...
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.
Network ddev-tryddevproject-5866_default Created
Container ddev-tryddevproject-5866-web Created
Container ddev-tryddevproject-5866-db Created
Container ddev-tryddevproject-5866-web Started
Container ddev-tryddevproject-5866-db Started
You have Mutagen enabled and your 'php' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process... This can take some time.
Mutagen sync flush completed in 1s.
For details on sync status 'ddev mutagen st tryddevproject-5866 -l'
Container ddev-router Created
Container ddev-router Started
Successfully started tryddevproject-5866
Project can be reached at https://tryddevproject-5866.ddev.site https://127.0.0.1:49153
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 23 Oct 2023 20:01:38 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== curl -I of http://tryddevproject-5866.ddev.site from outside:
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Mon, 23 Oct 2023 20:01:38 GMT
Server: nginx
Vary: Accept-Encoding
======== full curl of http://tryddevproject-5866.ddev.site from outside:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-5866'
======== Project ownership on host:
drwxr-xr-x 4 gmercer staff 128 Oct 23 13:01 ../tryddevproject-5866
======== Project ownership in container:
drwxr-xr-x 4 gmercer dialout 4096 Oct 23 20:01 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/disk/by-label/data-volume ext4 308520768 7163732 285612064 3% /var/www
======== curl again of tryddevproject-5866 from host:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-5866'
Thanks for running the diagnostic. It was successful.
Please provide the output of this script in a new gist at gist.github.com
Running ddev launch in 5 seconds
Please run cleanup after debugging with 'ddev debug testcleanup'
╭─ ~/Desktop/ddev/locals/gsb-d9-1/public-website (WEBR-189 ●)
╰─$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment