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

Cloud deployments fail during DB sanitization with 'Unknown option: --db' #924

Closed
geerlingguy opened this issue Jan 6, 2017 · 1 comment

Comments

@geerlingguy
Copy link
Contributor

My system information:

  • Operating system type: macOS
  • Operating system version: 10.12.2
  • BLT version: 8.6.6

When I do this:

  • Deploy code to cloud environments.

I get the following output:

beagov.dev: Scrubbing database beagov
Unknown option: --db.  See `drush help sql-sanitize` for available       [error]
options. To suppress this error, add the option --strict=0.
Unknown option: --db.  See `drush help cache-rebuild` for available      [error]
options. To suppress this error, add the option --strict=0.
[2017-01-06 15:07:14] Finished hook: post-db-copy

And I expected this to happen:

  • The database should be imported into the other environment correctly.
@geerlingguy geerlingguy changed the title Cloud deployments fail during DB sanitization with 'Unknown option: --db Cloud deployments fail during DB sanitization with 'Unknown option: --db' Jan 6, 2017
@geerlingguy
Copy link
Contributor Author

Looks like it's these two lines: https://github.com/acquia/blt/blob/8.x/template/hooks/common/post-db-copy/db-scrub.sh#L15-L16

--db isn't an option in either sql-sanitize or cache-rebuild :)

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