Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DavidBruchmann/392bfea3ecfade01afb51abcffdc906f to your computer and use it in GitHub Desktop.
Save DavidBruchmann/392bfea3ecfade01afb51abcffdc906f to your computer and use it in GitHub Desktop.

Revisions

  1. DavidBruchmann created this gist Apr 22, 2023.
    197 changes: 197 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,197 @@

    Running bash [-c /tmp/test_ddev.sh]
    ======= Existing project config =========
    These config files were loaded for project test: [/media/david/DataLinux/___DDEV___/TYPO3/t3-screenshots/test/.ddev/config.yaml]
    name: test
    type: typo3
    docroot: public
    php_version: 8.1
    webserver_type: nginx-fpm
    webimage: drud/ddev-webserver:v1.21.5
    router_http_port: 80
    router_https_port: 443
    additional_hostnames: []
    additional_fqdns: []
    database: {mariadb 10.4}
    mailhog_port: 8025
    mailhog_https_port: 8026
    phpmyadmin_port: 8036
    phpmyadmin_https_port: 8037
    project_tld: ddev.site
    use_dns_when_possible: true
    composer_version: 2
    nodejs_version: 16
    default_container_timeout: 120
    ======= Creating dummy project named tryddevproject-3531 in ../tryddevproject-3531 =========
    OS Information: Linux localhost 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
    User information: uid=1000(david) gid=1000(david) groups=1000(david),4(adm),24(cdrom),27(sudo),30(dip),33(www-data),46(plugdev),113(lpadmin),128(sambashare),134(docker),135(kvm),150(libvirt),1001(libvirtd)
    DDEV version: ITEM VALUE
    DDEV version v1.21.6
    architecture amd64
    db drud/ddev-dbserver-mariadb-10.4:v1.21.5
    dba phpmyadmin:5
    ddev-ssh-agent drud/ddev-ssh-agent:v1.21.5
    docker 23.0.4
    docker-compose v2.15.1
    docker-platform localhost
    mutagen 0.16.0
    os linux
    router drud/ddev-router:v1.21.5
    web drud/ddev-webserver:v1.21.5
    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
    project-tld=
    xdebug-ide-location=
    no-bind-mounts=false
    use-traefik=false
    wsl2-no-windows-hosts-mgt=false

    ======= DOCKER info =========
    docker location: -rwxr-xr-x 1 root root 60178432 Jul 5 2022 /usr/local/bin/docker
    docker version:
    Client: Docker Engine - Community
    Cloud integration: v1.0.24
    Version: 23.0.4
    API version: 1.42
    Go version: go1.19.8
    Git commit: f480fb1
    Built: Fri Apr 14 10:32:03 2023
    OS/Arch: linux/amd64
    Context: default

    Server: Docker Engine - Community
    Engine:
    Version: 23.0.4
    API version: 1.42 (minimum version 1.12)
    Go version: go1.19.8
    Git commit: cbce331
    Built: Fri Apr 14 10:32:03 2023
    OS/Arch: linux/amd64
    Experimental: false
    containerd:
    Version: 1.6.20
    GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
    runc:
    Version: 1.1.5
    GitCommit: v1.1.5-0-gf19387a
    docker-init:
    Version: 0.19.0
    GitCommit: de40ad0
    DOCKER_DEFAULT_PLATFORM=notset
    ======= Mutagen Info =========
    ======= Docker Info =========
    Docker platform: localhost
    Using docker context: default (unix:///var/run/docker.sock)
    docker-compose: v2.15.1
    Using DOCKER_HOST=unix:///var/run/docker.sock
    Docker version: 23.0.4
    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 864.6G 515.1G 305.5G 63% /

    Container ddev-my-projects-v11-dba Removed
    Container ddev-my-projects-v11-db Removed
    Container ddev-my-projects-v11-web Removed
    Network ddev-my-projects-v11_default Removed
    Project my-projects-v11 has been stopped.
    Container ddev-phpDocumentor-guides-dba Removed
    Container ddev-phpDocumentor-guides-db Removed
    Container ddev-phpDocumentor-guides-web Removed
    Network ddev-phpdocumentor-guides_default Removed
    Project phpDocumentor-guides has been stopped.
    Container ddev-rst-rendering-demo-dba Removed
    Container ddev-rst-rendering-demo-db Removed
    Container ddev-rst-rendering-demo-web Removed
    Network ddev-rst-rendering-demo_default Removed
    Project rst-rendering-demo has been stopped.
    Container ddev-t3docs-screenshots-dba Removed
    Container ddev-t3docs-screenshots-db Removed
    Container ddev-t3docs-screenshots-chrome Removed
    Container ddev-t3docs-screenshots-web Removed
    Network ddev-t3docs-screenshots_default Removed
    Project t3docs-screenshots has been stopped.
    Container ddev-test-db Removed
    Container ddev-test-dba Removed
    Container ddev-test-web Removed
    Network ddev-test_default Removed
    Project test 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
    b46d46e6d0f9 drud/ddev-webserver:v1.21.4 "sh -c 'chown -R 100…" 2 months ago Exited (0) 2 months ago gracious_knuth
    3b0e63955832 drud/ddev-webserver:v1.21.4 "sh -c 'chown -R 100…" 3 months ago Exited (0) 3 months ago brave_herschel
    7ba69e078824 drud/ddev-webserver:v1.21.4 "sh -c 'chown -R 100…" 3 months ago Exited (0) 3 months ago eager_borg
    9acc64f33363 hello-world "/hello" 9 months ago Exited (0) 9 months ago condescending_swanson
    4899ef96abff hello-world "/hello" 9 months ago Exited (0) 9 months ago practical_almeida
    Creating a new ddev project config in the current directory (/media/david/DataLinux/___DDEV___/TYPO3/t3-screenshots/tryddevproject-3531)
    Once completed, your configuration will be written to /media/david/DataLinux/___DDEV___/TYPO3/t3-screenshots/tryddevproject-3531/.ddev/config.yaml

    Configuring unrecognized codebase as project type 'php' at /media/david/DataLinux/___DDEV___/TYPO3/t3-screenshots/tryddevproject-3531/web
    Configuration complete. You may now run 'ddev start'.
    Network ddev_default created
    Starting tryddevproject-3531...
    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-3531_default Created
    Container ddev-tryddevproject-3531-db Started
    Container ddev-tryddevproject-3531-web Started
    Container ddev-tryddevproject-3531-dba Started
    Container ddev-router Started
    Successfully started tryddevproject-3531
    Project can be reached at https://tryddevproject-3531.ddev.site https://127.0.0.1:32986
    ======== Curl of site from inside container:
    HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 22 Apr 2023 09:44:28 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding

    ======== curl -I of http://tryddevproject-3531.ddev.site from outside:
    HTTP/1.1 200 OK
    Server: nginx/1.20.1
    Date: Sat, 22 Apr 2023 09:44:28 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding

    ======== full curl of http://tryddevproject-3531.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-3531'
    ======== Project ownership on host:
    drwxr-xr-x 4 david david 4096 Apr 22 16:43 ../tryddevproject-3531
    ======== Project ownership in container:
    drwxr-xr-x 4 david david 4096 Apr 22 09:43 /var/www/html
    ======== In-container filesystem:
    Filesystem Type 1K-blocks Used Available Use% Mounted on
    /dev/sda5 ext4 1268873236 492262584 712082320 41% /var/www/html
    ======== curl again of tryddevproject-3531 from host:
    Success accessing database... db via TCP/IP
    ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-3531'
    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-3531'