Skip to content

Instantly share code, notes, and snippets.

@mlncn
Created February 6, 2023 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlncn/41d43db802ef8c157feec6f593274fcd to your computer and use it in GitHub Desktop.
Save mlncn/41d43db802ef8c157feec6f593274fcd to your computer and use it in GitHub Desktop.
ddev debug test
Running bash [-c /tmp/test_ddev.sh]
======= Existing project config =========
These config files were loaded for project refer-laaha: [/home/mlncn/Projects/github/unicef/refer-laaha/.ddev/config.yaml]
name: refer-laaha
type: drupal9
docroot: docroot
php_version: 8.1
webserver_type: apache-fpm
webimage: drud/ddev-webserver:v1.21.4
router_http_port: 80
router_https_port: 443
additional_hostnames: [zw.refer-laaha bn.refer-laaha]
additional_fqdns: []
database: {mysql 5.7}
hooks: map[post-start:[map[exec-host:ddev nvm install v14.17.3 && ddev nvm use v14.17.3] map[exec:cat /var/www/html/.ddev/blt.example > /var/www/html/.ddev/commands/web/blt && chmod +x /var/www/html/.ddev/commands/web/blt]]]
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: 14
default_container_timeout: 120
======= Creating dummy project named tryddevproject-18238 in ../tryddevproject-18238 =========
OS Information: Linux d64 6.1.0-3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.8-1 (2023-01-29) x86_64 GNU/Linux
User information: uid=1000(mlncn) gid=1000(mlncn) groups=1000(mlncn),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),113(bluetooth),119(scanner),997(nordvpn),998(docker)
DDEV version: ITEM VALUE
DDEV version v1.21.4
architecture amd64
db drud/ddev-dbserver-mariadb-10.4:v1.21.4
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.21.4
docker 23.0.0
docker-compose v2.14.0
docker-platform d64
mutagen 0.16.0
os linux
router drud/ddev-router:v1.21.4
web drud/ddev-webserver:v1.21.4
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
======= DOCKER info =========
docker location: -rwxr-xr-x 1 root root 35656040 Feb 1 12:43 /usr/bin/docker
docker version:
Client: Docker Engine - Community
Version: 23.0.0
API version: 1.42
Go version: go1.19.5
Git commit: e92dd87
Built: Wed Feb 1 17:43:17 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.0
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: d7573ab
Built: Wed Feb 1 17:43:17 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.16
GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec
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: d64
Using docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.14.0
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 23.0.0
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 1.8T 1.0T 818.6G 56% /
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
bb672d0c6207 zeitoffers_http "/usr/sbin/apache2ct…" 5 months ago Exited (137) 5 months ago zeitoffers_http_1
4d22e77401f6 zeitoffers_app "docker-entrypoint.s…" 5 months ago Exited (0) 5 months ago zeitoffers_app_1
1742822fc606 redis:5 "docker-entrypoint.s…" 5 months ago Exited (0) 5 months ago zeitoffers_cache_1
dc33f01111e4 postgres:13 "docker-entrypoint.s…" 5 months ago Exited (0) 5 months ago zeitoffers_db_1
9e4514fdc9d2 angelnu/exim "/bin/entrypoint.sh …" 5 months ago Exited (1) 5 months ago zeitoffers_mail_1
2d38998cc64d traefik:2.2.0 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago landoproxyhyperion5000gandalfedition_proxy_1
19cfdfbc0b15 bitnami/mysql:5.7.29-debian-10-r51 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_vss_1
0c27b51d53ff bitnami/mysql:5.7.29-debian-10-r51 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_database_1
f99aa2bdebec solr:7 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_search_1
9c77d02ccda9 bitnami/mysql:5.7.29-debian-10-r51 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_erpw_1
6a80c27125f4 bitnami/memcached:1.6.1-debian-10-r4 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_cache_1
5e1cf0cdfa59 devwithlando/php:7.4-apache-4 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_appserver_1
828ed444fbeb node:14 "/lando-entrypoint.s…" 8 months ago Exited (137) 7 months ago vss_node_1
03428bc20bc8 54d047b73d78 "/bin/sh -c 'compose…" 9 months ago Exited (1) 9 months ago sharp_nobel
bf1eccf96bfd 5a2db08c9f3c "/bin/sh -c 'compose…" 9 months ago Exited (2) 9 months ago sleepy_bell
e2ee753af815 5a2db08c9f3c "/bin/sh -c 'compose…" 9 months ago Exited (2) 9 months ago modest_cannon
65215482a02d 4e28e3f5839d "/bin/sh -c 'apt-get…" 9 months ago Exited (100) 9 months ago serene_mcnulty
fcd307408206 7e2dcfcdea3d "/bin/sh -c 'export …" 11 months ago Exited (0) 11 months ago gifted_perlman
71a5dfd3d49c 0f0cec17904b "/bin/sh -c 'apt-get…" 11 months ago Exited (0) 11 months ago heuristic_benz
bce44c8e712a 0052ff799dd3 "/bin/sh -c '(groupa…" 11 months ago Exited (0) 11 months ago charming_borg
6442a7cf5c7a 31ab796b2ad6 "/bin/sh -c '#(nop) …" 11 months ago Created beautiful_raman
dc93504a40dd 5573e837e0ce "/bin/sh -c '#(nop) …" 11 months ago Created cranky_turing
22ba3ac5db4c deb569bfc126 "/bin/sh -c '#(nop) …" 11 months ago Created kind_jones
a1bb381263e1 b8c9ead67602 "/bin/sh -c 'chmod -…" 11 months ago Exited (0) 11 months ago inspiring_kirch
b7c485baa0bc 3f596434acef "/bin/sh -c 'bash -i…" 11 months ago Exited (0) 11 months ago jolly_robinson
983f4ee3dcf1 c6653517d955 "/bin/sh -c 'bash -i…" 11 months ago Exited (0) 11 months ago dreamy_hugle
709c95655667 34a9c056c1bc "/bin/sh -c 'echo \"s…" 11 months ago Exited (0) 11 months ago cranky_agnesi
3fc5601b199a 3bf62dcee459 "/bin/sh -c 'mkdir -…" 11 months ago Exited (0) 11 months ago wonderful_keldysh
3563ec99fce1 33d85787aaf8 "/bin/sh -c 'curl -s…" 11 months ago Exited (0) 11 months ago flamboyant_dhawan
7815437f2500 5a974a438679 "/bin/sh -c '#(nop) …" 11 months ago Created jovial_hugle
6cc735e42aa4 6fb0f2b0d779 "/bin/sh -c '#(nop) …" 11 months ago Created quirky_sinoussi
c0e1bdabc781 d7b43fed85d8 "/bin/sh -c 'export …" 11 months ago Exited (0) 11 months ago crazy_babbage
648f33de1cd1 c80ee47b686e "/bin/sh -c 'apt-get…" 11 months ago Exited (0) 11 months ago unruffled_nobel
3c40d3015e46 762ee512c029 "/bin/bash -c '(grou…" 11 months ago Exited (0) 11 months ago heuristic_solomon
960cf2cd31dd b96c3ab7c9f9 "/docker-entrypoint.…" 11 months ago Created agitated_chatelet
33780836d88d f8c24ffd2ccb "/docker-entrypoint.…" 11 months ago Created serene_meitner
190f52b76ef4 faedd2b28bfc "/docker-entrypoint.…" 11 months ago Created serene_robinson
03bef41666ec 9dbd18d0989f "/bin/sh -c 'export …" 11 months ago Exited (0) 11 months ago gifted_greider
a7f77c03cbe7 245e72501889 "/bin/sh -c 'cd fron…" 11 months ago Exited (1) 11 months ago loving_jackson
b228d4061828 245e72501889 "/bin/sh -c 'cd fron…" 11 months ago Exited (1) 11 months ago confident_wing
f1e2e448ec96 245e72501889 "/bin/sh -c 'cd fron…" 11 months ago Exited (1) 11 months ago competent_mendeleev
ad13da6171bf 599717e8836c "/bin/sh -c 'export …" 11 months ago Exited (0) 11 months ago ecstatic_mendel
f34cececf2b6 c80ee47b686e "/bin/sh -c 'apt-get…" 11 months ago Exited (0) 11 months ago friendly_morse
75de6ac1627b 3a218406bac1 "/bin/sh -c 'apt-get…" 11 months ago Exited (100) 11 months ago pedantic_mirzakhani
b67bed55e6da 6699aba59f37 "/bin/sh -c 'export …" 11 months ago Exited (0) 11 months ago confident_bhaskara
5fecf4d75bf2 8fe0d65e9b86 "/bin/sh -c 'apt-get…" 11 months ago Exited (0) 11 months ago agitated_bohr
d7fdc6597fd8 9bb01d83d72e "/bin/sh -c '(groupa…" 11 months ago Exited (0) 11 months ago gallant_moore
93530b5ba743 4bcbdfa73351 "/bin/sh -c '#(nop) …" 11 months ago Created great_moser
019d2f5d0171 76a72f32095f "/bin/sh -c '#(nop) …" 11 months ago Created boring_colden
4a791e0334c7 3ce65fd1594d "/bin/sh -c '#(nop) …" 11 months ago Created sharp_lumiere
ce8d90019101 091a7d7cf225 "/bin/sh -c 'sudo ap…" 11 months ago Exited (0) 11 months ago serene_kowalevski
06c206d8b4b8 c22ee2211605 "/bin/sh -c 'echo \"d…" 11 months ago Exited (0) 11 months ago thirsty_varahamihira
f64d78bc0ae2 6fb0f2b0d779 "/bin/sh -c 'curl -s…" 11 months ago Exited (0) 11 months ago suspicious_kalam
a0e5b536d3cc 5cd4ccd8c255 "/bin/bash -c '(grou…" 11 months ago Exited (0) 11 months ago trusting_rhodes
2039dadb376e 8752c83e7076 "/docker-entrypoint.…" 11 months ago Created sleepy_joliot
ad756050ecaa e3c30f380e48 "/docker-entrypoint.…" 11 months ago Created vibrant_lalande
56813d4653c4 e0b33608be1f "/docker-entrypoint.…" 11 months ago Created hungry_shannon
73286d6da921 371b9fde27a4 "/bin/sh -c 'mkdir .…" 11 months ago Exited (1) 11 months ago clever_archimedes
c49425055284 9dbd18d0989f "/bin/sh -c 'export …" 12 months ago Exited (0) 12 months ago sweet_morse
9a73f71767b2 c80ee47b686e "/bin/sh -c 'apt-get…" 12 months ago Exited (0) 12 months ago hardcore_euclid
6613c5b595b2 1af8b57857e4 "/bin/bash -c '(grou…" 12 months ago Exited (0) 12 months ago thirsty_pascal
55f3f23eb2d2 0256c8d08006 "/docker-entrypoint.…" 12 months ago Created pensive_beaver
3440abf17574 537d8f9d6edf "/docker-entrypoint.…" 12 months ago Created wonderful_elgamal
a8b13ea0ac04 f400efb90e64 "/docker-entrypoint.…" 12 months ago Created festive_northcutt
3fdda7a5fec7 059c0a871495 "/bin/sh -c 'export …" 12 months ago Exited (0) 12 months ago strange_goodall
c887d1758d00 c80ee47b686e "/bin/sh -c 'apt-get…" 12 months ago Exited (0) 12 months ago jovial_poincare
8514c25dde78 309c7b4bfa55 "/bin/bash -c '(grou…" 12 months ago Exited (0) 12 months ago xenodochial_golick
dd885d06858d 5a8ce506f7be "/docker-entrypoint.…" 12 months ago Created blissful_wozniak
d818ed2b82c7 9eb6f0c1cb68 "/docker-entrypoint.…" 12 months ago Created bold_franklin
78344acf3b3b d768020f6e61 "/docker-entrypoint.…" 12 months ago Created agitated_banzai
8306e2802413 83af583d3dc7 "/bin/sh -c 'sed -i …" 12 months ago Exited (4) 12 months ago keen_dhawan
b92ce1b93589 83af583d3dc7 "/bin/sh -c 'sed -i …" 12 months ago Exited (4) 12 months ago determined_black
91752b567fa1 eda838ded0c0 "/bin/sh -c 'compose…" 12 months ago Exited (1) 12 months ago nostalgic_nobel
e373ded4ce19 361eb081dfa9 "/bin/sh -c 'chmod +…" 12 months ago Exited (1) 12 months ago beautiful_cori
8d45014c514d a1c7123a6cd5 "/bin/sh -c 'compose…" 12 months ago Exited (1) 12 months ago vigorous_hamilton
bce54e789298 a1c7123a6cd5 "/bin/sh -c 'compose…" 12 months ago Exited (1) 12 months ago busy_nightingale
303ec426047f a1c7123a6cd5 "/bin/sh -c 'compose…" 12 months ago Exited (1) 12 months ago musing_boyd
2baf83b6afb5 ed5553a3ea27 "/bin/sh -c 'compose…" 12 months ago Exited (1) 12 months ago elastic_haibt
30e3f1c22c35 f4e826115d25 "/bin/sh -c 'make al…" 12 months ago Exited (2) 12 months ago blissful_albattani
002fc9470df8 b9fd101ce6b1 "/bin/sh -c 'wget ht…" 12 months ago Exited (127) 12 months ago quizzical_volhard
d0e93495d985 97956df3caa6 "/bin/sh -c 'make al…" 12 months ago Exited (2) 12 months ago optimistic_zhukovsky
9d45a09fc61d f489ce27a796 "/bin/sh -c 'make al…" 12 months ago Exited (2) 12 months ago gifted_elion
e78d45085530 fce244532eac "/bin/bash -c '(grou…" 12 months ago Exited (0) 12 months ago agitated_blackburn
a0c12c097d6d a0b8b028ae02 "/docker-entrypoint.…" 12 months ago Created zen_moore
7b15463505a4 67ec95f3fcae "/docker-entrypoint.…" 12 months ago Created angry_euler
3da8b90fc732 dcb9893db8ea "/docker-entrypoint.…" 12 months ago Created priceless_hermann
ba1f32d8572b c80ee47b686e "/bin/sh -c 'export …" 12 months ago Exited (0) 12 months ago recursing_euler
6bfce9f1e7a9 ea82b46dfe2d "/bin/sh -c '(groupa…" 12 months ago Exited (0) 12 months ago great_bohr
e4ba89627b79 934238ca45f1 "/bin/sh -c '#(nop) …" 12 months ago Created crazy_burnell
444a9c05766d 79cd44414a25 "/bin/sh -c '#(nop) …" 12 months ago Created confident_einstein
cb5e1aaa02be 6fb0f2b0d779 "/bin/sh -c '#(nop) …" 12 months ago Created elegant_nash
2af1259d16a0 postgres "docker-entrypoint.s…" 15 months ago Exited (0) 14 months ago nichq_data_db
28e5ed6eea45 b072b3b39fd6 "/bin/sh -c 'apt-get…" 20 months ago Exited (100) 20 months ago ecstatic_chaum
Creating a new ddev project config in the current directory (/home/mlncn/Projects/github/unicef/tryddevproject-18238)
Once completed, your configuration will be written to /home/mlncn/Projects/github/unicef/tryddevproject-18238/.ddev/config.yaml
Configuring unrecognized codebase as project type 'php' at /home/mlncn/Projects/github/unicef/tryddevproject-18238/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-18238...
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.
v1.21.4: Pulling from drud/ddev-dbserver-mariadb-10.4
eaead16dc43b: Already exists
4f6f4832182b: Already exists
6eed3156c415: Already exists
d1adc5c9f5ec: Already exists
8c6e90cd3bce: Pull complete
0a943b84fc5e: Pull complete
8a1ebae0292e: Pull complete
4c453d3ec96a: Pull complete
091753d73a61: Pull complete
4f4fb700ef54: Pull complete
470c65d6870b: Pull complete
d622174569ee: Pull complete
3761859d25e2: Pull complete
00e6823ffd43: Pull complete
28e4ef8d403a: Pull complete
07f879e47d15: Pull complete
b609af14d61e: Pull complete
ba2fe62f9c14: Pull complete
1aded145b58a: Pull complete
81773c55f882: Pull complete
2d8ba6541302: Pull complete
df82d64d04ad: Pull complete
38f28aadf957: Pull complete
eff832d7f458: Pull complete
Digest: sha256:5e984b34c9038be9904d4314abc393aa0e9b4607b3538d586b5cd2e2abb41271
Status: Downloaded newer image for drud/ddev-dbserver-mariadb-10.4:v1.21.4
docker.io/drud/ddev-dbserver-mariadb-10.4:v1.21.4
Network ddev-tryddevproject-18238_default Created
Container ddev-tryddevproject-18238-db Started
Container ddev-tryddevproject-18238-dba Started
Container ddev-tryddevproject-18238-web Started
Container ddev-router Started
Successfully started tryddevproject-18238
Project can be reached at https://tryddevproject-18238.ddev.site https://127.0.0.1:32771
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 06 Feb 2023 02:28:10 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== curl -I of http://tryddevproject-18238.ddev.site from outside:
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Mon, 06 Feb 2023 02:28:10 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== full curl of http://tryddevproject-18238.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-18238'
======== Project ownership on host:
drwxr-xr-x 4 mlncn mlncn 30 Feb 5 21:27 ../tryddevproject-18238
======== Project ownership in container:
drwxr-xr-x 4 mlncn mlncn 30 Feb 6 02:27 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/d64--vg-root xfs 1950516704 1092904108 857612596 57% /var/www/html
======== curl again of tryddevproject-18238 from host:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-18238'
Thanks for running the diagnostic. It was successful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment