acquia / blt

Acquia's toolset for automating Drupal 10 development, testing, and deployment.
https://docs.acquia.com/blt/
GNU General Public License v2.0
442 stars 396 forks source link

How to update lightning distro in acuia blt #3278

Closed suresh-kumara-gist closed 5 years ago

suresh-kumara-gist commented 5 years ago

Hello Everyone,

My project is running on "acquia/blt": "^8.3" lightning 2.17 drupal core 8.3.7. I want to update drupal to 8.6.3.

We have to update acquia blt to support drupal to 8.6.3. I have tried below 4 methods but I am getting error in all the steps. Please suggest how to update the instance to latest.

  1. $ php -d memory_limit=-1 /usr/local/bin/composer require acquia/blt:^9.2 --no-update $ php -d memory_limit=-1 /usr/local/bin/composer update

  2. $ php -d memory_limit=-1 /usr/local/bin/composer update acquia/lightning --with-all-dependencies $ php -d memory_limit=-1 /usr/local/bin/composer update

  3. $ php -d memory_limit=-1 /usr/local/bin/composer require acquia/lightning:^3.2 $ php -d memory_limit=-1 /usr/local/bin/composer update

  4. $ php -d memory_limit=-1 /usr/local/bin/composer update Your requirements could not be resolved to an installable set of packages.

    Problem 1

    • remove drupal/ckeditor_find 1.x-dev|keep drupal/ckeditor_find dev-1.x
    • drupal/ckeditor_find 1.x-dev requires ckeditor/find * -> no matching package found.
    • drupal/ckeditor_find 1.x-dev requires ckeditor/find * -> no matching package found.
    • drupal/ckeditor_find dev-1.x requires ckeditor/find * -> no matching package found.
    • Installation request for drupal/ckeditor_find 1.x-dev -> satisfiable by drupal/ckeditor_find[1.x-dev].

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

I HAVE removed drupal/ckeditor_find and tried again.

suresh-kumara-gist commented 5 years ago

Below steps worked for me.

$ composer require acquia/blt:9.2.1 --no-update $ composer require acquia/lightning:3.2.2 --no-update $ php -d memory_limit=-1 /usr/local/bin/composer update $ rm -rf docroot/core/ $ rm composer.lock $ composer require acquia/lightning:3.2.2 --no-update