Skip to content

Instantly share code, notes, and snippets.

@ptmkenny
Created December 14, 2022 00:46
Show Gist options
  • Save ptmkenny/32405d348b35f6d491c4ef74e1a9b3bc to your computer and use it in GitHub Desktop.
Save ptmkenny/32405d348b35f6d491c4ef74e1a9b3bc to your computer and use it in GitHub Desktop.
ddev debug test 20221214
Running bash [-c /var/folders/n_/4z8jyx457vx4sy3xm7080rs00000gq/T/test_ddev.sh]
OS Information: Darwin 16.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
ProductName: macOS
ProductVersion: 13.0.1
BuildVersion: 22A400
User information: uid=503(private) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),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),703(com.apple.sharepoint.group.3),702(com.apple.sharepoint.group.2)
DDEV version: ITEM VALUE
DDEV version v1.21.3
architecture arm64
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.18
docker-compose v2.10.2
docker-platform colima
mutagen 0.16.0
os darwin
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=false
omit-containers=[]
mutagen-enabled=true
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: lrwxr-xr-x@ 1 private admin 36 Dec 12 07:13 /opt/homebrew/bin/docker -> ../Cellar/docker/20.10.21/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.21
API version: 1.41
Go version: go1.19.3
Git commit: baeda1f82a
Built: Tue Oct 25 17:53:02 2022
OS/Arch: darwin/arm64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.18
API version: 1.41 (minimum version 1.12)
Go version: go1.18.6
Git commit: e42327a6d3c55ceda3bd5475be7aae6036d02db3
Built: Sun Sep 11 07:10:00 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: 5fd4c4d144137e991c4acebb2146ab1483a97925
docker-init:
Version: 0.19.0
GitCommit:
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.16.0
--------------------------------------------------------------------------------
Name: MY-PROJ
Identifier: sync_QvdYbjurRjmQVKxBcmpO4AjCiJ3PZcHNrgoAu3mzV95
Labels:
com.ddev.volume-signature: Users-private-colima-default-1670891593
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/sites/default/files
Permissions mode: Default (Portable)
Alpha:
URL: /Users/private/d/my-proj
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-my-proj-web/var/www/html
DOCKER_HOST=unix:///Users/private/.colima/default/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]
--------------------------------------------------------------------------------
Name: ddev-test-20221213
Identifier: sync_1TNgRuufhyVeHZy8VTxQuQcqi87k65UhtVjAfaDZAR3
Labels:
com.ddev.volume-signature: Users-private-colima-default-1670892341
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/sites/default/files
Permissions mode: Default (Portable)
Alpha:
URL: /Users/private/d/ddev-test-20221213
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-ddev-test-20221213-web/var/www/html
DOCKER_HOST=unix:///Users/private/.colima/default/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]
--------------------------------------------------------------------------------
Name: tryddevproject-4441
Identifier: sync_B5SLnBymF89MG2AAAuDxt3RKNAN61Zde4Az2W1ismO6
Labels:
com.ddev.volume-signature: Users-private-colima-default-1670978605
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
Permissions mode: Default (Portable)
Alpha:
URL: /Users/private/d/tryddevproject-4441
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: Yes
Synchronizable contents:
23 directories
66 files (85 kB)
0 symbolic links
Beta:
URL: docker://ddev-tryddevproject-4441-web/var/www/html
DOCKER_HOST=unix:///Users/private/.colima/default/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: Yes
Synchronizable contents:
23 directories
66 files (85 kB)
0 symbolic links
Status: Watching for changes
--------------------------------------------------------------------------------
======= Docker Info =========
Docker platform: colima
Colima version: 0.4.6
Using docker context: default (unix:///Users/private/.colima/default/docker.sock)
docker-compose: v2.10.2
Using DOCKER_HOST=unix:///Users/private/.colima/default/docker.sock
Docker version: 20.10.18
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 97.9G 5.7G 87.1G 6% /
Container ddev-tryddevproject-4441-dba Removed
Container ddev-tryddevproject-4441-db Removed
Container ddev-tryddevproject-4441-web Removed
Network ddev-tryddevproject-4441_default Removed
Project tryddevproject-4441 has been stopped.
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
Creating a new ddev project config in the current directory (/Users/private/d/tryddevproject-1967)
Once completed, your configuration will be written to /Users/private/d/tryddevproject-1967/.ddev/config.yaml
Configuring unrecognized codebase as project type 'php' at /Users/private/d/tryddevproject-1967/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-1967...
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-1967_default Created
Container ddev-tryddevproject-1967-db Started
Container ddev-tryddevproject-1967-dba Started
Container ddev-tryddevproject-1967-web Started
You have mutagen enabled and your 'php' project type doesn't have an upload_dir set.
For faster startup and less disk usage,
set upload_dir to where your user-generated files are stored.
Starting mutagen sync process... This can take some time.
Mutagen sync flush completed in 1s.
For details on sync status 'ddev mutagen st tryddevproject-1967 -l'
Container ddev-router Started
Successfully started tryddevproject-1967
Project can be reached at https://tryddevproject-1967.ddev.site https://127.0.0.1:49187
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 14 Dec 2022 00:44:43 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, 14 Dec 2022 00:44:43 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x@ 4 private staff 128 Dec 14 09:44 ../tryddevproject-1967
======== Project ownership in container:
drwxr-xr-x 4 private dialout 4096 Dec 14 00:44 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/disk/by-label/data-volume ext4 102625208 6145268 91220728 7% /var/www
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-1967'
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-1967'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment