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

[CFG] - Commands failing in old versions of DDEV #32

Closed
davidjguru opened this issue Jun 29, 2022 · 1 comment
Closed

[CFG] - Commands failing in old versions of DDEV #32

davidjguru opened this issue Jun 29, 2022 · 1 comment
Assignees
Labels
bug Something isn't working configuration Issues related to config topics DDEV DDEV Context

Comments

@davidjguru
Copy link
Owner

Describe the bug
When you're using versions of DDEV under 1.18 you're facing problems in some installation steps due to non-recognition of special characters, for instance when execute:

- exec-host: "([ $(ddev drush eval 'print_r(array_keys(\\Drupal::entityTypeManager()->getDefinitions()));'

Present in hook pre-start described in config.yml file for DDEV setup. This leads to installation errors and various command execution problems. As the command is not executed correctly, it does not delete the shortcuts and therefore also crashes when importing the configuration.

To Reproduce
Steps to reproduce the behavior:

  1. Use DDEV under 1.19 version.
  2. Run ddev start after git clone ..., etc.
  3. See errors from prompt.

Expected behavior
Download, configure and install all the setup for Summer House as in 1.19 or above versions of DDEV.

Additional context
Related:
ddev/ddev#2547 (comment)
ddev/ddev#1648 (comment)

@davidjguru davidjguru added bug Something isn't working DDEV DDEV Context configuration Issues related to config topics labels Jun 29, 2022
@davidjguru davidjguru self-assigned this Jun 29, 2022
saganakat added a commit to saganakat/summerhouse that referenced this issue Jun 29, 2022


Changed the drush eval command "drush eval 'print_r(array_keys(\Drupal::entityTypeManager()->getDefinitions()));'", is executed inside the container instead of the host.
davidjguru added a commit that referenced this issue Jun 29, 2022
Fix issue [CFG] - Commands failing in old versions of DDEV #32
@davidjguru
Copy link
Owner Author

davidjguru commented Jun 30, 2022

Fixed and merged in #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working configuration Issues related to config topics DDEV DDEV Context
Projects
None yet
Development

No branches or pull requests

1 participant