To continue receiving technical support on the evolutions of the Drupal CMS and the technologies it uses, it was essential to migrate LEM’s website from Drupal 8 to the Drupal 9 version.
To do this, our developers started by checking whether the existing hosting environment met the requirements of the new Drupal 9 version. After doing a complete audit of the site in view of the migration, our developers concluded that the hosting environment did not meet the requirements of Drupal 9. So, they had to configure a new hosting to install the site and upgrade it to the latest Drupal 8 version.
Next, our developers installed and configured the “Upgrade status” module. This module is useful to ensure a smooth upgrade.
Once “Upgrade status” was set up, we performed the following tasks:
- Check if the system met the requirements of the Drupal 9 hosting environment.
- Use “Update Status” to suggest updates to our contributed projects.
- Run PHPStan checks to detect any remaining Drupal 9 compatibility issues.
At this stage, our developers scanned the site’s modules and theme to check for deprecated code and fix the issues announced by Upgrader Status. They also updated the contribute and custom modules and themes to check the quality of the source code and identify errors that needed to be fixed quickly. In the case of LEM, this step was particularly complex since the site contained many custom modules and themes that had to be fixed manually.
Once this setup was completed, we upgraded to Drupal 9 by updating the site’s core and database. We also replaced the “Yaml Form” module with the “webform” module and recreated all the site’s forms to make them compatible with the new version of the site.
The last step was to verify that the migration went smoothly and that the website was functional under its new version.
Thanks to this migration, LEM was able to have a more functional site with greater maintainability and a longer lifespan. The upgrade to Drupal 9 also allowed LEM to offer a better navigation experience to its visitors.