Skip to content

Instantly share code, notes, and snippets.

@stevekessler
Created August 20, 2021 05:00
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 stevekessler/9856c906d08bbef3820a26d2b725ea5e to your computer and use it in GitHub Desktop.
Save stevekessler/9856c906d08bbef3820a26d2b725ea5e to your computer and use it in GitHub Desktop.
steve@Domain-Steve:~$ bash test_ddev.sh
OS Information: Linux Domain-Steve 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
DDEV-Local version v1.17.7
architecture amd64
db drud/ddev-dbserver-mariadb-10.3:v1.17.7
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.17.0
docker 20.10.7
docker-compose 1.29.2
os linux
router drud/ddev-router:v1.17.6
web drud/ddev-webserver:v1.17.7
docker location: lrwxrwxrwx 1 root root 48 Aug 19 20:23 /usr/bin/docker -> /mnt/wsl/docker-desktop/cli-tools/usr/bin/docker
======= Mutagen Info =========
======= Docker Info =========
Docker disk space:
Filesystem Size Used Available Use% Mounted on
overlay 251.0G 8.6G 229.5G 4% /
unable to create project at project root '/home/steve/tmp/testddev': project root /home/steve/tmp/testddev does not exist
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 (/home/steve/tmp/tryddevproject-22443)
Once completed, your configuration will be written to /home/steve/tmp/tryddevproject-22443/.ddev/config.yaml
Found a php codebase at /home/steve/tmp/tryddevproject-22443
Project type has no settings paths configured, so not creating settings file.
Configuration complete. You may now run 'ddev start'.
Starting tryddevproject-22443...
Building ddev-ssh-agent
Creating ddev-ssh-agent ...
Creating ddev-ssh-agent ... done
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
Running Command=ip address show dev docker0
Building db
Building web
Creating ddev-tryddevproject-22443-db ...
Creating ddev-tryddevproject-22443-db ... done
Creating ddev-tryddevproject-22443-web ...
Creating ddev-tryddevproject-22443-dba ...
Creating ddev-tryddevproject-22443-dba ... done
Creating ddev-tryddevproject-22443-web ... done
Creating ddev-router ...
Creating ddev-router ... error
ERROR: for ddev-router Cannot start service ddev-router: Ports are not available: listen tcp 127.0.0.1:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: for ddev-router Cannot start service ddev-router: Ports are not available: listen tcp 127.0.0.1:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Encountered errors while bringing up the project.
Failed to start tryddevproject-22443: failed to start ddev-router: Failed to run docker-compose [-f /home/steve/.ddev/.router-compose-full.yaml -p ddev-router up -d], err='exit status 1', stdout='', stderr='Creating ddev-router ...
Creating ddev-router ... error
ERROR: for ddev-router Cannot start service ddev-router: Ports are not available: listen tcp 127.0.0.1:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: for ddev-router Cannot start service ddev-router: Ports are not available: listen tcp 127.0.0.1:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Encountered errors while bringing up the project.'
unable to create project at project root '/home/steve/tmp/testddev': project root /home/steve/tmp/testddev does not exist
NAME TYPE LOCATION URL STATUS
ddevtest drupal9 ~/ddev_test stopped
site drupal8 ~/site/site stopped
tryddevproject-22443 php ~/tmp/tryddevproject-22443 starting
db: running
DDEV ROUTER STATUS:
The router is not yet healthy. Your projects may not be accessible.
If it doesn't become healthy try running 'ddev start' on a project to recreate it.
========= web container healthcheck ======
{"Status":"starting","FailingStreak":0,"Log":[{"Start":"2021-08-20T04:59:23.374221472Z","End":"2021-08-20T04:59:23.51163658Z","ExitCode":1,"Output":"phpstatus: FAILED /var/www/html: OK mailhog: FAILED "}]}
============= ddev-router healthcheck =========
null
Start failed. Please provide this output and the contents of ~/tmp/tryddevproject-22443/logs.txt in a new gist at gist.github.com
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
/home/steve/tmp/tryddevproject-22443/.ddev/commands/host/launch: line 61: xdg-open: command not found
Failed to run launch ; error=exit status 127
Please delete this project after debugging with 'ddev delete -Oy tryddevproject-22443'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment