Troubleshooting
Troubleshoot common issues when migrating.
This section covers common troubleshooting scenarios when migrating a Drupal site from another host to Pantheon's platform.
Provided host name not valid
If you receive the error message "The provided host name is not valid for this server.", then update your settings.php
file with a trusted host setting. Refer to the Trusted Host Setting documentation for more information.
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 insidesites/default
directory by copyingdefault/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:
Copy
default.services.yml
toservices.yml
:cp web/sites/default/default.services.yml web/sites/default/services.yml
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.