Troubleshooting
Troubleshoot common issues when migrating.
This sections provides common troubleshooting scenarios.
Get Messages
When there are problems, you can sometimes get helpful messages about what's wrong with the following command if you have dblog module enabled:
terminus drush $SITE.dev watchdog:showRebuild Cache after Fixing Issues
When you make changes to fix a problem, don't forget to rebuild the cache:
terminus drush $SITE.dev crSite-local Drush Is Required for Drupal Sites
Do not remove drush/drush from composer.json. If it is removed, terminus drush commands will fail with errors related to Twig.
Pantheon Launch Check Status Error: services.yml does not exist
After you set up Drupal, the following error might be displayed in the Best practices section of the Pantheon Launch Check:
x sites/default/services.yml: services.yml does not exist! Copy the default.service.yml to services.yml and refer to https://www.drupal.org/documentation/install/settings-file for details.Create
services.ymlfile insidesites/defaultdirectory by copyingdefault/services.ymlfile. Refer to https://www.drupal.org/documentation/install/settings-file for details.
Ensure your site's Development Mode is set to Git. Use the terminal on the local machine where you cloned the site, and from the project's root directory:
Copy
default.services.ymltoservices.yml:cp web/sites/default/default.services.yml web/sites/default/services.ymlCommit and push:
git add web/sites/default/services.yml && git commit -m "init services.yml" git push origin master
Learn more about the service configuration file.
Where Can I Report an Issue?
Contact support to report any issues that you encounter.