Skip to main content
Last Reviewed: December 13, 2022

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:show

Rebuild Cache after Fixing Issues

When you make changes to fix a problem, don't forget to rebuild the cache:

terminus drush $SITE.dev cr

Site-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.yml file inside sites/default directory by copying default/services.yml file. 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:

  1. Copy default.services.yml to services.yml:

    cp web/sites/default/default.services.yml web/sites/default/services.yml
  2. Commit 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.