Skip to main content

Upgrade

Upgrading from Drupal 7 to Drupal 10

Submitted by system on
Create a new D10 portal. Enable migrate modules. Enable https://www.drupal.org/project/migrate_upgrade to allow migrations via Drush. Set up a Migrate Database $databases['migrate']['default'] = [
'database' => 'drupal7db',
'username' => 'drupal7db',
'password' => 'drupal7db',
'prefix' => '',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/',
];

Upgrading from Drupal 9 to Drupal 10

Submitted by system on

1. Install Upgrade Status[https://www.drupal.org/project/upgrade_status] module to check issues contrib and custom modules compatibility. 

2. Remove Upgrade Status when all checks are green and ready to go. Uninstall Upgrade status and remove it from Composer.

 
composer remove drupal/upgrade_status 

3. Temporarily add write access to protected files and directories
chmod 777 sites/default chmod 666 sites/default/*settings.php chmod 666 sites/default/*services.yml 

Upgrade MySQL 5.7 to MySQL 8

Submitted by system on
To upgrade in Ubuntu 18.04 server. Step I: Get the upgrade command shell and check upgrade issues Get the MySQL Shell download link here: https://dev.mysql.com/downloads/shell/ This shell will assist in finding issues with the current installation. Install the MySQL upgrade shell with the command dpkg -i mysql-shell_8.0.30-1ubuntu18.04_amd64.deb
This will make available the mysqlsh command. Execute this mysqlsh command with root user to access the MySQL JS shell. mysqlsh