Skip to main content
Last Reviewed: December 13, 2022

Troubleshooting

Troubleshoot common issues when migrating.


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.

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.