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

global_config.yaml mkcert_caroot never gets updated #2373

Closed
rfay opened this issue Jul 9, 2020 · 0 comments
Closed

global_config.yaml mkcert_caroot never gets updated #2373

rfay opened this issue Jul 9, 2020 · 0 comments
Milestone

Comments

@rfay
Copy link
Member

rfay commented Jul 9, 2020

Describe the bug

The value global_config.mkcert_caroot never gets updated once it is set.

This means that if somebody (especially installing WSL2) installs with $CAROOT set wrong, it can only be fixed by removing that line. I imagine it should be updated on every ddev start ?

To Reproduce

In WSL2, do a mkcert -install and then ddev start a project (with $CAROOT unset). This will set mkcert_caroot in ~/.ddev/global_config.yaml

Now actually use setx on the Windows site to set $CAROOT correctly. ddev poweroff && ddev start. The value in global_config will not be updated.

Expected behavior
A clear and concise description of what you expected to happen.

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!

@rfay rfay added this to the v1.15.1 milestone Jul 16, 2020
rfay added a commit to rfay/ddev that referenced this issue Jul 20, 2020
rfay added a commit to rfay/ddev that referenced this issue Jul 21, 2020
@rfay rfay closed this as completed in ccb2bb1 Jul 21, 2020
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

1 participant