Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have to restart ddev and kill docker-icontainer manually, to make ddev work again. #6216

Closed
4 tasks done
Padina42 opened this issue May 19, 2024 · 5 comments
Closed
4 tasks done

Comments

@Padina42
Copy link

Preliminary checklist

Output of ddev debug test

Expand `ddev debug test` diagnostic information
PS C:\php7\dueddelei> ddev debug test
Running C:\Program Files\Git\bin\bash.exe [-c /c/Users/DIETER~1/AppData/Local/Temp/test_ddev.sh C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt]
Resulting output will be written to:
C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
Please provide the file for support in Discord or the issue queue.
OK to stop running projects? This does no harm, and they will be restarted [Y/n] (yes): Y
Doing ddev poweroff but will restart projects at completion
 Container ddev-dueddelei-db  Stopped
 Container ddev-dueddelei-web  Stopped
 Container ddev-dueddelei-db  Stopped
 Container ddev-dueddelei-web  Stopped
 Container ddev-dueddelei-db  Removed
 Container ddev-dueddelei-web  Removed
 Network ddev-dueddelei_default  Removed
Project dueddelei has been stopped.
Stopped Mutagen daemon
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


======== Please make sure that you have already looked at troubleshooting guide ========
Troubleshooting guide: https://ddev.readthedocs.io/en/stable/users/usage/troubleshooting/
Simple things to check:
* ddev poweroff
* Restart Docker Provider
* Reboot computer
* Temporarily disable VPN and firewall
Press any key to continue:



======== Output file will be in C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt ========


======== Existing project config ========
ddev installation alternate locations:
/c/Program Files/DDEV/ddev



WARNING: Project should most often be in a subdirectory of the user's home directory.
Instead it's in /c/php7/dueddelei

These config files were loaded for project dueddelei: [C:\php7\dueddelei\.ddev\config.yaml]
name: dueddelei
type: typo3
docroot: web/
php_version: 8.2
webserver_type: nginx-fpm
webimage: ddev/ddev-webserver:v1.23.1
router_http_port: 80
router_https_port: 443
xdebug_enabled: true
additional_hostnames: []
additional_fqdns: [buergerstimmen.ddev.site tri-plan.ddev.site padina.ddev.site reaction.ddev.site mobger.ddev.site ich-schau-weg.ddev.site]
mariadb_version: 10.2
database: {mariadb 10.2}
hooks: map[post-start:[map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS testdb; GRANT ALL ON testdb.* TO 'root'@'%';"] map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS wikidb; GRANT ALL ON wikidb.* TO 'root'@'%';"] map[exec:mysql -uroot -proot -hdb -e "CREATE DATABASE IF NOT EXISTS qadb; GRANT ALL ON qadb.* TO 'root'@'%';"]]]
webimage_extra_packages: [php8.2-fileinfo php8.2-iconv php8.2-imap php8.2-intl php8.2-mbstring php8.2-pdo php8.2-yaml]
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 20
default_container_timeout: 240


======== existing project customizations ========
.ddev/php/timeout.ini


======== installed DDEV add-ons ========
No registered add-ons were found. Add-ons installed before DDEV v1.22.0 will not be listed.
Update them with `ddev get` so they'll be shown.


======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /c/php7/dueddelei
#ddev-generated
unmodified #ddev-generated found in .ddev/mutagen/mutagen.yml


======== Creating dummy project named tryddevproject-21813 in ../tryddevproject-21813 ========
Creating a new DDEV project config in the current directory (C:\php7\tryddevproject-21813)
Once completed, your configuration will be written to C:\php7\tryddevproject-21813\.ddev\config.yaml

Configuring a 'php' project with docroot 'web' at C:\php7\tryddevproject-21813\web
Configuration complete. You may now run 'ddev start'.


======== OS Information ========
MINGW64_NT-10.0-22631 LAPTOP-45GH6jUIO 3.1.7-340.x86_64 2020-10-23 13:08 UTC x86_64 Msys


======== User information ========
uid=197609(Dieter Porth) gid=197121 groups=197121


======== DDEV version ========
 ITEM             VALUE
 DDEV version     v1.23.1
 architecture     amd64
 cgo_enabled      0
 db               ddev/ddev-dbserver-mariadb-10.11:v1.23.1
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.23.1
 docker           24.0.7
 docker type      Docker Desktop For Windows
 docker-api       1.43
 docker-compose   v2.27.0
 docker-platform  docker-desktop
 mutagen          0.17.2
 os               windows
 router           ddev/ddev-traefik-router:v1.23.1
 web              ddev/ddev-webserver:v1.23.1



======== 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.1
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=C:\Users\Dieter Porth\AppData\Local\mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=mutagen
project-tld=ddev.site
required-docker-compose-version=v2.27.0
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 Dieter Porth 197121 1359 Apr  6 08:16 /c/Program Files/Docker/Docker/resources/bin/docker

docker client alternate locations:
/c/Program Files/Docker/Docker/resources/bin/docker

Docker provider: docker-desktop
Docker Desktop Version: Docker Desktop for Windows 4.26.1.131620

docker version:
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:44 2023
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.26.1 (131620)
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:02 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.25
  GitCommit:        d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

DOCKER_DEFAULT_PLATFORM=notset
Docker platform: docker-desktop
Using Docker context: default (npipe:////./pipe/docker_engine)
docker-compose: v2.27.0
Using DOCKER_HOST=npipe:////./pipe/docker_engine
Docker version: 24.0.7
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                  62.7G     19.0G     40.5G  32% /


======== Existing docker containers ========
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES


======== mkcert information ========
/c/ProgramData/chocolatey/bin/mkcert
C:\Users\Dieter Porth\AppData\Local\mkcert
total 8
-rw-r--r-- 1 Dieter Porth 197121 2484 Oct 28  2019 rootCA-key.pem
-rw-r--r-- 1 Dieter Porth 197121 1789 Oct 28  2019 rootCA.pem


======== ping attempt on ddev.site ========
Zugriff verweigert. F�r die Option "-c" sind Administratorberechtigungen erforderlich.


======== ddev debug refresh ========
Rebuilding project images...
Rebuilding web image with `C:\Users\Dieter Porth\.ddev\bin\docker-compose.exe -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml build web --no-cache`
2024/05/19 09:29:36 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
#0 building with "default" instance using docker driver

#1 [web internal] load .dockerignore
#1 transferring context: 2B 0.0s done
#1 DONE 0.1s

#2 [web internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.58kB 0.0s done
#2 DONE 0.1s

#3 [web internal] load metadata for docker.io/ddev/ddev-webserver:v1.23.1
#3 DONE 0.0s

#4 [web 1/9] FROM docker.io/ddev/ddev-webserver:v1.23.1
#4 CACHED

#5 [web 2/9] RUN (groupadd --gid 1000 "dieterporth" || groupadd "dieterporth" || true) && (useradd  -l -m -s "/bin/bash" --gid "dieterporth" --comment '' --uid 1000 "dieterporth" || useradd  -l -m -s "/bin/bash" --gid "dieterporth" --comment '' "dieterporth" || useradd  -l -m -s "/bin/bash" --gid "1000" --comment '' "dieterporth" || useradd -l -m -s "/bin/bash" --comment '' dieterporth )
#5 DONE 0.5s

#6 [web 3/9] RUN export XDEBUG_MODE=off; composer self-update --stable || composer self-update --stable || true; composer self-update --2 || composer self-update --2 || true
#6 0.883 Storing "stable" as default update channel for the next self-update run.
#6 1.084 You are already using the latest available Composer version 2.7.6 (stable channel).
#6 1.582 You are already using the latest available Composer version 2.7.6 (2.x channel).
#6 DONE 1.7s

#7 [web 4/9] RUN mkdir -p /home/dieterporth && chown dieterporth /home/dieterporth && chmod 600 /home/dieterporth/.pgpass
#7 DONE 0.4s

#8 [web 5/9] RUN npm install --global forever
#8 21.83 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
#8 21.97 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
#8 22.45 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
#8 23.34 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
#8 23.76 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
#8 24.69
#8 24.69 added 282 packages in 24s
#8 24.69
#8 24.69 45 packages are looking for funding
#8 24.69   run `npm fund` for details
#8 DONE 24.8s

#9 [web 6/9] RUN echo "Built on $(date)" > /build-date.txt
#9 DONE 0.5s

#10 [web 7/9] RUN apt update
#10 0.367
#10 0.367 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#10 0.367
#10 0.617 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#10 0.621 Get:2 http://nginx.org/packages/debian bookworm InRelease [2860 B]
#10 0.682 Get:3 https://packages.sury.org/php bookworm InRelease [7542 B]
#10 0.720 Get:4 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#10 0.740 Get:5 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
#10 0.799 Get:6 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#10 0.852 Get:7 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm InRelease [3675 B]
#10 0.861 Get:8 http://nginx.org/packages/debian bookworm/nginx amd64 Packages [7975 B]
#10 1.052 Get:9 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
#10 1.056 Get:10 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm InRelease [3675 B]
#10 1.225 Get:11 https://packages.sury.org/php bookworm/main amd64 Packages [229 kB]
#10 1.279 Get:12 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm InRelease [4422 B]
#10 1.808 Get:13 http://packages.blackfire.io/debian any InRelease [28.0 kB]
#10 1.897 Get:14 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [7318 B]
#10 2.111 Get:15 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
#10 2.171 Get:16 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [156 kB]
#10 2.374 Get:17 https://dl.cloudsmith.io/public/platformsh/cli/deb/debian bookworm/main amd64 Packages [3310 B]
#10 2.525 Get:18 https://dl.cloudsmith.io/public/platformsh/upsun-cli/deb/debian bookworm/main amd64 Packages [2193 B]
#10 2.640 Get:19 https://dl.cloudsmith.io/public/symfony/stable/deb/debian bookworm/main amd64 Packages [6917 B]
#10 3.751 Get:20 http://packages.blackfire.io/debian any/main amd64 Packages [26.0 kB]
#10 4.180 Fetched 9556 kB in 4s (2561 kB/s)
#10 4.180 Reading package lists...
#10 5.555 Building dependency tree...
#10 5.947 Reading state information...
#10 5.991 6 packages can be upgraded. Run 'apt list --upgradable' to see them.
#10 DONE 6.0s

#11 [web 8/9] RUN curl -I https://www.google.com
#11 0.470   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#11 0.470                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
#11 0.604 HTTP/2 200
#11 0.604 content-type: text/html; charset=ISO-8859-1
#11 0.604 content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-TNx1y4FCWw_zQuVEJqPf1w' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
#11 0.604 p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
#11 0.604 date: Sun, 19 May 2024 07:30:11 GMT
#11 0.604 server: gws
#11 0.604 x-xss-protection: 0
#11 0.604 x-frame-options: SAMEORIGIN
#11 0.604 expires: Sun, 19 May 2024 07:30:11 GMT
#11 0.604 cache-control: private
#11 0.604 set-cookie: AEC=AQTF6HyP3eGlvzEHiAzIydLy_jl8NgCtUK5rEJu7M15QFzEzNmK-Uq0PuQ; expires=Fri, 15-Nov-2024 07:30:11 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
#11 0.604 set-cookie: __Secure-ENID=19.SE=mdYODsD-3Z2W53K7VfruCGg1qSCrXP4MkpbI51nV8BcoLqX6JHclHlHDdEYkuKfYaa-pDg8OApj6SkoUO9xks7eezhYh1pUybOEadjjPcRPB4Os3SD2N_q8elC3tikBJr6FWmAP1dx7R9V5YMu_Wo_2l4Lw1o3A_AU6xDHHD71-8eFA; expires=Wed, 18-Jun-2025 23:48:29 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
#11 0.604 alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
#11 0.604
#11 DONE 0.6s

#12 [web 9/9] RUN chmod 777 /run/php
#12 DONE 0.4s

#13 [web] exporting to image
#13 exporting layers
#13 exporting layers 1.5s done
#13 writing image sha256:0f6cc7712013f55b60d12e93651c65a75c400ba2ab2c98a93b74516a12403236 done
#13 naming to docker.io/ddev/ddev-webserver:v1.23.1-tryddevproject-21813-built 0.0s done
#13 DONE 1.6s
Refreshed Docker cache for project tryddevproject-21813 in 38s
Network ddev_default created
2024/05/19 09:30:18 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
 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.
v1.23.1: Pulling from ddev/ddev-dbserver-mariadb-10.11
a8b1c5f80c2d: Pulling fs layer
d089a232b283: Pulling fs layer
e6a7853251a9: Pulling fs layer
a02c50173b46: Pulling fs layer
60cf01d97b1c: Pulling fs layer
8712b8a31288: Pulling fs layer
e2713dbe3052: Pulling fs layer
f0ffb22994e6: Pulling fs layer
4f4fb700ef54: Pulling fs layer
faa786aca2f0: Pulling fs layer
673fa2490007: Pulling fs layer
8712b8a31288: Waiting
e2713dbe3052: Waiting
f0ffb22994e6: Waiting
58fdfe1cd816: Pulling fs layer
fa157a347f2a: Pulling fs layer
106f935e70a6: Pulling fs layer
cfb652f93b52: Pulling fs layer
5851332ba810: Pulling fs layer
5399635ca190: Pulling fs layer
bade098f2205: Pulling fs layer
f601a7f30211: Pulling fs layer
94f7e7becbb2: Pulling fs layer
a84f9b9b9383: Pulling fs layer
db780a914fb6: Pulling fs layer
ab859101a885: Pulling fs layer
343b39bf175e: Pulling fs layer
4f4fb700ef54: Waiting
faa786aca2f0: Waiting
673fa2490007: Waiting
58fdfe1cd816: Waiting
fa157a347f2a: Waiting
106f935e70a6: Waiting
cfb652f93b52: Waiting
5851332ba810: Waiting
5399635ca190: Waiting
bade098f2205: Waiting
f601a7f30211: Waiting
94f7e7becbb2: Waiting
a84f9b9b9383: Waiting
db780a914fb6: Waiting
ab859101a885: Waiting
343b39bf175e: Waiting
a02c50173b46: Waiting
60cf01d97b1c: Waiting
d089a232b283: Verifying Checksum
d089a232b283: Download complete
a02c50173b46: Verifying Checksum
a02c50173b46: Download complete
e6a7853251a9: Verifying Checksum
e6a7853251a9: Download complete
60cf01d97b1c: Verifying Checksum
60cf01d97b1c: Download complete
e2713dbe3052: Verifying Checksum
e2713dbe3052: Download complete
f0ffb22994e6: Verifying Checksum
f0ffb22994e6: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
a8b1c5f80c2d: Verifying Checksum
a8b1c5f80c2d: Download complete
faa786aca2f0: Download complete
58fdfe1cd816: Download complete
fa157a347f2a: Download complete
106f935e70a6: Download complete
cfb652f93b52: Verifying Checksum
cfb652f93b52: Download complete
5851332ba810: Verifying Checksum
5851332ba810: Download complete
5399635ca190: Verifying Checksum
5399635ca190: Download complete
bade098f2205: Verifying Checksum
bade098f2205: Download complete
a8b1c5f80c2d: Pull complete
d089a232b283: Pull complete
f601a7f30211: Verifying Checksum
f601a7f30211: Download complete
94f7e7becbb2: Verifying Checksum
94f7e7becbb2: Download complete
673fa2490007: Verifying Checksum
673fa2490007: Download complete
a84f9b9b9383: Verifying Checksum
a84f9b9b9383: Download complete
8712b8a31288: Verifying Checksum
8712b8a31288: Download complete
db780a914fb6: Verifying Checksum
db780a914fb6: Download complete
ab859101a885: Download complete
343b39bf175e: Verifying Checksum
343b39bf175e: Download complete
e6a7853251a9: Pull complete
a02c50173b46: Pull complete
60cf01d97b1c: Pull complete
8712b8a31288: Pull complete
e2713dbe3052: Pull complete
f0ffb22994e6: Pull complete
4f4fb700ef54: Pull complete
faa786aca2f0: Pull complete
673fa2490007: Pull complete
58fdfe1cd816: Pull complete
fa157a347f2a: Pull complete
106f935e70a6: Pull complete
cfb652f93b52: Pull complete
5851332ba810: Pull complete
5399635ca190: Pull complete
bade098f2205: Pull complete
f601a7f30211: Pull complete
94f7e7becbb2: Pull complete
a84f9b9b9383: Pull complete
db780a914fb6: Pull complete
ab859101a885: Pull complete
343b39bf175e: Pull complete
Digest: sha256:cd01a6e8e211e5d09d9a9d2fa57a6de5d4d27a4a08bc7c2752a0dc6376884f3a
Status: Downloaded newer image for ddev/ddev-dbserver-mariadb-10.11:v1.23.1
docker.io/ddev/ddev-dbserver-mariadb-10.11:v1.23.1
Building project images...
..2024/05/19 09:31:12 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
....Project images built in 6s.
 Network ddev-tryddevproject-21813_default  Created
 Container ddev-tryddevproject-21813-db  Created
 Container ddev-tryddevproject-21813-web  Created
 Container ddev-tryddevproject-21813-db  Started
 Container ddev-tryddevproject-21813-web  Started
Starting Mutagen sync process...
..Mutagen sync flush completed in 21s.
For details on sync status 'ddev mutagen st tryddevproject-21813 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
 Container ddev-router  Created
 Container ddev-router  Started
Waiting for additional project containers to become ready...
All project containers are now ready.


======== Project startup ========
2024-05-19T09:33:34.554 Downloading remote config.
2024-05-19T09:33:35.45 termWidth: 80

 TIP OF THE DAY
 Try 'ddev pull upsun' with Upsun from Platform.sh, https://upsun.com

2024-05-19T09:33:35.46 termWidth: 80
2024-05-19T09:33:35.46 termWidth: 80
Starting tryddevproject-21813...
2024-05-19T09:33:38.087 Pulled image for ddev/ddev-webserver:v1.23.1
2024-05-19T09:33:38.105 Pulled image for busybox:stable
2024-05-19T09:33:38.116 Pulled image for ddev/ddev-ssh-agent:v1.23.1
2024-05-19T09:33:38.127 Pulled image for ddev/ddev-traefik-router:v1.23.1
2024-05-19T09:33:42.995 GetDockerContext: contextInfo='default npipe:////./pipe/docker_engine'
2024-05-19T09:33:42.995 Using Docker context default (npipe:////./pipe/docker_engine)
2024-05-19T09:33:49.214 chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-05-19T09:33:52.684 done chowning /mnt/ddev-global-cache and /var/lib/mysql to 1000
2024-05-19T09:33:53.127 host.docker.internal='' because no other case was discovered
2024-05-19T09:33:54.732 Pulled image for ddev/ddev-dbserver-mariadb-10.11:v1.23.1
2024-05-19T09:33:54.902 Pulled image for ddev/ddev-webserver:v1.23.1
2024-05-19T09:33:55.035 Pulled image for ddev/ddev-ssh-agent:v1.23.1
2024-05-19T09:33:55.14 Pulled image for ddev/ddev-traefik-router:v1.23.1
Building project images...
2024-05-19T09:33:55.352 Executing docker-compose -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml build --progress=plain
.....2024/05/19 09:33:59 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
2024/05/19 09:33:59 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed
...Project images built in 8s.
2024-05-19T09:34:03.48 Executing docker-compose -f C:\php7\tryddevproject-21813\.ddev\.ddev-docker-compose-full.yaml up -d
 Container ddev-tryddevproject-21813-db  Recreate
 Container ddev-tryddevproject-21813-web  Recreate
 Container ddev-tryddevproject-21813-db  Recreated
 Container ddev-tryddevproject-21813-web  Recreated
 Container ddev-tryddevproject-21813-db  Started
 Container ddev-tryddevproject-21813-web  Started
2024-05-19T09:34:21.32 VIRTUAL_HOST=tryddevproject-21813.ddev.site for web
2024-05-19T09:34:21.32 HTTP_EXPOSE=80:80,8025:8025 for web
2024-05-19T09:34:21.32 HTTPS_EXPOSE=443:80,8026:8025 for web
2024-05-19T09:34:26.74 Copied C:\php7\tryddevproject-21813\.ddev\traefik:CopyIntoVolume_uuvvpajuzzep into /mnt/v/traefik in 1.2760169s
2024-05-19T09:34:28.131 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-19T09:34:28.926 Copied Traefik certs in C:\php7\tryddevproject-21813\.ddev\traefik\certs to ddev-global-cache/traefik
Starting Mutagen sync process...
2024-05-19T09:34:30.785 Using Mutagen config file C:\php7\tryddevproject-21813\.ddev\mutagen\mutagen.yml
.2024-05-19T09:34:42.759 Mutagen status after sync: ok
Mutagen sync flush completed in 13s.
For details on sync status 'ddev mutagen st tryddevproject-21813 -l'
2024-05-19T09:34:42.761 Running /start.sh in ddev-webserver
Waiting for web/db containers to become ready: [web db]
2024-05-19T09:34:57.117 Copied C:\Users\Dieter Porth\.ddev\commands:CopyIntoVolume_yutejxrovyna into /mnt/v/global-commands in 248.3164ms
2024-05-19T09:34:57.277 Exec chown -R 1000 /mnt/v/global-commands stdout=, stderr=, err=<nil>
2024-05-19T09:34:58.573 Testing to see if /mnt/ddev_config is properly mounted
Starting ddev-router if necessary...
2024-05-19T09:35:03.277 Copied C:\Users\Dieter Porth\.ddev\traefik:CopyIntoVolume_kijxuimvwkso into /mnt/v/traefik in 410.078ms
2024-05-19T09:35:03.528 Exec chown -R 1000 /mnt/v/traefik stdout=, stderr=, err=<nil>
2024-05-19T09:35:04.27 Copied global Traefik config in C:\Users\Dieter Porth\.ddev\traefik\certs to ddev-global-cache/traefik
 Container ddev-router  Running
2024-05-19T09:35:04.745 Waiting for ddev-router to become ready. docker inspect --format "{{json .State.Health }}" ddev-router
2024-05-19T09:35:05.286 ddev-router is ready
Waiting for additional project containers to become ready...
All project containers are now ready.
Successfully started tryddevproject-21813
Project can be reached at https://tryddevproject-21813.ddev.site https://127.0.0.1:55904


======== 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 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Server: nginx
Date: Sun, 19 May 2024 07:35:21 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0


======== curl -I of http://127.0.0.1:55905 (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 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Server: nginx
Date: Sun, 19 May 2024 07:35:26 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding




======== curl -I of http://tryddevproject-21813.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 --:--:-- --:--:-- --:--:--     0HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Sun, 19 May 2024 07:35:26 GMT
Server: nginx
Vary: Accept-Encoding




======== Full curl of http://tryddevproject-21813.ddev.site (router http URL) from outside ========
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   262    0   262    0     0   6894      0 --:--:-- --:--:-- --:--:--  7081Success accessing database... db via TCP/IP<br />
ddev is working.<br />
The output file for Discord or issue queue is in
<b>C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt</b><br />
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt<br />



======== Full curl of https://tryddevproject-21813.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
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.


======== 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 --:--:-- --:--:-- --:--:--     0HTTP/2 200
content-type: text/html; charset=ISO-8859-1
content-security-policy-report-only: object-src 'none';base-uri 'self';script-src 'nonce-ldINT37Q5BpazMeMJCfDXg' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
date: Sun, 19 May 2024 07:35:27 GMT
server: gws
x-xss-protection: 0
x-frame-options: SAMEORIGIN
expires: Sun, 19 May 2024 07:35:27 GMT
cache-control: private
set-cookie: AEC=AQTF6HwAU8udcE6Hf9jijlAQNhF5b-r0uTAuR6z7Xo6feG3BJr7ZRGZ-LA; expires=Fri, 15-Nov-2024 07:35:27 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
set-cookie: __Secure-ENID=19.SE=pmVjH6sdQhpYxA133kUIu4T1_JqbZ66482kD-Gp3NGE8KZqZkv62oke3nlW1rTtRPiR9Dy42X-IuEuqP9F_EG_PA3zjcMx6JIP8cyE0NluvbR3X2dobXcAdOWaZ5COo-xMiRLW-RfQoCJfA3vZh41PZ2Ui_4571qcT2q2zbEYxZwHNu1; expires=Wed, 18-Jun-2025 23:53:45 GMT; path=/; domain=.google.com; Secure; HttpOnly; SameSite=lax
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000




======== host.docker.internal status ========
PING host.docker.internal (192.168.65.254) 56(84) bytes of data.
64 bytes from 192.168.65.254 (192.168.65.254): icmp_seq=1 ttl=63 time=13.4 ms

--- host.docker.internal ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 13.422/13.422/13.422/0.000 ms


======== Project ownership on host ========
drwxr-xr-x 1 Dieter Porth 197121 0 May 19 09:29 ../tryddevproject-21813


======== Project ownership in container ========
drwxr-xr-x 4 dieterporth dieterporth 4096 May 19 07:31 //var/www/html


======== In-container filesystem ========
Filesystem     Type 1K-blocks     Used Available Use% Mounted on
/dev/sda1      ext4  65739308 22342296  40025236  36% /var/www


======== Thanks for running the diagnostic! ========
Running ddev launch in 3 seconds
Running ddev launch
Waiting for ddev launch to complete before deleting project


Cleanup: deleting test project tryddevproject-21813
 Container ddev-tryddevproject-21813-db  Stopped
 Container ddev-tryddevproject-21813-web  Stopped
 Container ddev-tryddevproject-21813-web  Stopped
 Container ddev-tryddevproject-21813-db  Stopped
 Container ddev-tryddevproject-21813-db  Removed
 Container ddev-tryddevproject-21813-web  Removed
 Network ddev-tryddevproject-21813_default  Removed
Volume tryddevproject-21813-mariadb for project tryddevproject-21813 was deleted
Volume tryddevproject-21813-postgres for project tryddevproject-21813 was deleted
Volume tryddevproject-21813_project_mutagen for project tryddevproject-21813 was deleted
Project tryddevproject-21813 was deleted. Your code and configuration are unchanged.

Please remove the files from this test with 'rm -r ../tryddevproject-21813'
←[0m←[32m

==== Restarting previously-running DDEV projects====←[0m←[0m
←[33m←[33mUsing custom PHP configuration: [
        C:\php7\dueddelei\.ddev\php\timeout.ini
]←[0m←[0m
←[33m←[33mCustom configuration is updated on restart.
If you don't see your custom configuration taking effect, run 'ddev restart'.←[0m←[0m
←[0mBuilding project images...←[0m
...←[0m2024/05/19 09:37:01 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
....←[0m2024/05/19 09:37:05 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
←[0m2024/05/19 09:37:05 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed←[0m
...←[0m←[32mProject images built in 10s.←[0m←[0m
←[0m Network ddev-dueddelei_default  Created←[0m
←[0m Container ddev-dueddelei-db  Created←[0m
←[0m Container ddev-dueddelei-web  Created←[0m
←[0m Container ddev-dueddelei-web  Started←[0m
←[0m Container ddev-dueddelei-db  Started←[0m
←[0mStarting Mutagen sync process...←[0m
.........................................................................................................................................←[0m←[32mMutagen sync flush completed in 3m21s.
For details on sync status 'ddev mutagen st dueddelei -l'←[0m←[0m
←[0mWaiting for web/db containers to become ready: [web db]←[0m
←[0mStarting ddev-router if necessary...←[0m
←[0m Container ddev-router  Created←[0m
←[0m Container ddev-router  Started←[0m
←[0mWaiting for additional project containers to become ready...←[0m
←[0mAll project containers are now ready.←[0m
←[33m←[33madditional.php already exists and is managed by the user.←[0m←[0m
Output file written to:
C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
file://C:/Users/DIETER~1/AppData/Local/Temp/ddev-debug-test.txt
Please provide the file for support in Discord or the issue queue.
PS C:\php7\dueddelei>

Expected Behavior

I start the php-system with ddev and can develop an extension for TYPO3 using xdebug. The Docker/ddev-system did not need any restart, while i am using it.

Actual Behavior

I use DDEV on windows 11. (no WSL2, because i did not get xdebug/phpstorm to work)
After starting ddev works fine for a while.
After some time I will try an request, but the ddev system won't respond.
The container in Docker Desktop shows low activity. (0,0..%)
Then I have to kill the containers in docker-desktop and I have restart the docker and the ddev.
A ddev restart won't work in this cases.
After the full restart of docker and ddev everything work fine and fast - until the next crash.

I have not find any systematic for this bug.

Steps To Reproduce

I have currently no idea, how to reproduce that behaviour.

Anything else?

No response

@rfay
Copy link
Member

rfay commented May 19, 2024

It sounds like you have a problem with Docker Desktop; Windows trouble with Docker Desktop is common.

  • Make sure you turn off Docker Desktop's power-saving feature.
  • Update Docker Desktop if you're not using current (but they rarely fix important bugs and often introduce new ones)

I'd much rather help you get xdebug going using WSL2 + docker-ce. If you come to Discord we can help with that, including doing a screenshare session if needed. https://discord.gg/5wjP76mBJD

@Padina42
Copy link
Author

Thank you for your effort and your time. I have stopped the usage of docker-desktop. I unloaded the docker-desktop and use now docker on wsl2 now.
(https://ddev.readthedocs.io/en/latest/users/install/ddev-installation/#windows - recommended variation)
The main problem is with it that phpstorm (2024.1) and xdebug won't work properly together.
After some hour I could make it work. I had to expand the my additional php.ini in the ddev-configurration by following code.

;https://stackoverflow.com/questions/63417516/unable-to-get-phpstorm-to-connect-to-xdebug-running-in-wsl-2
;https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009532740-Unable-to-get-PHPStorm-to-connect-to-xdebug-running-in-WSL-2
zend_extension=xdebug.so
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.default_enable=1
xdebug.remote_connect_back=1
xdebug.remote_host=host.docker.internal
xdebug.remote_log=/tmp/xdebug.log
;https://github.com/ddev/ddev/issues/3772
xdebug.client_host=192.168.2.101

I hope, the new variation will work more properly.

I close this issue. If I have problems with the new variation, I will open a new issue.

@Padina42
Copy link
Author

Wrong button.

@rfay
Copy link
Member

rfay commented May 20, 2024

The PhpStorm extension (and PhpStorm 2024) are having some trouble, but

explains how to manually install the extension.

@rfay
Copy link
Member

rfay commented May 21, 2024

@Padina42 I've spent an enormous amount of time trying to make WSL2 properly figure out the host.docker.internal IP address without doing the things that you did here. I'd love to spend some time with you trying to sort out what happened in your case. If you'd be willing to do a screenshare session with me and try to sort it out, please make an appointment at a time that works for you on https://cal.com/randyfay/30min - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants