Problem/Motivation

It's impossible to use dr install on ddev without manipulating settings.php first.

$ dr install standard
Drupal is already installed. If you want to reinstall, remove sites/default/files and sites/default/settings.php.

This is not ddev specific. If you already have a configured database you run in to the same problem. In fact, you can start an install and cancel it mid-way through, then you're stuck.

Steps to reproduce

Run dr install standard twice

Proposed resolution

Prompt the user to confirm if they want to proceed, or require --force or -f or similar.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

mstrelan created an issue. See original summary.

mradcliffe’s picture

Updated parent issue to the meta, and I added a related link to an issue I created to improve install to let it install on any database driver. These may be related/duplicated, sorry.

quietone’s picture

@mstrelan, thanks for making this issue!

mstrelan’s picture

I've submitted this as a feature request, however if this is meant to have parity with drush then this could be considered a bug.