drupal:upgrade_drupal
Guide de migration :
https://makina-corpus.com/drupal/migration-drupal-8-drupal-9
Passer par composer 2
Attention à la version Mariadb voir les requirements drupal
https://www.drupal.org/docs/system-requirements
Supported versions for Drupal 9 and 10
- MariaDB 10.3.7+
- MySQL/Percona 5.7.8+
Required configuration
- InnoDB as the primary storage engine
- The PDO database extension
.
Si erreur sur définition d'une entité, on doit recharger la définition en base.
On peut le faire avec la commande drush et le code suivant (en ligne de commande) :
vendor/bin/drush ev '$type_manager = \Drupal::entityTypeManager(); $entity_type = $type_manager->getDefinition('job_offer'); \Drupal::entityDefinitionUpdateManager()->installEntityType($entity_type);'
Attention aux modules custom à modifier
Ajouter dans le fichier .info.yml
core_version_requirement: ^8 || ^9
drupal/upgrade_drupal.txt · Dernière modification : 2023/09/05 14:20 de 127.0.0.1