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

Improve ddev failure time when start isn't working out #1135

Closed
rfay opened this issue Sep 26, 2018 · 0 comments
Closed

Improve ddev failure time when start isn't working out #1135

rfay opened this issue Sep 26, 2018 · 0 comments
Milestone

Comments

@rfay
Copy link
Member

rfay commented Sep 26, 2018

Describe the bug

If ddev is broken, in many cases the container will immediately exit.

But ddev sits there waiting for all containers to be ready for really quite a long time.

To Reproduce

Break a ddev database.

  • ddev ssh -s db
  • rm /var/lib/mysql/mysql/*.MYD
  • ddev rm
  • time ddev start

The ddev-dbserver container will exit immediately, meaning we failed to start. But the ddev start times out only after 72 seconds.

Expected behavior

A broken container is enough to know that the ddev start didn't work out, and will simplify the debugging process. It could even provide the ddev logs from the broken container. In this case:

Screenshots
If applicable, add screenshots to help explain your problem.

Version and configuration information (please complete the following information):

  • Host computer OS and Version: [e.g. Windows 10, macOS High Sierra]
  • Docker version information (use docker version) and insert it here.
  • 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!

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