Skip to content

Instantly share code, notes, and snippets.

@cmuench
Created August 4, 2022 11:31
Show Gist options
  • Save cmuench/6c633b58d33ec9fcf802b6bc2dda551e to your computer and use it in GitHub Desktop.
Save cmuench/6c633b58d33ec9fcf802b6bc2dda551e to your computer and use it in GitHub Desktop.
❯ ddev debug test
Running bash [-c /tmp/test_ddev.sh]
OS Information: Linux balmung 5.15.58-2-lts #1 SMP Mon, 01 Aug 2022 19:44:08 +0000 x86_64 GNU/Linux
User information: uid=1000(cmuench) gid=985(users) Gruppen=985(users),33(http),108(vboxusers),150(wireshark),948(nordvpn),952(realtime),953(adbusers),969(docker),976(libvirt),986(video),988(storage),990(optical),995(audio),998(wheel)
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.17
docker-compose v2.9.0
docker-platform balmung
mutagen 0.15.0
os linux
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=false
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: -rwxr-xr-x 1 root root 43876264 12. Jun 01:27 /usr/bin/docker
docker version:
Client:
Version: 20.10.17
API version: 1.41
Go version: go1.18.3
Git commit: 100c70180f
Built: Sat Jun 11 23:27:28 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.18.3
Git commit: a89b84221c
Built: Sat Jun 11 23:27:14 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1.m
runc:
Version: 1.1.3
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.12.0
--------------------------------------------------------------------------------
No synchronization sessions found
--------------------------------------------------------------------------------
mutagen is running on this system:
cmuench 52837 1203 0 13:11 ? 00:00:00 mutagen daemon run
cmuench 69653 69513 0 13:29 pts/1 00:00:00 grep mutagen
======= Docker Info =========
Docker platform: balmung
Using docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.9.0
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 20.10.17
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 2.0T 1.2T 722.1G 62% /
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
022c93cc158f drud/ddev-webserver:v1.20.0 "sh -c 'chown -R 100…" 42 minutes ago Exited (0) 42 minutes ago quizzical_turing
d782a337396f mysql:8.0 "docker-entrypoint.s…" 4 months ago Up 56 minutes 33060/tcp, 0.0.0.0:33311->3306/tcp, :::33311->3306/tcp liveticker2-liveticker_db-1
24322c999407 nvme_exporter_nvme_exporter "nvme_exporter" 9 months ago Up 56 minutes nvme_exporter
Creating a new ddev project config in the current directory (/home/cmuench/tmp/tryddevproject-23305)
Once completed, your configuration will be written to /home/cmuench/tmp/tryddevproject-23305/.ddev/config.yaml
Found a php codebase at /home/cmuench/tmp/tryddevproject-23305
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-23305...
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
Network ddev-tryddevproject-23305_default Created
Container ddev-tryddevproject-23305-dba Started
Container ddev-tryddevproject-23305-db Started
Container ddev-tryddevproject-23305-db Healthy
Container ddev-tryddevproject-23305-web Started
Container ddev-router Started
Successfully started tryddevproject-23305
Project can be reached at https://tryddevproject-23305.ddev.site https://127.0.0.1:49166
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 04 Aug 2022 11:29:50 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: Thu, 04 Aug 2022 11:29:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x 3 cmuench users 4096 4. Aug 13:29 /home/cmuench/tmp/tryddevproject-23305
======== Project ownership in container:
drwxr-xr-x 3 cmuench cmuench 4096 Aug 4 11:29 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg0-arch--home ext4 2103836288 1239939396 756954448 63% /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-23305
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-23305'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment