drupal:update
Update Drupal 7 to 8
Make a standard drupal 8 installation and enable all addons/modules/themes on the new site you require.
Make sure you have the following modules enabled:
- migrate_plus
- migrate_tools
- migrate_upgrade
I use drush in a multisite configuration:
drush -l https://uri migrate-upgrade --legacy-db-url=mysql://password@localhost/dbname --legacy-root=https://drupal7uri --configure-only drush -l https://uri migrate-import --all
Update Drupal installation
For newer drupal >= 8 using composer:
#!/bin/sh git add . git commit -m "Before automatic update using script at: `date`." composer update -n drupal/core-recommended --with-dependencies composer update -n # repeat this for every site: echo Update drupal8.fechner.net ./vendor/bin/drush updatedb --uri drupal8.fechner.net --yes ./vendor/bin/drush cache-rebuild --uri drupal8.fechner.net ./vendor/bin/drush config-export --uri drupal8.fechner.net --yes
drupal/update.txt · Zuletzt geändert: 2021/12/27 16:24 von 127.0.0.1