drops-8 icon indicating copy to clipboard operation
drops-8 copied to clipboard

Drops 9?

Open romulasry opened this issue 3 years ago • 7 comments

Where is it?

romulasry avatar Dec 20 '21 20:12 romulasry

Pantheon only supports Drupal 9 on Composer-managed sites. To convert a drops-8 site to an Integrated Composer upstream, please see https://pantheon.io/docs/guides/composer-convert

greg-1-anderson avatar Dec 20 '21 20:12 greg-1-anderson

Okay but I installed the site via Drupal 9 composer (within pantheon) and get this error when I do the finishing install.php:

https://www.drupal.org/project/drupal/issues/3255318 https://dashboard.pantheon.io/users/31132e6e-67ab-48ab-80a8-8668bcbbce6d#support/ticket/640885

romulasry avatar Dec 20 '21 20:12 romulasry

Same error.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 20th, 2021 at 3:09 PM, Brian Weaver @.***> wrote:

It looks like integrated composer is not running for your site. Try adding a new line to your pantheon.yml:

build_step: true

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

romulasry avatar Dec 20 '21 23:12 romulasry

Same error.

Yeah I deleted my message because I saw that it was not actually the problem.. but you got the email notification anyway :)

namespacebrian avatar Dec 20 '21 23:12 namespacebrian

$ composer up -W Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove

Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.

Generating autoload files 82 packages you are using are looking for funding. Use the composer fund command to find out more! Scaffolding files for pantheon-systems/drupal-integrations:

  • Skip [web-root]/sites/default/settings.php because it already exists and overwrite is false. composer.zip

romulasry avatar Dec 21 '21 05:12 romulasry

The 1st is a drupal issue and will be likely fixed in Drupal core: https://www.drupal.org/project/drupal/issues/3180351

The 2nd is a Drush bug: https://github.com/drush-ops/drush/issues/4935

romulasry avatar Dec 21 '21 05:12 romulasry

I believe the issues described here have been fixed. Leaving open because I feel it is useful to have this issue readily visible in the queue. I will also add:

  • drops-8 is deprecated. Please upgrade to Drupal (Composer Managed) as suggested above.
  • It is possible (but not recommended or supported) to run Drupal 9 on drops-8, but honestly it's probably less effort to upgrade to Composer.
  • It is not possible to run Drupal 10 on drops-8. You must upgrade to use Composer. Do not attempt to get Drupal 10 to work on drops-8; it will fail, and you will waste a lot of time.

greg-1-anderson avatar Mar 17 '23 16:03 greg-1-anderson