I have a Drupal 8 site installed on a staging server. When moving on the production server, I do a git pull, import the database and the site is there and working. I do the same after some configuration is changed,I do a git pull and the usual drush cim, but I get:

Cannot change the install profile from to standard once Drupal is installed.

How do I get around this?


1 Answer 1


Check your settings.local.php (or settings.php if you don't have one) for 'install_profile' and make sure this is set and matches your staging environment:


If that doesn't work you can take a look at https://www.drupal.org/node/2870028 as @jaypan said

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.