Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant