0

In drupal 7 I was able to just do a drush sql-drop and then visit the site and it would throw the install screen. But in Drupal 8 I'm getting an error when I do a drush sql-drop when going back to the site. Are there static files I need to also delete in Drupal 8 along with doing a sql-drop?

enter image description here

1 Answer 1

1

It looks like your settings.php file is still persisting after the command. Removing it should prompt you for installation on root request.

# Replace with location of settings.php file
settings_file=sites/default/settings.php
drush -y sql-drop && rm "$settings_file"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.