Skip to content

Instantly share code, notes, and snippets.

@MurzNN
Created September 30, 2022 20:49
Show Gist options
  • Save MurzNN/fcdc24a2d65bf9729f65d130855d60da to your computer and use it in GitHub Desktop.
Save MurzNN/fcdc24a2d65bf9729f65d130855d60da to your computer and use it in GitHub Desktop.
$ ddev debug test
Running bash [-c /tmp/test_ddev.sh]
OS Information: Linux kubuntu 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=999(kubuntu) gid=998(docker) groups=998(docker),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),122(lpadmin),132(lxd),133(sambashare),999(kubuntu)
DDEV version: ITEM VALUE
DDEV version v1.21.1
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.18
docker-compose v2.9.0
docker-platform kubuntu
mutagen 0.15.1
os linux
router drud/ddev-router:v1.20.0
web drud/ddev-webserver:20220808_yarn_crash
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 50713536 Sep 8 23:09 /usr/bin/docker
docker version:
Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:11:43 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.18
API version: 1.41 (minimum version 1.12)
Go version: go1.18.6
Git commit: e42327a
Built: Thu Sep 8 23:09:30 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
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 =========
======= Docker Info =========
Docker platform: kubuntu
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.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
/dev/mapper/docker-0:27-2920-744a1254ceb7c7ec14015cd53a0c3ae70835033188bd09fa5d056a224d238e9d
10.0G 106.0M 9.9G 1% /
Container ddev-tryddevproject-17686-db Removed
Container ddev-tryddevproject-17686-web Removed
Container ddev-tryddevproject-17686-dba Removed
Network ddev-tryddevproject-17686_default Removed
Project tryddevproject-17686 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 (/home/kubuntu/tryddevproject-28840)
Once completed, your configuration will be written to /home/kubuntu/tryddevproject-28840/.ddev/config.yaml
Found a php codebase at /home/kubuntu/tryddevproject-28840/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-28840...
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
Unable to determine host.docker.internal - no gateway
Network ddev-tryddevproject-28840_default Created
Container ddev-tryddevproject-28840-dba Started
Container ddev-tryddevproject-28840-web Started
Container ddev-tryddevproject-28840-db Started
Failed waiting for web/db containers to become ready: web container failed: log=, err=container exited, please use 'ddev logs -s web' to find out why it failed
Container ddev-router Started
Failed to start tryddevproject-28840: container(s) failed to become healthy before their configured timeout or in 120 seconds. This may be just a problem with the healthcheck and not a functional problem. (container 'web' exited, please use 'ddev logs -s web' to find out why it failed)
┌──────────────────────┬─────────┬────────────────────────┬─────┬─────────┐
│ NAME │ TYPE │ LOCATION │ URL │ STATUS │
├──────────────────────┼─────────┼────────────────────────┼─────┼─────────┤
│ drupal │ drupal9 │ ~/drupal │ │ stopped │
├──────────────────────┼─────────┼────────────────────────┼─────┼─────────┤
│ tryddevproject-17686 │ php │ ~/tryddevproject-17686 │ │ stopped │
├──────────────────────┼─────────┼────────────────────────┼─────┼─────────┤
│ tryddevproject-28840 │ php │ ~/tryddevproject-28840 │ │ paused │
├──────────────────────┼─────────┼────────────────────────┼─────┼─────────┤
│ Router │ │ healthy │ │ │
└──────────────────────┴─────────┴────────────────────────┴─────┴─────────┘
┌──────────────────────────────────┐
│ Project: tryddevproject-28840 ~/ │
│ tryddevproject-28840 https://try │
│ ddevproject-28840.ddev.site │
│ Docker environment: docker 20.10 │
│ .18 │
├─────────┬──────┬──────────┬──────┤
│ SERVICE │ STAT │ URL/PORT │ INFO │
├─────────┼──────┼──────────┼──────┤
└─────────┴──────┴──────────┴──────┘
============= ddev-tryddevproject-28840-web healtcheck run =========
Error response from daemon: Container c5cf20f35505d30ac5001c8a6b9b9b7499cf9fc9c80b45ae83608ac8c564656f is not running
============= ddev logs =========
at Generator.next (<anonymous>)
at step (/usr/lib/node_modules/yarn/lib/cli.js:310:30)
+ yarn config set cacheFolder /mnt/ddev-global-cache/yarn/tryddevproject-28840-web
Error: ENOTDIR: not a directory, open '/dev/null/.config/yarn'
at Object.openSync (node:fs:585:3)
at readFileSync (node:fs:453:35)
at /usr/lib/node_modules/yarn/lib/cli.js:97395:58
at Array.map (<anonymous>)
at parseRcPaths (/usr/lib/node_modules/yarn/lib/cli.js:97393:78)
at Object.findRc (/usr/lib/node_modules/yarn/lib/cli.js:97407:10)
at getRcConfigForCwd (/usr/lib/node_modules/yarn/lib/cli.js:56965:74)
at /usr/lib/node_modules/yarn/lib/cli.js:88756:56
at Generator.next (<anonymous>)
at step (/usr/lib/node_modules/yarn/lib/cli.js:310:30)
+ true
+ npm config set cache /mnt/ddev-global-cache/npm/tryddevproject-28840-web
+ true
+ ln -sf /mnt/ddev-global-cache/nvm_dir/tryddevproject-28840-web /home/kubuntu/.nvm
ln: failed to create symbolic link '/home/kubuntu/.nvm': Permission denied
============= contents of /mnt/ddev_config =========
Error: No such container: ddev-d9-db
======== Curl of site from inside container:
Project is not currently running. Try 'ddev start'.
======== Curl of site from outside:
HTTP/1.1 503 Service Temporarily Unavailable
Server: nginx/1.20.1
Date: Fri, 30 Sep 2022 20:47:27 GMT
Content-Type: text/html
Content-Length: 479
Connection: keep-alive
ETag: "62e937fd-1df"
curl: (22) The requested URL returned error: 503
Unable to curl the requested project Please provide this output in a new gist at gist.github.com.
Please delete this project after debugging with 'ddev delete -Oy tryddevproject-28840'
Failed running test_ddev.sh: exit status 1
. You can run it manually with `curl -sL -O https://raw.githubusercontent.com/drud/ddev/master/cmd/ddev/cmd/scripts/test_ddev.sh && bash test_ddev.sh`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment