composer require composer/installers:^1.9 -no-update - this updates composer.json file.While on Composer 1, remove plugins / local packages no longer required.While on Composer 1, upgrade plugins / local packages if required.It is the page I used for my process below. As I mentioned, your site may have different requirements. I installed 4.1.1 after the Drupal 9 upgrade was complete.īefore upgrading we need to do a couple of checks. I elected to uninstall the module (and Devel Kint) rather than upgrade to 4.1.1. I use Devel Kint, included in the 8.x-2.1 version, but not included in the 4.1.1 version. This is not Drupal 9 compatible, however 4.1.1 is. The module is not essential to the site, so we can uninstall it and remove it from our project composer.json file.ĭo this process for all the modules installed.Ī note on the Devel module. ✓ Recommended by the project’s maintainer. I have Module Filter 8.x-3.2 installed.Go to the official module page, and we can see: I will use Twig Tweak and Module Filter as examples. To check if the module is compatible with Drupal 9. Steps 1 and 2 should be self-explanatory. Drupal 8 sites could have a myriad of combinations of these components. The contributed and custom modules the site uses, theme, underlying Symfony Framework and the Composer plugins used all impact the upgrade process. I was still using Composer 1 and first needed to update to 2. Composer 1 is deprecated, and Drupal 9 needs Composer 2. This is due to Composer being key to the process. Furthermore, I think it is possible that each site's update process will be slightly different. I am sure there are more elegant ways of doing this. I am not saying it is absolutely correct, nor the most efficient. This article is a chronicle of my process. Over the past few days I knuckled down, dissected the documents and tutorials I found and succeeded. Then again, I did not allocate focussed time to get the job done. At times, I found the process confusing, almost contradictory. I have attempted to upgrade from Drupal 8 to 9 for some time now. The Topic: Upgrading Drupal 8.9.19 to 9.2.6.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |