-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test_ddev.sh and update the issue templates [skip ci][ci skip] (d…
- Loading branch information
Showing
5 changed files
with
85 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: Support Request | ||
about: Get help with a problem | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Run a Diagnostic** | ||
|
||
If you're having trouble with ddev, | ||
|
||
1. Please use the latest stable version of DDEV-Local before reporting. Upgrading is easy. | ||
2. Please run a quick diagnostic and post the results as a new gist on gist.github.com (or on another pastebin-type site if you prefer). You can download [test_ddev.sh](https://raw.githubusercontent.com/drud/ddev/master/scripts/test_ddev.sh) and run it per the instructions at the top, or `curl -sSL https://raw.githubusercontent.com/drud/ddev/master/scripts/test_ddev.sh.sh | bash -s` - That will help so we don't have to ask so many questions... And it it works, it probably means there's something wrong with your project, not ddev. | ||
|
||
**Describe the Problem** | ||
|
||
Please explain exactly what the problem is. | ||
|
||
**To Reproduce** | ||
|
||
Please describe step-by-step exactly how to recreate the problem you're having. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Version and configuration information (please complete the following information):** | ||
|
||
This is only necessary if you did *not* run the script above.. which we'd appreciate it if you'd run. | ||
|
||
- Host computer OS and Version: [e.g. Windows 10, macOS Big Sur, Linux (distro), WSL2 (distro)] | ||
- Docker Desktop version if on macOS or Windows (from "About Docker Desktop") | ||
- ddev version information (use `ddev version`) | ||
- config.yaml contents for the misbehaving project | ||
- Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them? | ||
|
||
**Additional context** | ||
Add any other context about the problem here. Thanks! |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
|
||
# Please run this script with "bash testddev.sh" | ||
# You can copy and paste it (make a file named testddev.sh) | ||
# Or use curl or wget to download the *raw* version. | ||
# If you're on Windows (not WSL2) please run it in a git-bash window | ||
# When you are reporting an issue, please include the full output of this script. | ||
# If you have NFS enabled globally, please temporarily disable it with | ||
# `ddev config global --nfs-mount-enabled=false` | ||
|
||
PROJECT_NAME=tryddevproject-${RANDOM} | ||
|
||
function cleanup { | ||
printf "\nPlease delete this project after debugging with 'ddev delete -Oy ${PROJECT_NAME}'\n" | ||
} | ||
trap cleanup EXIT | ||
|
||
uname -a | ||
ddev version | ||
ls -l "$(which docker)" | ||
ddev poweroff | ||
docker ps -a | ||
docker run -it --rm busybox ls | ||
mkdir -p ~/tmp/${PROJECT_NAME} && cd ~/tmp/${PROJECT_NAME} | ||
printf "<?php\nprint 'ddev is working. You will want to delete this project with \"ddev delete -Oy ${PROJECT_NAME}\"';\n" >index.php | ||
ddev config --project-type=php | ||
ddev start || ( \ | ||
set +x && \ | ||
ddev list && \ | ||
printf "========= web container healthcheck ======\n" && \ | ||
docker inspect --format "{{json .State.Health }}" ddev-${PROJECT_NAME}-web && \ | ||
printf "============= ddev-router healthcheck =========\n" && \ | ||
docker inspect --format "{{json .State.Health }}" ddev-router && \ | ||
ddev logs >logs.txt && \ | ||
printf "Start failed. Please provide this output and the contents of ~/tmp/${PROJECT_NAME}/logs.txt in a new gist at gist.github.com\n" && \ | ||
exit 1 ) | ||
echo "Thanks for running the diagnostic. It was successful." | ||
echo "Please provide the output of this script in a new gist at gist.github.com" | ||
echo "Running ddev launch in 5 seconds" && sleep 5 | ||
ddev launch |