Skip to content

Instantly share code, notes, and snippets.

@stefanfrede
Created November 11, 2022 12:44
Show Gist options
  • Save stefanfrede/c7bffd4264661dc020dacf3db9b1ac0a to your computer and use it in GitHub Desktop.
Save stefanfrede/c7bffd4264661dc020dacf3db9b1ac0a to your computer and use it in GitHub Desktop.
DDEV Debug Output
Running bash [-c /tmp/test_ddev.sh]
OS Information: Linux wyn-lin-01 5.15.0-10052-tuxedo #58~20.04.1tux1 SMP Mon Oct 24 12:05:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1001(sfrede) gid=1001(sfrede) groups=1001(sfrede),27(sudo),46(plugdev),131(vboxusers),996(docker),997(rslsync),1000(support)
DDEV version: ITEM VALUE
DDEV version v1.21.3
architecture amd64
db drud/ddev-dbserver-mariadb-10.4:v1.21.3
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.21.3
docker 20.10.21
docker-compose v2.10.2
docker-platform wyn-lin-01
mutagen 0.16.0
os linux
router drud/ddev-router:v1.21.3
web drud/ddev-webserver:v1.21.3
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
project-tld=
======= DOCKER info =========
docker location: -rwxr-xr-x 1 root root 50726784 Oct 25 20:00 /usr/bin/docker
docker version:
Client: Docker Engine - Community
Version: 20.10.21
API version: 1.41
Go version: go1.18.7
Git commit: baeda1f
Built: Tue Oct 25 18:02:21 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.18.7
Git commit: 3056208
Built: Tue Oct 25 18:00:04 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.9
GitCommit: 1c90a442489720eec95342e1789ee8a5e1b9536f
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.16.0
--------------------------------------------------------------------------------
Name: stulz-v11
Identifier: sync_ojU5Cq5B5kHZNBYmedS3oGgHuvRcyeoaBHjRiXp3z7c
Labels:
com.ddev.volume-signature: var-run-1666246980
Configuration:
Synchronization mode: Two Way Resolved
Maximum allowed entry count: Default (2⁶⁴−1)
Maximum staging file size: Default (18 EB)
Symbolic link mode: POSIX Raw
Ignore VCS mode: Default (Propagate)
Ignores:
/.git
/.tarballs
/.ddev/db_snapshots
/.ddev/.importdb*
.DS_Store
.idea
/web/fileadmin
Permissions mode: Default (Portable)
Alpha:
URL: /home/sfrede/Sites/Stulz/Website-V11
Configuration:
Watch mode: Default (Portable)
Watch polling interval: Default (10 seconds)
Probe mode: Default (Probe)
Scan mode: Default (Accelerated)
Stage mode: Neighboring
File mode: Default (0600)
Directory mode: Default (0700)
Default file/directory owner: Default
Default file/directory group: Default
Connected: No
Beta:
URL: docker://ddev-stulz-v11-web/var/www/html
DOCKER_HOST=unix:///var/run/docker.sock
Configuration:
Watch mode: Default (Portable)
Watch polling interval: Default (10 seconds)
Probe mode: Default (Probe)
Scan mode: Default (Accelerated)
Stage mode: Neighboring
File mode: Default (0600)
Directory mode: Default (0700)
Default file/directory owner: Default
Default file/directory group: Default
Connected: No
Status: [Paused]
--------------------------------------------------------------------------------
======= Docker Info =========
Docker platform: wyn-lin-01
Using docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.10.2
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 20.10.21
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 460.0G 380.8G 55.8G 87% /
Container ddev-tryddevproject-18475-db Removed
Container ddev-tryddevproject-18475-dba Removed
Container ddev-tryddevproject-18475-web Removed
Network ddev-tryddevproject-18475_default Removed
Project tryddevproject-18475 has been stopped.
Stopped mutagen daemon
Existing docker containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9f6e442c54ce node:11.14.0 "bash -c 'npm run pu…" 2 weeks ago Exited (0) 21 hours ago koerber_templates_publish
580dc4c5f8a8 node:11.14.0 "bash -c 'npm run se…" 2 weeks ago Exited (0) 2 weeks ago koerber_templates_setup
40d1d68c0ea4 node:11.14.0 "bash -c 'npm run de…" 2 weeks ago Exited (1) 2 weeks ago koerber_templates_dev
3409be3338f9 node:11.14.0 "bash -c 'cp -v temp…" 4 weeks ago Exited (0) 25 hours ago koerber-technologies_publish
50c677de1f81 node:11.14.0 "bash -c 'npm run se…" 4 weeks ago Exited (0) 25 hours ago koerber-technologies_setup
e65b58b4e1ad drud/ddev-webserver:20220808_yarn_crash-koerber-technologies-built "/bin/bash" 4 weeks ago Exited (1) 4 weeks ago wonderful_goldwasser
afc1f96e094b drud/ddev-webserver:20220808_yarn_crash-koerber-technologies-built "/bin/bash" 4 weeks ago Exited (0) 4 weeks ago hungry_galois
e01ee88bbe4c drud/ddev-webserver:20220808_yarn_crash-koerber-technologies-built "/bin/bash" 4 weeks ago Exited (0) 4 weeks ago infallible_bohr
98b18ac5db6d 216c552ea5ba "/bin/bash" 4 weeks ago Exited (127) 4 weeks ago eager_colden
Creating a new ddev project config in the current directory (/home/sfrede/Sites/Kagebau/tryddevproject-23593)
Once completed, your configuration will be written to /home/sfrede/Sites/Kagebau/tryddevproject-23593/.ddev/config.yaml

Configuring unrecognized codebase as project type 'php' at /home/sfrede/Sites/Kagebau/tryddevproject-23593/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-23593...
Container ddev-ssh-agent Started
Pushed mkcert rootca certs to ddev-global-cache/mkcert
ddev needs to add an entry to your hostfile.
It will require administrative privileges via the sudo command, so you may be required
to enter your password for sudo. ddev is about to issue the command:
Please enter your password if prompted.
Running Command=sudo /usr/bin/ddev hostname tryddevproject-23593.ddev.site 127.0.0.1
Network ddev-tryddevproject-23593_default Created
Container ddev-tryddevproject-23593-web Started
Container ddev-tryddevproject-23593-dba Started
Container ddev-tryddevproject-23593-db Started
Container ddev-router Started
Successfully started tryddevproject-23593
Project can be reached at https://tryddevproject-23593.ddev.site https://127.0.0.1:49184
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 11 Nov 2022 12:40:22 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: Fri, 11 Nov 2022 12:40:22 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x 4 sfrede sfrede 4096 Nov 11 13:40 ../tryddevproject-23593
======== Project ownership in container:
drwxr-xr-x 4 sfrede sfrede 4096 Nov 11 12:40 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p2 ext4 482360832 399419324 58365460 88% /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-23593'
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-23593'
@rfay
Copy link

rfay commented Nov 11, 2022

One comment @stefanfrede, nothing to do with the nvm problem. But you have old dead containers sitting around, worth killing them off, docker rm -f $(docker ps -aq)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment