This guide provides common troubleshooting tasks when migrating to Drupal 9 with Integrated Composer.
After you set up Drupal 9, you might see this error 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 see https://www.drupal.org/documentation/install/settings-file for details.
Create services.yml file inside sites/default directory by copying default/services.yml file. See https://www.drupal.org/documentation/install/settings-file for details.
Ensure your site's Development Mode is set to Git, then use the terminal on the local machine where you cloned the site, and from the project's root directory:
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.
As reported in Drupal Issue 3161309, some fresh installations may encounter the error:
InvalidArgumentException: Class "Drupal\views\Routing\ViewPageController" does not exist.
terminus drush <site>.<env> -- cr
Given the nature of the bug, it might be easier to reinstall Drupal 9.
|Module Name||Drupal 8 Version?||Drupal 9 Version?|
|Pantheon Advanced Page Cache||Yes||Yes|
|Search API Pantheon||Yes||Not yet|
Contact support to report any issues that you encounter.