Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shayanabbas/b4bdca215f98100a81e3032aac8ef51a to your computer and use it in GitHub Desktop.
Save shayanabbas/b4bdca215f98100a81e3032aac8ef51a to your computer and use it in GitHub Desktop.
myuser@Myuser-MacBook-Pro-Work mydummyproject % ddev debug test
Running bash [-c /var/folders/1p/_6dkh_gd1lv_nvpdxrv4jlw00000gn/T/test_ddev.sh]
OS Information: Darwin Myuser-MacBook-Pro-Work.local 22.0.0 Darwin Kernel Version 22.0.0: Mon Aug 1 06:31:07 PDT 2022; root:xnu-8792.0.207.0.6~26/RELEASE_X86_64 x86_64
ProductName: macOS
ProductVersion: 13.0
BuildVersion: 22A5321d
User information: uid=501(myuser) 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),701(com.apple.sharepoint.group.1)
DDEV version: ITEM VALUE
DDEV version v1.20.0
architecture amd64
db drud/ddev-dbserver-mariadb-10.4:v1.20.0
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.20.0
docker 20.10.11
docker-compose v2.9.0
docker-platform colima
mutagen 0.15.0
os darwin
router drud/ddev-router:v1.20.0
web drud/ddev-webserver:v1.20.0
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
mutagen-enabled=false
nfs-mount-enabled=true
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=
use-docker-compose-from-path=false
no-bind-mounts=false
======= DOCKER info =========
docker location: lrwxr-xr-x 1 myuser admin 54 Mar 12 2021 /usr/local/bin/docker -> /Applications/Docker.app/Contents/Resources/bin/docker
Docker Desktop Version: Docker Desktop for Mac 4.11.1 build 84025
docker version:
Client:
Cloud integration: v1.0.28
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:04:45 2022
OS/Arch: darwin/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.11
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 847da184ad5048b27f5bdf9d53d070f731b43180
Built: Wed Apr 13 23:41:08 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.5.8
GitCommit: 1e5ef943eb76627a6d3b6de8cd1ef6537f393a71
runc:
Version: 1.0.0-rc95
GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
docker-init:
Version: 0.19.0
GitCommit:
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.15.0
--------------------------------------------------------------------------------
Name: a720degrees
Identifier: sync_BrgJZJWZ9xibi3UQSj8e0JsPPdNlaoh86jfoVjCgOFJ
Alpha:
URL: /Users/myuser/work/720degrees
Connected: Yes
Beta:
URL: docker://8f1f1e8713bd74d33f5830f0944b0e40198a9c8bd4a003e68e9bc93910518a6f/var/www/html
DOCKER_HOST=unix:///Users/myuser/.colima/default/docker.sock
Connected: No
Status: Connecting to beta
--------------------------------------------------------------------------------
Name: my-wp-bedrock-site
Identifier: sync_l6zAEEnzqJgkbiX81QELG1K5ciAbe28mhDX5OCnjpky
Alpha:
URL: /Users/myuser/work/my-wp-bedrock-site
Connected: Yes
Beta:
URL: docker://d89f680f6cc7939452235e47460a27d8a6a5b2679714c886eb901d6291000c0c/var/www/html
DOCKER_HOST=unix:///Users/myuser/.colima/default/docker.sock
Connected: No
Status: Connecting to beta
--------------------------------------------------------------------------------
Name: clockproject
Identifier: sync_AZWgUXkmReaeESPk7CnpO9f5hK24dB4GJr4lKH5gAlt
Alpha:
URL: /Users/myuser/work/clockproject
Connected: Yes
Beta:
URL: docker://fc50d5f74c97ee41a5f7047bc5b07670a3e7e74a0faf74f0e23b5354cc82ccf6/var/www/html
DOCKER_HOST=unix:///Users/myuser/.colima/default/docker.sock
Connected: No
Status: Connecting to beta
--------------------------------------------------------------------------------
Name: vmsport
Identifier: sync_2gjNSHEqjkNs9V1veSZOnBZroi0viI4lLhMb3JK3mcs
Alpha:
URL: /Users/myuser/work/vmsport
Connected: Yes
Beta:
URL: docker://4b4392366522521a20753314399ffa9c660dc22fdfcc2827128a38bbe8461a11/var/www/html
DOCKER_HOST=unix:///Users/myuser/.colima/default/docker.sock
Connected: No
Status: Connecting to beta
--------------------------------------------------------------------------------
mutagen additionally installed in PATH at /usr/local/bin/mutagen, version 0.11.8
mutagen is running on this system:
501 6581 1 0 7:33PM ?? 0:22.94 mutagen daemon run
501 85479 58972 0 5:41PM ttys000 0:00.12 ddev mutagen reset
501 85520 85479 0 5:41PM ttys000 0:00.02 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
501 93124 92070 0 5:44PM ttys001 0:00.17 ddev mutagen monitor
501 93158 93124 0 5:44PM ttys001 0:00.31 /Users/myuser/.ddev/bin/mutagen sync monitor mydummyproject
501 9633 9570 0 5:50PM ttys004 0:00.03 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
501 24039 20794 0 5:56PM ttys004 0:00.60 /Users/myuser/.ddev/bin/mutagen sync monitor mydummyproject
501 24040 20794 0 5:56PM ttys004 0:00.03 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
501 50186 49984 0 7:47PM ttys004 0:00.00 grep mutagen
501 63793 63741 0 6:11PM ttys004 0:00.02 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
501 98035 97063 0 5:46PM ttys004 0:00.13 ddev mutagen sync
501 98082 98035 0 5:46PM ttys004 0:00.02 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
501 99720 99629 0 7:31PM ttys004 0:00.02 /Users/myuser/.ddev/bin/mutagen sync flush mydummyproject
======= Docker Info =========
Docker platform: colima
Colima version: 0.4.4
Using docker context: default (unix:///Users/myuser/.colima/default/docker.sock)
docker-compose: v2.9.0
Using DOCKER_HOST=unix:///Users/myuser/.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 156.4G 12.4G 136.0G 8% /
Container ddev-mydummyproject-dba Removed
Container ddev-mydummyproject-web Removed
Container ddev-mydummyproject-db Removed
Network ddev-mydummyproject_default Removed
Project mydummyproject has been stopped.
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
Creating a new ddev project config in the current directory (/Users/myuser/tmp/tryddevproject-24881)
Once completed, your configuration will be written to /Users/myuser/tmp/tryddevproject-24881/.ddev/config.yaml
Found a php codebase at /Users/myuser/tmp/tryddevproject-24881
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-24881...
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.
Pushed mkcert rootca certs to ddev-global-cache/mkcert
v1.20.0: Pulling from drud/ddev-dbserver-mariadb-10.4
d7bfe07ed847: Pulling fs layer
59dcb80bbedb: Pulling fs layer
ac6c41888e0f: Pull complete
de82bf1cd459: Pull complete
316c0826d235: Pull complete
b82e623f5d9e: Pull complete
3daba1f86bc0: Pull complete
d04945d0545a: Pull complete
3088ccc5e6c7: Pull complete
ebdc0a737326: Pull complete
bd9954256270: Pull complete
1d92cbc5a67b: Pull complete
4f4fb700ef54: Pull complete
5de1561b8b50: Pull complete
9c4278c1946c: Pull complete
33b7fa3aed5d: Pull complete
33d10c824dc2: Pull complete
7c92dd225799: Pull complete
2253a94d0ea6: Pull complete
1f4b4747ca3c: Pull complete
84b2a4c0a8e0: Pull complete
1e680aa58765: Pull complete
97accb001963: Pull complete
460b1bfcfd8a: Pull complete
05c0b4b0c5f3: Pull complete
64d27f245dc5: Pull complete
Digest: sha256:c35ba34c7d1b42af73e05c0f2f8eeb5cf9664966dd1864b9d0a1ffba9ce61ea5
Status: Downloaded newer image for drud/ddev-dbserver-mariadb-10.4:v1.20.0
docker.io/drud/ddev-dbserver-mariadb-10.4:v1.20.0
Network ddev-tryddevproject-24881_default Created
Volume "ddev-tryddevproject-24881_nfsmount" Created
Container ddev-tryddevproject-24881-dba Started
Container ddev-tryddevproject-24881-db Started
Container ddev-tryddevproject-24881-db Healthy
Container ddev-tryddevproject-24881-web Started
Container ddev-router Started
Successfully started tryddevproject-24881
Project can be reached at https://tryddevproject-24881.ddev.site https://127.0.0.1:49193
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 17 Aug 2022 16:51:06 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Curl of site from outside:
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Wed, 17 Aug 2022 16:51:06 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x 4 myuser staff 128 Aug 17 19:48 /Users/myuser/tmp/tryddevproject-24881
======== Project ownership in container:
drwxr-xr-x 4 myuser dialout 128 Aug 17 16:48 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
:/System/Volumes/Data/Users/myuser/tmp/tryddevproject-24881 nfs 488246272 370724864 117521408 76% /var/www/html
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-24881
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
If you're brave and you have jq you can delete all tryddevproject instances with this one-liner:
ddev delete -Oy $(ddev list -j |jq -r .raw[].name | grep tryddevproject)
In the future ddev debug test will also provide this option.
Please delete this project after debugging with 'ddev delete -Oy tryddevproject-24881'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment