Skip to content

Instantly share code, notes, and snippets.

@kiatng
Created March 10, 2024 06:49
Show Gist options
  • Save kiatng/5066fad40c11a5218ec564448f2461c0 to your computer and use it in GitHub Desktop.
Save kiatng/5066fad40c11a5218ec564448f2461c0 to your computer and use it in GitHub Desktop.
`ddev debug test` output: ERROR: failed to read the CA certificate: unexpected content
kiat@DESKTOP-7GLIBDK:~/openmage$ ddev debug test
Running bash [-c /tmp/test_ddev.sh]
======= Existing project config =========
These config files were loaded for project openmage: [/home/kiat/openmage/.ddev/config.yaml]
name: openmage
type: magento
php_version: 7.4
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.22.7
additional_hostnames: []
additional_fqdns: []
database: {mariadb 10.4}
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 18
default_container_timeout: 120
======= Creating dummy project named tryddevproject-14351 in ../tryddevproject-14351 =========
OS Information: Linux DESKTOP-7GLIBDK 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1000(kiat) gid=1001(kiat) groups=1001(kiat),27(sudo),1000(docker)
DDEV version: ITEM VALUE
DDEV version v1.22.7
architecture amd64
db ddev/ddev-dbserver-mariadb-10.4:v1.22.7
ddev-ssh-agent ddev/ddev-ssh-agent:v1.22.7
docker 25.0.3
docker-compose v2.24.5
docker-platform docker-desktop
mutagen 0.17.2
os linux
router ddev/ddev-traefik-router:v1.22.7
web ddev/ddev-webserver:v1.22.7
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
performance-mode=none
router-bind-all-interfaces=false
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=v2.24.5
use-docker-compose-from-path=false
project-tld=ddev.site
xdebug-ide-location=
no-bind-mounts=false
router=traefik
wsl2-no-windows-hosts-mgt=false
router-http-port=80
router-https-port=443
mailpit-http-port=8025
mailpit-https-port=8026
traefik-monitor-port=10999
======= DOCKER info =========
docker location: lrwxrwxrwx 1 root root 48 Mar 10 13:01 /usr/bin/docker -> /mnt/wsl/docker-desktop/cli-tools/usr/bin/docker
docker version:
Client:
Cloud integration: v1.0.35+desktop.11
Version: 25.0.3
API version: 1.44
Go version: go1.21.6
Git commit: 4debf41
Built: Tue Feb 6 21:13:00 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Desktop
Engine:
Version: 25.0.3
API version: 1.44 (minimum version 1.24)
Go version: go1.21.6
Git commit: f417435
Built: Tue Feb 6 21:14:25 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.28
GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
======= Docker Info =========
Docker platform: docker-desktop
Using Docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.24.5
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 25.0.3
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 1006.9G 4.2G 951.5G 0% /
Container ddev-openmage-db Stopped
Container ddev-openmage-db Removed
Container ddev-openmage-web Stopped
Container ddev-openmage-web Removed
Network ddev-openmage_default Removed
Project openmage 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.
Network ddev_default removed
Existing docker containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Network ddev_default created
Starting tryddevproject-14351...
Network ddev-tryddevproject-14351_default created
Container ddev-ssh-agent Created
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.
Building project images...
.Project images built in 5s.
Container ddev-tryddevproject-14351-db Created
Container ddev-tryddevproject-14351-web Created
Container ddev-tryddevproject-14351-web Started
Container ddev-tryddevproject-14351-db Started
Failed to create certificates for project, check mkcert operation: ERROR: failed to read the CA certificate: unexpected content
; err=exit status 1
+---------------------------------------------------------------------------------------------+
¦ NAME ¦ STATUS ¦ LOCATION ¦ URL ¦ TYPE ¦
+----------------------+----------+------------------------+------------------------+---------¦
¦ openmage ¦ stopped ¦ ~/openmage ¦ ¦ magento ¦
+----------------------+----------+------------------------+------------------------+---------¦
¦ tryddevproject-14351 ¦ starting ¦ ~/tryddevproject-14351 ¦ ¦ php ¦
+----------------------+----------+------------------------+------------------------+---------¦
¦ Router ¦ stopped ¦ ~/.ddev ¦ http://127.0.0.1:10999 ¦ traefik ¦
+---------------------------------------------------------------------------------------------+
+----------------------------------+
¦ Project: tryddevproject-14351 ~/ ¦
¦ tryddevproject-14351 https://try ¦
¦ ddevproject-14351.ddev.site ¦
¦ Docker platform: docker-desktop ¦
¦ Router: traefik ¦
+----------------------------------¦
¦ SERVICE ¦ STAT ¦ URL/PORT ¦ INFO ¦
+---------+------+----------+------¦
+----------------------------------+
============= ddev-tryddevproject-14351-web healtcheck run =========
+ for f in /etc/bashrc/*.bashrc
+ source /etc/bashrc/commandline-addons.bashrc
++ export 'PATH=~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin'
++ PATH='~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin'
++ '[' -s /home/kiat/.nvm/nvm.sh ']'
++ '[' -s /home/kiat/.nvm/bash_completion ']'
++ '[' php = python ']'
++ '[' php = django4 ']'
+ unset f
++ ls '/home/kiat/.bashrc.d/*'
+ unset i
bash: rm -f /tmp/healthy && /healthcheck.sh: No such file or directory
============= ddev logs =========
+ set -eu -o pipefail
+ logpipe=/var/tmp/logpipe
+ [[ ! -p /var/tmp/logpipe ]]
+ mkfifo /var/tmp/logpipe
+ trap 'trap - SIGTERM && kill -- -1' SIGINT SIGTERM EXIT SIGHUP SIGQUIT
+ cat
============= contents of /mnt/ddev_config =========
Error response from daemon: No such container: ddev-d9-db
======== Curl of site from inside container:
Project is not currently running. Try 'ddev start'.
======== curl -I of http://tryddevproject-14351.ddev.site from outside:
curl: (7) Failed to connect to tryddevproject-14351.ddev.site port 80 after 97 ms: Connection refused
Unable to curl the requested project Please provide this output in a new gist at gist.github.com.
Please run cleanup after debugging with 'ddev debug testcleanup'
Failed running test_ddev.sh: exit status 1
. You can run it manually with `curl -sL -O https://raw.githubusercontent.com/ddev/ddev/master/cmd/ddev/cmd/scripts/test_ddev.sh && bash test_ddev.sh`
kiat@DESKTOP-7GLIBDK:~/openmage$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment