Troubleshooting
Troubleshoot common issues when migrating
This section covers common troubleshooting scenarios when migrating a Multidev site to the latest version of Drupal.
Your requirements could not be resolved to an installable set of packages
When setting the Drupal core version, use the command composer update
instead of composer update drupal/core* -W
if you receive the error message "Your requirements could not be resolved to an installable set of packages."
Working With Dependency Versions
Version compatibility issues can occur when packages pulled by Composer are updated along with their dependencies. If this happens, you will need to manually alter the version constraints on a given package in the require
or require-dev
section of composer.json
to update the packages. Refer to the updating dependencies section of the Composer documentation for more information.
Troubleshoot package updates by running composer update
. This updates composer.lock
to the latest available packages. Package updates are constrained by version requirements in composer.json
.
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.