Skip to content

Instantly share code, notes, and snippets.

@lukasdoerr
Created August 29, 2022 12:45
Show Gist options
  • Save lukasdoerr/be134a6c3b76eaa78ccb2ab98bdedc3d to your computer and use it in GitHub Desktop.
Save lukasdoerr/be134a6c3b76eaa78ccb2ab98bdedc3d to your computer and use it in GitHub Desktop.
ddev mutagen composer problems
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$ ddev debug test
Running bash [-c /tmp/test_ddev.sh]
OS Information: Linux DESKTOP-NKGIEV8 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1000(lukas) gid=1000(lukas) groups=1000(lukas),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),119(lxd),1001(docker)
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.17
docker-compose v2.9.0
docker-platform docker-desktop
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: lrwxrwxrwx 1 root root 48 Aug 29 13:23 /usr/bin/docker -> /mnt/wsl/docker-desktop/cli-tools/usr/bin/docker
docker version:
Client: Docker Engine - Community
Cloud integration: v1.0.28
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:03:17 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Desktop
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:01:23 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version: 1.1.2
GitCommit: v1.1.2-0-ga916309
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
Mutagen is installed in ddev, version=0.15.1
--------------------------------------------------------------------------------
Name: typo3test
Identifier: sync_7gAwoFUbLpa3oFMKmnsaSf94EdesHC6Ej0mwfErX0si
Alpha:
URL: /mnt/d/DDEV/typo3test
Connected: Yes
Synchronizable contents:
2731 directories
15308 files (73 MB)
2 symbolic links
Beta:
URL: docker://15b7d10a09d1a79533181989ccc05d613a8968c94c3bac0ecfade0034646efd9/var/www/html
DOCKER_HOST=unix:///var/run/docker.sock
Connected: Yes
Synchronizable contents:
2731 directories
15308 files (73 MB)
2 symbolic links
Status: Watching for changes
--------------------------------------------------------------------------------
mutagen is running on this system:
lukas 396 12 24 13:24 ? 00:18:12 mutagen daemon run
lukas 2493 396 0 14:37 ? 00:00:00 /usr/bin/docker exec --interactive --workdir /home/lukas 15b7d10a09d1a79533181989ccc05d613a8968c94c3bac0ecfade0034646efd9 .mutagen/agents/0.15.1/mutagen-agent synchronizer --log-level=info
lukas 2509 2493 0 14:37 ? 00:00:00 /usr/bin/com.docker.cli exec --interactive --workdir /home/lukas 15b7d10a09d1a79533181989ccc05d613a8968c94c3bac0ecfade0034646efd9 .mutagen/agents/0.15.1/mutagen-agent synchronizer --log-level=info
lukas 2858 2727 0 14:40 pts/0 00:00:00 grep mutagen
======= Docker Info =========
Docker platform: docker-desktop
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.17
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 251.0G 4.2G 234.0G 2% /
Container ddev-typo3test-dba Removed
Container ddev-typo3test-db Removed
Container ddev-typo3test-web Removed
Network ddev-typo3test_default Removed
Project typo3test 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 (/mnt/d/DDEV/tryddevproject-5439)
Once completed, your configuration will be written to /mnt/d/DDEV/tryddevproject-5439/.ddev/config.yaml
Found a php codebase at /mnt/d/DDEV/tryddevproject-5439/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-5439...
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
The hostname tryddevproject-5439.ddev.site is not currently resolvable, trying to add it to the hosts file
ddev needs to add an entry to your hostfile.
It will require administrative privileges via the sudo command, so you may be required
to enter your password for sudo. ddev is about to issue the command:
You are on WSL2, so should also manually execute 'sudo ddev hostname tryddevproject-5439.ddev.site 127.0.0.1' on Windows if you use a Windows browser.
sudo /usr/bin/ddev hostname tryddevproject-5439.ddev.site 127.0.0.1
Please enter your password if prompted.
Running Command=sudo /usr/bin/ddev hostname tryddevproject-5439.ddev.site 127.0.0.1
[sudo] password for lukas:
Network ddev-tryddevproject-5439_default Created
Container ddev-tryddevproject-5439-dba Started
Container ddev-tryddevproject-5439-db Started
Container ddev-tryddevproject-5439-web Started
Container ddev-router Started
Successfully started tryddevproject-5439
Project can be reached at https://tryddevproject-5439.ddev.site https://127.0.0.1:51998
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 29 Aug 2022 12:41:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Curl of site from outside:
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Mon, 29 Aug 2022 12:41:18 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
ls: cannot access '/home/lukas/tmp/tryddevproject-5439': No such file or directory
======== Project ownership in container:
drwxrwxrwx 1 lukas lukas 512 Aug 29 12:40 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
D:\ 9p 1953513468 411803384 1541710084 22% /var/www/html
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-5439
Thanks for running the diagnostic. It was successful.
Please provide the output of this script in a new gist at gist.github.com
Running ddev launch in 5 seconds
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: Permission denied
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'https://tryddevproject-5439.ddev.site'
Failed to run launch ; error=exit status 3
If you're brave and you have jq you can delete all tryddevproject instances with this one-liner:
ddev delete -Oy $(ddev list -j |jq -r .raw[].name | grep tryddevproject)
In the future ddev debug test will also provide this option.
Please delete this project after debugging with 'ddev delete -Oy tryddevproject-5439'
lukas@DESKTOP-NKGIEV8:/mnt/d/DDEV/typo3test$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment