-
-
Notifications
You must be signed in to change notification settings - Fork 693
Description
Preliminary checklist
- I am using the latest stable version of DDEV (see upgrade guide)
- I have searched existing issues
- I have checked the troubleshooting guide
- I have run
ddev debug testto include output below
Output of ddev debug test
Expand `ddev debug test` diagnostic information
======== Output file will be in /tmp/ddev-debug-test.txt ========
======== Existing project config ========
ddev installation alternate locations:
/usr/bin/ddev
/bin/ddev
These config files were loaded for project mukurtu-test4: [/home/nate/Sites/mukurtu-test4/.ddev/config.yaml]
name: mukurtu-test4
type: drupal
docroot: web
php_version: 8.2
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.23.5
additional_hostnames: []
additional_fqdns: []
database: {mariadb 10.11}
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 20
default_container_timeout: 120
======== existing project customizations ========
======== installed DDEV add-ons ========
No registered add-ons were found.
======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /home/nate/Sites/mukurtu-test4
.ddev/mutagen/mutagen.yml not found
======== Creating dummy project named tryddevproject-14339 in ../tryddevproject-14339 ========
Creating a new DDEV project config in the current directory (/home/nate/Sites/tryddevproject-14339)
Once completed, your configuration will be written to /home/nate/Sites/tryddevproject-14339/.ddev/config.yaml
Configuring a 'php' project named 'tryddevproject-14339' with docroot 'web' at '/home/nate/Sites/tryddevproject-14339/web'.
For full details use 'ddev describe'.
Configuration complete. You may now run 'ddev start'.
======== OS Information ========
Linux natex1 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
======== User information ========
uid=1000(nate) gid=1000(nate) groups=1000(nate),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),100(users),114(lpadmin),983(docker),984(ollama),992(render)
======== DDEV version ========
ITEM VALUE
DDEV version v1.23.5
architecture amd64
cgo_enabled 0
db ddev/ddev-dbserver-mariadb-10.11:v1.23.5
ddev-ssh-agent ddev/ddev-ssh-agent:v1.23.5
docker 27.3.1
docker-api 1.47
docker-compose v2.29.7
docker-platform linux-docker
global-ddev-dir /home/nate/.ddev
mutagen 0.17.2
os linux
router ddev/ddev-traefik-router:v1.23.5
web ddev/ddev-webserver:v1.23.5
======== proxy settings ========
HTTP_PROXY=''
HTTPS_PROXY=''
http_proxy=''
NO_PROXY=''
======== DDEV global info ========
developer-mode=false
disable-http2=false
fail-on-hook-fail=false
instrumentation-opt-in=true
instrumentation-queue-size=0
instrumentation-reporting-interval=0s
instrumentation-user=
internet-detection-timeout-ms=3000
last-started-version=v1.23.5
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=/home/nate/.local/share/mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=none
project-tld=ddev.site
required-docker-compose-version=v2.29.7
router=traefik
router-bind-all-interfaces=false
router-http-port=80
router-https-port=443
simple-formatting=false
table-style=default
traefik-monitor-port=10999
use-docker-compose-from-path=false
use-hardened-images=false
use-letsencrypt=false
wsl2-no-windows-hosts-mgt=false
xdebug-ide-location=
======== DOCKER provider info ========
docker client location: -rwxr-xr-x 1 root root 40937024 Sep 20 04:40 /usr/bin/docker
docker client alternate locations:
/usr/bin/docker
/bin/docker
Docker provider: linux-docker
docker version:
Client: Docker Engine - Community
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:40:59 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:40:59 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.23
GitCommit: 57f17b0a6295a39009d861b89e3b3b87b005ca27
runc:
Version: 1.1.14
GitCommit: v1.1.14-0-g2c9f560
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
Docker platform: linux-docker
Using Docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.29.7
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 27.3.1
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 934.8G 359.2G 528.0G 40% /
======== Existing docker containers ========
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0cb909a3521e ghcr.io/matatonic/openedai-speech-rocm "/bin/sh -c 'bash st…" 13 hours ago Up 11 hours 0.0.0.0:5002->8000/tcp, [::]:5002->8000/tcp openedai-speech-server-1
1316179b045e ghcr.io/open-webui/open-webui:main "bash start.sh" 4 weeks ago Up 11 days (healthy) open-webui
======== mkcert information ========
/usr/bin/mkcert
/bin/mkcert
/home/nate/.local/share/mkcert
total 8
-r-------- 1 nate nate 2484 Jun 16 2020 rootCA-key.pem
-rw-r--r-- 1 nate nate 1744 Jun 16 2020 rootCA.pem
======== ping attempt on ddev.site ========
PING dkdkd.ddev.site (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.041 ms
--- dkdkd.ddev.site ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.041/0.041/0.041/0.000 ms
======== ddev debug rebuild ========
Rebuilding project images...
Rebuilding project tryddevproject-14339 with `/home/nate/.ddev/bin/docker-compose -f /home/nate/Sites/tryddevproject-14339/.ddev/.ddev-docker-compose-full.yaml --progress plain build web --no-cache`
#0 building with "default" instance using docker driver
#1 [web internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.36kB done
#1 DONE 0.0s
#2 [web internal] load metadata for docker.io/ddev/ddev-webserver:v1.23.5
#2 DONE 0.0s
#3 [web internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [web 1/8] FROM docker.io/ddev/ddev-webserver:v1.23.5
#4 CACHED
#5 [web 2/8] RUN (groupadd --gid 1000 "nate" || groupadd "nate" || true) && (useradd -l -m -s "/bin/bash" --gid "nate" --comment '' --uid 1000 "nate" || useradd -l -m -s "/bin/bash" --gid "nate" --comment '' "nate" || useradd -l -m -s "/bin/bash" --gid "1000" --comment '' "nate" || useradd -l -m -s "/bin/bash" --comment '' nate )
#5 DONE 0.2s
#6 [web 3/8] RUN mkdir -p /home/nate && chown nate /home/nate && chmod 600 /home/nate/.pgpass
#6 DONE 0.2s
#7 [web 4/8] RUN mariadb-client-install.sh || true
#7 0.182 This script is not intended to run with mariadb:10.11
#7 DONE 0.2s
#8 [web 5/8] RUN export XDEBUG_MODE=off; composer self-update --stable || composer self-update --stable || true; composer self-update --2 || log-stderr.sh composer self-update --2 || true
#8 0.256 Storing "stable" as default update channel for the next self-update run.
#8 0.507 Upgrading to version 2.8.3 (stable channel).
#8 0.584
#8 1.140 Use composer self-update --rollback to return to version 2.8.1
#8 1.507 You are already using the latest available Composer version 2.8.3 (2.x channel).
#8 DONE 1.5s
#9 [web 6/8] RUN apt-get update
#9 0.317 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#9 0.363 Get:2 https://packages.sury.org/php bookworm InRelease [7551 B]
#9 0.365 Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#9 0.383 Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#9 0.449 Get:5 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm InRelease [3675 B]
#9 0.489 Get:6 http://deb.debian.org/debian bookworm/main amd64 Packages [8789 kB]
#9 0.549 Get:7 https://packages.sury.org/php bookworm/main amd64 Packages [244 kB]
#9 0.578 Get:8 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm InRelease [3681 B]
#9 0.599 Get:9 http://nginx.org/packages/debian bookworm InRelease [2869 B]
#9 0.637 Get:11 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [2468 B]
#9 0.684 Get:12 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
#9 0.719 Get:13 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm InRelease [4422 B]
#9 0.735 Get:10 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm InRelease [4625 B]
#9 0.823 Get:14 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm/main amd64 Packages [4384 B]
#9 0.946 Get:15 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm/main amd64 Packages [3235 B]
#9 0.965 Get:16 http://nginx.org/packages/debian bookworm/nginx amd64 Packages [14.9 kB]
#9 1.035 Get:17 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm/main amd64 Packages [7810 B]
#9 1.279 Get:18 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm/main arm64 Packages [34.5 kB]
#9 1.288 Get:19 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease [129 kB]
#9 1.566 Get:20 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian bookworm/main amd64 Packages [41.2 kB]
#9 1.898 Get:21 https://apt.postgresql.org/pub/repos/apt bookworm-pgdg/main amd64 Packages [359 kB]
#9 2.145 Fetched 10.1 MB in 2s (5250 kB/s)
#9 2.145 Reading package lists...
#9 DONE 2.6s
#10 [web 7/8] RUN curl -I https://www.google.com
#10 0.157 % Total % Received % Xferd Average Speed Time Time Time Current
#10 0.157 Dload Upload Total Spent Left Speed
#10 0.157
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#10 0.204 HTTP/2 200
#10 0.204 content-type: text/html; charset=ISO-8859-1
#10 0.204 content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-d2cUGG1WKN3jEV_Vp3NISg' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
#10 0.204 accept-ch: Sec-CH-Prefers-Color-Scheme
#10 0.204 p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
#10 0.204 date: Fri, 22 Nov 2024 19:01:30 GMT
#10 0.204 server: gws
#10 0.204 x-xss-protection: 0
#10 0.204 x-frame-options: SAMEORIGIN
#10 0.204 expires: Fri, 22 Nov 2024 19:01:30 GMT
#10 0.204 cache-control: private
#10 0.204 set-cookie: AEC=AZ6Zc-VgBtzy0nTeZUvUq0WPIDn1O8F8a5mh4tM1WFvhr1Qvasw6kNRoLQ; expires=Wed, 21-May-2025 19:01:30 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
#10 0.204 set-cookie: NID=519=l-jnlYPvVRfXsPufj5uXznropHOo273gPBPg5LLkOeRNFjxH8pnv1sGROFEXIKjy4mH5-6sOYiRUzEQPveXXBChAVmocApaYEcm8QEX3vhrYGJ76i6d_MzTvG5hf3HuNofLwOHnj5U6Wn2vWOR2bSXu8RV4Oq0OftXLtdS1fUqFdgQVHcQeBiKwWFPSI8UDYFTKbxQ; expires=Sat, 24-May-2025 19:01:30 GMT; path=/; domain=.google.com; HttpOnly
#10 0.204 alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
#10 0.204
#10 DONE 0.2s
#11 [web 8/8] RUN chmod 777 /run/php /var/log
#11 DONE 0.2s
#12 [web] exporting to image
#12 exporting layers 0.1s done
#12 writing image sha256:8aba2b6042b63a8db73588df7b208bd7543fda51f3aea18fbfa90126a8d6f407 done
#12 naming to docker.io/ddev/ddev-webserver:v1.23.5-tryddevproject-14339-built done
#12 DONE 0.1s
#13 [web] resolving provenance for metadata file
#13 DONE 0.0s
Rebuilt Docker cache for project tryddevproject-14339 in 5s
Network ddev_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 1s.
Network ddev-tryddevproject-14339_default Created
Container ddev-tryddevproject-14339-web Created
Container ddev-tryddevproject-14339-db Created
Container ddev-tryddevproject-14339-web Started
Container ddev-tryddevproject-14339-db Started
Waiting for containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Created
Container ddev-router Started
======== Project startup ========
Starting tryddevproject-14339...
2024-11-22T11:01:55.623 GetAvailableRouterPort(): Router is healthy and running
2024-11-22T11:01:55.624 GetAvailableRouterPort(): proposedPort 80 already bound on ddev-router, accepting it
2024-11-22T11:01:55.625 GetAvailableRouterPort(): Router is healthy and running
2024-11-22T11:01:55.627 GetAvailableRouterPort(): proposedPort 443 already bound on ddev-router, accepting it
2024-11-22T11:01:55.628 GetAvailableRouterPort(): Router is healthy and running
2024-11-22T11:01:55.629 GetAvailableRouterPort(): proposedPort 8025 already bound on ddev-router, accepting it
2024-11-22T11:01:55.63 GetAvailableRouterPort(): Router is healthy and running
2024-11-22T11:01:55.631 GetAvailableRouterPort(): proposedPort 8026 already bound on ddev-router, accepting it
2024-11-22T11:01:55.65 Pulled image for ddev/ddev-webserver:v1.23.5
2024-11-22T11:01:55.65 Pulled image for busybox:stable
2024-11-22T11:01:55.65 Pulled image for ddev/ddev-utilities
2024-11-22T11:01:55.651 Pulled image for ddev/ddev-ssh-agent:v1.23.5
2024-11-22T11:01:55.651 Pulled image for ddev/ddev-traefik-router:v1.23.5
2024-11-22T11:01:56.281 chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-11-22T11:01:56.685 done chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-11-22T11:01:56.693 host.docker.internal='' runtime.GOOS==linux and docker 20.10+
2024-11-22T11:01:56.699 Using automatically detected timezone: TZ=America/Los_Angeles
2024-11-22T11:01:56.751 Pulled image for ddev/ddev-dbserver-mariadb-10.11:v1.23.5
2024-11-22T11:01:56.751 Pulled image for ddev/ddev-webserver:v1.23.5
2024-11-22T11:01:56.752 Pulled image for ddev/ddev-traefik-router:v1.23.5
2024-11-22T11:01:56.753 Pulled image for ddev/ddev-ssh-agent:v1.23.5
Building project images...
2024-11-22T11:01:56.754 Executing docker-compose -f /home/nate/Sites/tryddevproject-14339/.ddev/.ddev-docker-compose-full.yaml build --progress=plain
.Project images built in 1s.
2024-11-22T11:01:58.111 Removing dangling images for the project ddev-tryddevproject-14339
2024-11-22T11:01:58.116 Executing docker-compose -f /home/nate/Sites/tryddevproject-14339/.ddev/.ddev-docker-compose-full.yaml up -d
Container ddev-tryddevproject-14339-db Recreate
Container ddev-tryddevproject-14339-web Recreate
Container ddev-tryddevproject-14339-db Recreated
Container ddev-tryddevproject-14339-web Recreated
Container ddev-tryddevproject-14339-web Started
Container ddev-tryddevproject-14339-db Started
2024-11-22T11:02:09.216 VIRTUAL_HOST=tryddevproject-14339.ddev.site for web
2024-11-22T11:02:09.216 HTTP_EXPOSE=80:80,8025:8025 for web
2024-11-22T11:02:09.216 HTTPS_EXPOSE=443:80,8026:8025 for web
2024-11-22T11:02:09.639 Copied /home/nate/Sites/tryddevproject-14339/.ddev/traefik:CopyIntoVolume_eixfrhfjijgk into /mnt/v/traefik in 49.277035ms
2024-11-22T11:02:09.686 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-11-22T11:02:09.808 Copied Traefik certs in /home/nate/Sites/tryddevproject-14339/.ddev/traefik/certs to ddev-global-cache/traefik
2024-11-22T11:02:09.808 Running /start.sh in ddev-webserver
Waiting for containers to become ready: [web db]
2024-11-22T11:02:14.718 Copied /home/nate/.ddev/commands:CopyIntoVolume_uykrqqslwjkw into /mnt/v/global-commands in 45.894566ms
2024-11-22T11:02:14.761 Exec chown -R 1000 /mnt/v/global-commands stdout=, stderr=, err=<nil>
2024-11-22T11:02:14.964 Testing to see if /mnt/ddev_config is properly mounted
2024-11-22T11:02:15.081 Getting stderr output from 'log-stderr.sh --show'
Starting ddev-router if necessary...
2024-11-22T11:02:15.748 Copied /home/nate/.ddev/traefik:CopyIntoVolume_ohlzkqdauujg into /mnt/v/traefik in 57.219476ms
2024-11-22T11:02:15.8 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-11-22T11:02:15.913 Copied global Traefik config in /home/nate/.ddev/traefik/certs to ddev-global-cache/traefik
Container ddev-router Running
2024-11-22T11:02:15.952 Waiting for ddev-router to become ready. docker inspect --format "{{json .State.Health }}" ddev-router
2024-11-22T11:02:16.456 ddev-router is ready
Successfully started tryddevproject-14339
Your project can be reached at https://tryddevproject-14339.ddev.site
See 'ddev describe' for alternate URLs.
======== Curl of site from inside container ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 22 Nov 2024 19:02:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== curl -I of http://127.0.0.1:33035 (web container http docker bind port) from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 22 Nov 2024 19:02:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== curl -I of http://tryddevproject-14339.ddev.site (router http URL) from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Fri, 22 Nov 2024 19:02:18 GMT
Server: nginx
Vary: Accept-Encoding
======== Full curl of http://tryddevproject-14339.ddev.site (router http URL) from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 198 0 198 0 0 38861 0 --:--:-- --:--:-- --:--:-- 49500
Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>/tmp/ddev-debug-test.txt</b><br />
file:///tmp/ddev-debug-test.txt<br />
======== Full curl of https://tryddevproject-14339.ddev.site (router https URL) from outside ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 198 0 198 0 0 6414 0 --:--:-- --:--:-- --:--:-- 6600
Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>/tmp/ddev-debug-test.txt</b><br />
file:///tmp/ddev-debug-test.txt<br />
======== Curl google.com to check internet access and VPN ========
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/2 200
content-type: text/html; charset=ISO-8859-1
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-dHQvqvKvxvLcgGE1FfHPoA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
accept-ch: Sec-CH-Prefers-Color-Scheme
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
date: Fri, 22 Nov 2024 19:02:18 GMT
server: gws
x-xss-protection: 0
x-frame-options: SAMEORIGIN
expires: Fri, 22 Nov 2024 19:02:18 GMT
cache-control: private
set-cookie: AEC=AZ6Zc-VRv5zsJubnG4uZSBKb9lB2XMELwrSAPduh-Pnr1dUsKS5viRhloA; expires=Wed, 21-May-2025 19:02:18 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
set-cookie: NID=519=l4B8ye1clr71ctD-Dcz9-9SGOkhUPc0cXIO09rkQzg530ku40F70r5wME-AJ3ZZn4aS1HHWEXccdVz63FtVa78ItmF1-VHjEjczDD3mdBw_UEmI-034ijNXtzcn7dfuTCDztPJ468penQbmneE58NUVzqaIfQBglfmZMmIck7I3xyk_5gvFon8oYEAizc3GP4R_b_w; expires=Sat, 24-May-2025 19:02:18 GMT; path=/; domain=.google.com; HttpOnly
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
======== host.docker.internal status ========
PING host.docker.internal (172.17.0.1) 56(84) bytes of data.
64 bytes from host.docker.internal (172.17.0.1): icmp_seq=1 ttl=64 time=0.081 ms
--- host.docker.internal ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.081/0.081/0.081/0.000 ms
======== Project ownership on host ========
drwxrwxr-x 4 nate nate 4096 Nov 22 11:01 ../tryddevproject-14339
======== Project ownership in container ========
drwxrwxr-x 4 nate nate 4096 Nov 22 11:01 //var/www/html
======== In-container filesystem ========
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/ubuntu--vg-ubuntu--lv ext4 980211368 376841580 553504060 41% /var/www/html
======== Thanks for running the diagnostic! ========
Running ddev launch in 3 seconds
Running ddev launch
Waiting for ddev launch to complete before deleting project
Gtk-Message: 11:02:22.579: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Cleanup: deleting test project tryddevproject-14339
Container ddev-tryddevproject-14339-db Stopped
Expected Behavior
Most of the CMS quickstarts install via composer, such as ddev composer create drupal/recommended-project:^11. I got tripped up installing a new project via composer because I thought it would be a good idea to specify the directory as the current directory like this:
ddev composer create drupal/recommended-project:^11 .
That trailing dot indicating "current directory" results in Composer throwing an error 100% of the time:
This is because the .ddev directory is by definition always going to be in the current directory. Composer's empty directory check does not allow any files, including hidden files or VCS files, here's their snippet of checking for an empty directory:
$finder = Finder::create()
->ignoreVCS(false)
->ignoreDotFiles(false)
->depth(0)
->in($dir);
However, as demonstrated in the CMS quickstarts, simply eliminating the . fixes the problem. DDEV apparently installs the package into a temporary directory:
And then eventually, I'm guessing it copies all the files into the final install location.
So my request here is that either:
A) Document that specifying the current directory . will never work. The Developer Tools page would be a good location.
B) Make ddev composer create <project> . strip off or ignore a path of only the current directory, and make it work the same as when the current directory is not specified.
Actual Behavior
Error:
In CreateProjectCommand.php line 369:
Project directory "/var/www/html/." is not empty.
Steps To Reproduce
Follow a CMS quickstart, but include the current directory path in the ddev composer create command:
mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal --php-version=8.3 --docroot=web
ddev start
ddev composer create drupal/recommended-project:^11 .
Anything else?
No response