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

Give more info on "Failed to start <project>: failed to load any docker-compose.*y*l files" for #2049 #2052

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented Jan 27, 2020

The Problem/Issue/Bug:

We've had a few questions like #2049 where people see errors like "Failed to start my-project: failed to load any docker-compose.yl files:"

So far it's not been easy to track them down.

You can start a project, remove .ddev/docker-compose.yaml, then ddev exec ls and you'll get it. But most of the time we don't understand.

This PR:

  • Tells the directory in which it's looking for docker-compose.yaml.

A future PR will prevent ddev config or ddev start in directories that have glob patterns in them. That seems too risky for near-release of v1.13.0, and this doesn't happen that often.

The simple change of the output should help us with debugging and learning new instances of this problem.

How this PR Solves The Problem:

Manual Testing Instructions:

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

@rfay rfay changed the title Give more info on docker-compose.yaml error Give more info on docker-compose.yaml fail, prevent dirs with glob chars Jan 28, 2020
@rfay rfay force-pushed the 20200127_better_docker_compose_error branch from ce1e40b to dd67eec Compare January 28, 2020 14:58
@rfay rfay force-pushed the 20200127_better_docker_compose_error branch 2 times, most recently from 3955647 to 11392ff Compare February 3, 2020 21:10
@rfay rfay changed the title Give more info on docker-compose.yaml fail, prevent dirs with glob chars Give more info on docker-compose.yaml fail Feb 3, 2020
@rfay rfay changed the title Give more info on docker-compose.yaml fail Give more info on docker-compose.yaml fail for #2049 Feb 3, 2020
@rfay rfay changed the title Give more info on docker-compose.yaml fail for #2049 Give more info on docker-compose.yaml fail (Failed to start my-project: failed to load any docker-compose.*y*l files:) for #2049 Feb 3, 2020
@rfay rfay changed the title Give more info on docker-compose.yaml fail (Failed to start my-project: failed to load any docker-compose.*y*l files:) for #2049 Give more info on "Failed to start <project>: failed to load any docker-compose.*y*l files" for #2049 Feb 3, 2020
@rfay rfay merged commit be0f12e into ddev:master Feb 3, 2020
@rfay rfay deleted the 20200127_better_docker_compose_error branch February 3, 2020 21:51
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

Successfully merging this pull request may close these issues.

None yet

1 participant