Upgrading module/core versions

Upgrades with Tome should work the same as normal Drupal site upgrades:

  1. Run composer commands to update module/core versions
  2. Run "drush updb", possibly "drush cron" for some field changes
  3. See updated content/config exported with Tome

But sometimes upgrades need manual steps. Here are some notes that may be helpful to you:

Upgrading from Drupal <9.4.0 to Drupal 9.4.0

Note: this could be fixed in https://www.drupal.org/project/drupal/issues/3285200

  1. In config/core.extension.yml, add "sqlite: 0" to the module list

Upgrading from Drupal 8 to Drupal 9

  1. In config/system.action.node_delete_action.yml, set "plugin" to "entity:delete_action:node"
  2. In settings.php, replace "$config_directories['sync'] = '../config';" with "$settings['config_sync_directory'] = '../config';"
  3. In config/core.extension.yml, add "path_alias: 0" to the module list

 Upgrading to Paragraphs 1.6

  1. Run "find ./content/ -name 'paragraph*' | xargs -I {} sh -c 'cat {} | jq "del(.behavior_settings)" --unbuffered --indent 4 | tee {}'"
  2. Run "find ./content/ -name 'paragraph*' | xargs -I {} sh -c 'cat {} | jq "del(.uid)" --unbuffered --indent 4 | tee {}'"
  3. Run "find ./content/ -name 'paragraph*' | xargs -I {} sh -c 'cat {} | jq "del(.revision_uid)" --unbuffered --indent 4 | tee {}'"