Skip to content

Instantly share code, notes, and snippets.

@penyaskito
Created October 25, 2022 23:27
Show Gist options
  • Select an option

  • Save penyaskito/bdbf524a6f6ec292cee0436773b75e4c to your computer and use it in GitHub Desktop.

Select an option

Save penyaskito/bdbf524a6f6ec292cee0436773b75e4c to your computer and use it in GitHub Desktop.
Running bash [-c /tmp/test_ddev.sh]
OS Information: Linux jahanzaib-Latitude-7530 5.14.0-1049-oem #56-Ubuntu SMP Fri Aug 12 10:23:08 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1001(jahanzaib) gid=1001(jahanzaib) groups=1001(jahanzaib),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(sambashare)
DDEV version: ITEM VALUE
DDEV version v1.20.0
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.0
os linux
router drud/ddev-router:v1.20.0
web drud/ddev-webserver:v1.20.0
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: -rwxr-xr-x 1 root root 55902208 Jul 27 21:15 /usr/local/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:02:57 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Desktop 4.11.0 (83626)
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
======= Mutagen Info =========
======= Docker Info =========
Docker platform: docker-desktop
Using docker context: default (unix:///home/jahanzaib/.docker/desktop/docker.sock)
docker-compose: v2.9.0
Using DOCKER_HOST=unix:///home/jahanzaib/.docker/desktop/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 62.7G 9.9G 49.6G 17% /
unable to create project at project root '/home/jahanzaib/Documents/lingotek/connectors/d7': project root /home/jahanzaib/Documents/lingotek/connectors/d7 does not exist
unable to create project at project root '/home/jahanzaib/Documents/lingotek/connectors/wordpress_2/wordpress': project root /home/jahanzaib/Documents/lingotek/connectors/wordpress_2/wordpress does not exist
Container ddev-d9-dba Removed
Container ddev-d9-web Removed
Container ddev-d9-db Removed
Network ddev-d9_default Removed
Project d9 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
898b865aeb1a laradock_redis "docker-entrypoint.s…" 9 days ago Up 9 days 0.0.0.0:6379->6379/tcp laradock_redis_1
036b97bf542a laradock_php-fpm "/usr/local/bin/dock…" 9 days ago Up 9 days 0.0.0.0:11068->11068/tcp laradock_php-fpm_1
0e5c645f6882 dpage/pgadmin4 "/entrypoint.sh" 9 days ago Up 9 days 443/tcp, 0.0.0.0:5050->80/tcp laradock_pgadmin_1
282c9d02a501 tianon/true "/true" 9 days ago Exited (0) 9 days ago laradock_applications_1
b855a09eccdf postgres:11.12 "docker-entrypoint.s…" 9 days ago Up 9 days 0.0.0.0:5432->5432/tcp laradock_postgres_1
38dd2ea5a065 development_commandbox "/bin/sh -c $BUILD_D…" 2 months ago Exited (137) 2 months ago local-commandbox
1f9c91ab767e development_haproxy "docker-entrypoint.s…" 2 months ago Exited (137) 2 months ago local-haproxy
9398bbfa05de development_nginx "/docker-entrypoint.…" 2 months ago Exited (0) 2 months ago local-nginx
1832625e3c88 development_percona "/docker-entrypoint.…" 2 months ago Exited (0) 2 months ago local-percona
Creating a new ddev project config in the current directory (/home/jahanzaib/tmp/tryddevproject-27436)
Once completed, your configuration will be written to /home/jahanzaib/tmp/tryddevproject-27436/.ddev/config.yaml
Found a php codebase at /home/jahanzaib/tmp/tryddevproject-27436
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-27436...
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.
mkcert may not be properly installed, we suggest installing it for trusted https support, `brew install mkcert nss`, `choco install -y mkcert`, etc. and then `mkcert -install`
Network ddev-tryddevproject-27436_default Created
Container ddev-tryddevproject-27436-dba Started
Container ddev-tryddevproject-27436-db Started
Container ddev-tryddevproject-27436-db Healthy
Container ddev-tryddevproject-27436-web Started
Container ddev-router Started
Successfully started tryddevproject-27436
Project can be reached at http://tryddevproject-27436.ddev.site http://127.0.0.1:34659
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 25 Oct 2022 23:23:12 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: Tue, 25 Oct 2022 23:23:13 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== Project ownership on host:
drwxr-xr-x 3 jahanzaib jahanzaib 4096 Oct 26 12:22 /home/jahanzaib/tmp/tryddevproject-27436
======== Project ownership in container:
drwxr-xr-x 3 root root 4096 Oct 25 23:22 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
none virtiofs 974299160 236539592 688194180 26% /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-27436
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
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-27436'
Opening in existing browser session.
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment