NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Upgrade to Drupal 10.2 #4351

Open andyvanavery31 opened 1 month ago

andyvanavery31 commented 1 month ago

Request Description

Update to Drupal 10.2

Goal to have this done by the end of June

What's the expected change?

What's the current functionality?

dev-rana-publicis commented 3 weeks ago

Investigation Notes

dev-rana-publicis commented 3 weeks ago

Drupal Compose updates

  - Upgrading asm89/stack-cors (v2.1.1 => v2.2.0)
  - Upgrading behat/mink-selenium2-driver (v1.6.0 => v1.7.0)
  - Upgrading brianium/paratest (v6.11.0 => v6.11.1)
  - Upgrading colinodell/psr-testlogger (v1.2.0 => v1.3.0)
  - Upgrading composer/ca-bundle (1.3.7 => 1.5.0)
  - Upgrading composer/class-map-generator (1.1.0 => 1.3.2)
  - Upgrading composer/composer (2.6.5 => 2.7.6)
  - Upgrading composer/pcre (3.1.1 => 3.1.4)
  - Upgrading composer/semver (3.3.2 => 3.4.0)
  - Upgrading composer/xdebug-handler (3.0.3 => 3.0.5)
  - Upgrading drupal/acquia_connector (4.0.5 => 4.0.7)
  - Upgrading drupal/acquia_purge (1.3.0 => 1.4.0)
  - Upgrading drupal/acsf (2.75.0 => 2.77.0)
  - Upgrading drupal/acsf_duplication (2.75.0 => 2.77.0)
  - Upgrading drupal/acsf_theme (2.75.0 => 2.77.0)
  - Upgrading drupal/acsf_variables (2.75.0 => 2.77.0)
  - Upgrading drupal/autologout (1.4.0 => 1.5.0)
  - Upgrading drupal/ckeditor_lts (1.0.0 => 1.0.1)
  - Upgrading drupal/coder (8.3.22 => 8.3.24)
  - Upgrading drupal/core (10.1.6 => 10.2.7)
  - Upgrading drupal/core-composer-scaffold (10.1.6 => 10.2.7)
  - Upgrading drupal/core-dev (10.1.6 => 10.2.7)
  - Upgrading drupal/core-recommended (10.1.6 => 10.2.7)
  - Upgrading drupal/devel (5.1.2 => 5.2.1)
  - Upgrading drupal/entity_browser (2.9.0 => 2.10.0)
  - Upgrading drupal/entity_embed (1.5.0 => 1.6.0)
  - Upgrading drupal/entity_reference_revisions (1.10.0 => 1.11.0)
  - Upgrading drupal/externalauth (2.0.3 => 2.0.5)
  - Locking drupal/js_cookie (1.0.1)
  - Upgrading drupal/linkit (6.1.2 => 6.1.4)
  - Upgrading drupal/paragraphs (1.16.0 => 1.17.0)
  - Upgrading drupal/paragraphs_asymmetric_translation_widgets (1.2.0 => 1.3.0)
  - Upgrading drupal/samlauth (dev-3.x 0c12729 => dev-3.x 5183056)
  - Upgrading drupal/simple_sitemap (4.1.7 => 4.1.9)
  - Upgrading drupal/token (1.13.0 => 1.14.0)
  - Upgrading drupal/token_filter (2.1.0 => 2.2.0)
  - Upgrading drupal/twig_tweak (3.2.1 => 3.3.0)
  - Upgrading fidry/cpu-core-counter (1.0.0 => 1.1.0)
  - Upgrading fileeye/mimemap (2.0.3 => 2.1.1)
  - Locking google/protobuf (v3.25.3)
  - Upgrading guzzlehttp/guzzle (7.7.1 => 7.8.1)
  - Upgrading guzzlehttp/psr7 (2.5.1 => 2.6.2)
  - Upgrading instaclick/php-webdriver (1.4.16 => 1.4.19)
  - Upgrading jangregor/phpstan-prophecy (1.0.0 => 1.0.2)
  - Upgrading jean85/pretty-package-versions (2.0.5 => 2.0.6)
  - Upgrading mglaman/phpstan-drupal (1.2.4 => 1.2.11)
  - Locking micheh/phpcs-gitlab (1.1.0)
  - Upgrading monolog/monolog (3.5.0 => 3.6.0)
  - Upgrading onelogin/php-saml (4.1.0 => 4.2.0)
  - Locking open-telemetry/api (1.0.3)
  - Locking open-telemetry/context (1.0.2)
  - Locking open-telemetry/exporter-otlp (1.0.4)
  - Locking open-telemetry/gen-otlp-protobuf (1.1.0)
  - Locking open-telemetry/sdk (1.0.8)
  - Locking open-telemetry/sem-conv (1.25.0)
  - Upgrading phenx/php-font-lib (0.5.4 => 0.5.6)
  - Locking php-http/discovery (1.19.4)
  - Locking php-http/guzzle7-adapter (1.0.0)
  - Locking php-http/httplug (2.4.0)
  - Locking php-http/promise (1.3.1)
  - Upgrading phpspec/prophecy-phpunit (v2.0.2 => v2.2.0)
  - Upgrading phpstan/phpstan (1.10.44 => 1.11.4)
  - Upgrading phpstan/phpstan-deprecation-rules (1.1.4 => 1.2.0)
  - Upgrading phpstan/phpstan-phpunit (1.3.15 => 1.4.0)
  - Upgrading seld/jsonlint (1.10.0 => 1.10.2)
  - Upgrading sirbrillig/phpcs-variable-analysis (v2.11.17 => v2.11.18)
  - Upgrading slevomat/coding-standard (8.14.1 => 8.15.0)
  - Upgrading squizlabs/php_codesniffer (3.7.2 => 3.10.1)
  - Upgrading symfony/console (v6.3.12 => v6.4.8)
  - Upgrading symfony/dependency-injection (v6.3.12 => v6.4.8)
  - Upgrading symfony/deprecation-contracts (v3.3.0 => v3.4.0)
  - Upgrading symfony/error-handler (v6.3.12 => v6.4.8)
  - Upgrading symfony/event-dispatcher (v6.3.12 => v6.4.8)
  - Upgrading symfony/event-dispatcher-contracts (v3.3.0 => v3.4.2)
  - Upgrading symfony/http-foundation (v6.3.12 => v6.4.8)
  - Upgrading symfony/http-kernel (v6.3.12 => v6.4.8)
  - Upgrading symfony/lock (v6.3.8 => v6.4.8)
  - Locking symfony/mailer (v6.4.8)
  - Upgrading symfony/mime (v6.3.12 => v6.4.8)
  - Upgrading symfony/phpunit-bridge (v6.3.8 => v6.4.8)
  - Upgrading symfony/polyfill-ctype (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-iconv (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-intl-grapheme (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-intl-idn (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-intl-normalizer (v1.27.0 => v1.28.0)
  - Upgrading symfony/polyfill-mbstring (v1.27.0 => v1.28.0)
  - Locking symfony/polyfill-php82 (v1.29.0)
  - Upgrading symfony/polyfill-php83 (v1.27.0 => v1.28.0)
  - Upgrading symfony/process (v6.3.12 => v6.4.8)
  - Upgrading symfony/psr-http-message-bridge (v2.2.0 => v6.4.8)
  - Upgrading symfony/routing (v6.3.12 => v6.4.8)
  - Upgrading symfony/serializer (v6.3.12 => v6.4.8)
  - Upgrading symfony/service-contracts (v3.3.0 => v3.4.2)
  - Upgrading symfony/string (v6.3.12 => v6.4.8)
  - Upgrading symfony/translation-contracts (v3.3.0 => v3.4.2)
  - Upgrading symfony/twig-bridge (v6.3.12 => v6.4.8)
  - Upgrading symfony/validator (v6.3.12 => v6.4.8)
  - Upgrading symfony/var-dumper (v6.3.12 => v6.4.8)
  - Upgrading symfony/var-exporter (v6.3.12 => v6.4.8)
  - Upgrading symfony/yaml (v6.3.12 => v6.4.8)
  - Upgrading twig/twig (v3.6.1 => v3.8.0)
  - Upgrading webflo/drupal-finder (1.2.2 => 1.3.0)
  - Installing php-http/discovery (1.19.4): Extracting archive
  - Upgrading symfony/polyfill-ctype (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/deprecation-contracts (v3.3.0 => v3.4.0): Extracting archive
  - Upgrading symfony/yaml (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/polyfill-mbstring (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading twig/twig (v3.6.1 => v3.8.0): Extracting archive
  - Upgrading symfony/translation-contracts (v3.3.0 => v3.4.2): Extracting archive
  - Upgrading symfony/twig-bridge (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/polyfill-intl-normalizer (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/polyfill-intl-grapheme (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/string (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/service-contracts (v3.3.0 => v3.4.2): Extracting archive
  - Upgrading symfony/console (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/process (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading guzzlehttp/psr7 (2.5.1 => 2.6.2): Extracting archive
  - Upgrading guzzlehttp/guzzle (7.7.1 => 7.8.1): Extracting archive
  - Upgrading webflo/drupal-finder (1.2.2 => 1.3.0): Extracting archive
  - Upgrading symfony/var-dumper (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/event-dispatcher-contracts (v3.3.0 => v3.4.2): Extracting archive
  - Upgrading symfony/event-dispatcher (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading composer/semver (3.3.2 => 3.4.0): Extracting archive
  - Upgrading symfony/var-exporter (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/dependency-injection (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/polyfill-php83 (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/validator (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/serializer (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/routing (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/http-foundation (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/psr-http-message-bridge (v2.2.0 => v6.4.8): Extracting archive
  - Upgrading symfony/polyfill-iconv (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/polyfill-intl-idn (v1.27.0 => v1.28.0): Extracting archive
  - Upgrading symfony/mime (v6.3.12 => v6.4.8): Extracting archive
  - Installing symfony/mailer (v6.4.8): Extracting archive
  - Upgrading symfony/error-handler (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading symfony/http-kernel (v6.3.12 => v6.4.8): Extracting archive
  - Upgrading asm89/stack-cors (v2.1.1 => v2.2.0): Extracting archive
  - Upgrading drupal/core (10.1.6 => 10.2.7): Extracting archive
  - Upgrading drupal/acsf (2.75.0 => 2.77.0): Extracting archive
  - Upgrading drupal/acsf_variables (2.75.0 => 2.77.0)
  - Upgrading drupal/acsf_theme (2.75.0 => 2.77.0)
  - Upgrading drupal/acsf_duplication (2.75.0 => 2.77.0)
  - Upgrading squizlabs/php_codesniffer (3.7.2 => 3.10.1): Extracting archive
  - Upgrading slevomat/coding-standard (8.14.1 => 8.15.0): Extracting archive
  - Upgrading sirbrillig/phpcs-variable-analysis (v2.11.17 => v2.11.18): Extracting archive
  - Upgrading drupal/coder (8.3.22 => 8.3.24): Extracting archive
  - Upgrading jean85/pretty-package-versions (2.0.5 => 2.0.6): Extracting archive
  - Upgrading fidry/cpu-core-counter (1.0.0 => 1.1.0): Extracting archive
  - Upgrading brianium/paratest (v6.11.0 => v6.11.1): Extracting archive
  - Upgrading composer/ca-bundle (1.3.7 => 1.5.0): Extracting archive
  - Upgrading composer/pcre (3.1.1 => 3.1.4): Extracting archive
  - Upgrading composer/class-map-generator (1.1.0 => 1.3.2): Extracting archive
  - Upgrading composer/xdebug-handler (3.0.3 => 3.0.5): Extracting archive
  - Upgrading drupal/acquia_connector (4.0.5 => 4.0.7): Extracting archive
  - Upgrading drupal/acquia_purge (1.3.0 => 1.4.0): Extracting archive
  - Upgrading monolog/monolog (3.5.0 => 3.6.0): Extracting archive
  - Installing drupal/js_cookie (1.0.1): Extracting archive
  - Upgrading drupal/autologout (1.4.0 => 1.5.0): Extracting archive
  - Upgrading drupal/ckeditor_lts (1.0.0 => 1.0.1): Extracting archive
  - Upgrading symfony/phpunit-bridge (v6.3.8 => v6.4.8): Extracting archive
  - Upgrading symfony/lock (v6.3.8 => v6.4.8): Extracting archive
  - Upgrading phpstan/phpstan (1.10.44 => 1.11.4): Extracting archive
  - Upgrading phpstan/phpstan-phpunit (1.3.15 => 1.4.0): Extracting archive
  - Upgrading phpspec/prophecy-phpunit (v2.0.2 => v2.2.0): Extracting archive
  - Installing php-http/promise (1.3.1): Extracting archive
  - Installing php-http/httplug (2.4.0): Extracting archive
  - Installing php-http/guzzle7-adapter (1.0.0): Extracting archive
  - Installing symfony/polyfill-php82 (v1.29.0): Extracting archive
  - Installing open-telemetry/sem-conv (1.25.0): Extracting archive
  - Installing open-telemetry/context (1.0.2): Extracting archive
  - Installing open-telemetry/api (1.0.3): Extracting archive
  - Installing open-telemetry/sdk (1.0.8): Extracting archive
  - Installing google/protobuf (v3.25.3): Extracting archive
  - Installing open-telemetry/gen-otlp-protobuf (1.1.0): Extracting archive
  - Installing open-telemetry/exporter-otlp (1.0.4): Extracting archive
  - Installing micheh/phpcs-gitlab (1.1.0): Extracting archive
  - Upgrading phpstan/phpstan-deprecation-rules (1.1.4 => 1.2.0): Extracting archive
  - Upgrading mglaman/phpstan-drupal (1.2.4 => 1.2.11): Extracting archive
  - Upgrading instaclick/php-webdriver (1.4.16 => 1.4.19): Extracting archive
  - Upgrading seld/jsonlint (1.10.0 => 1.10.2): Extracting archive
  - Upgrading composer/composer (2.6.5 => 2.7.6): Extracting archive
  - Upgrading colinodell/psr-testlogger (v1.2.0 => v1.3.0): Extracting archive
  - Upgrading behat/mink-selenium2-driver (v1.6.0 => v1.7.0): Extracting archive
  - Upgrading drupal/core-dev (10.1.6 => 10.2.7)
  - Upgrading drupal/core-recommended (10.1.6 => 10.2.7)
  - Upgrading drupal/devel (5.1.2 => 5.2.1): Extracting archive
  - Upgrading drupal/entity_browser (2.9.0 => 2.10.0): Extracting archive
  - Upgrading drupal/entity_embed (1.5.0 => 1.6.0): Extracting archive
  - Upgrading drupal/entity_reference_revisions (1.10.0 => 1.11.0): Extracting archive
  - Upgrading fileeye/mimemap (2.0.3 => 2.1.1): Extracting archive
  - Upgrading phenx/php-font-lib (0.5.4 => 0.5.6): Extracting archive
  - Upgrading drupal/linkit (6.1.2 => 6.1.4): Extracting archive
  - Upgrading drupal/token (1.13.0 => 1.14.0): Extracting archive
  - Upgrading drupal/paragraphs (1.16.0 => 1.17.0): Extracting archive
  - Upgrading drupal/paragraphs_asymmetric_translation_widgets (1.2.0 => 1.3.0): Extracting archive
  - Upgrading onelogin/php-saml (4.1.0 => 4.2.0): Extracting archive
  - Upgrading drupal/externalauth (2.0.3 => 2.0.5): Extracting archive
  - Upgrading drupal/samlauth (dev-3.x 0c12729 => dev-3.x 5183056): Checking out 5183056164 from cache
  - Upgrading drupal/simple_sitemap (4.1.7 => 4.1.9): Extracting archive
  - Upgrading drupal/token_filter (2.1.0 => 2.2.0): Extracting archive
  - Upgrading drupal/twig_tweak (3.2.1 => 3.3.0): Extracting archive
  - Upgrading jangregor/phpstan-prophecy (1.0.0 => 1.0.2): Extracting archive
dev-rana-publicis commented 3 weeks ago

root@835cc3af45ca:/var/www/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end# drush updb

Module Update ID Type Description
system 10101 hook_update_n 10101 - Change the {batch} table [bid] field to serial.
system 10201 hook_update_n 10201 - Clear left over entries in the revision data table.
help 10200 hook_update_n 10200 - Install search index table for help topics.
simple_sitemap 8408 hook_update_n 8408 - Delete data from state now that it gets stored to the key/value store.
autologout 9001 post-update Post update hook to set include destination to true.
autologout 9502 post-update Make Drupal 10 warning message more user friendly.
file add_default_filename_sanitization_configuration post-update Add default filename sanitization configuration.
filter sort_filters post-update Sorts filter format filter configuration.
help add_permissions _to_roles post-update Grant all admin roles the 'access help pages' permission.
help help_topics_search post-update Install or update config for help topics if the search module installed.
help help_topics_uninstall post-update Uninstall the help_topics module if installed.
media set_blank_iframe_domain_to_null post-update Updates media.settings:iframe_domain config if it's still at the default.
path_alias drop_path_alias_status_index post-update Remove the path_alias__status index.
system add_description_to_entity_form_mode post-update Update description for form modes.
system add_description_to_entity_view_mode post-update Update description for view modes.
system mailer_dsn_settings post-update Add new default mail transport dsn.
system mailer_structured_dsn_settings post-update Add new default mail transport dsn.
system remove_asset_entries post-update Remove redundant asset state and config.
system remove_asset_query_string post-update Remove redundant asset query string state.
system set_blank_log_url_to_null post-update Updates system.theme.global:logo. url config if it's still at the default.
views add_missing_labels post-update Add labels to views which don't have one.
views removedefault argument_skip_url post-update Remove default_argument_skip_url setting.
views remove_skip_cache_setting post-update Remove the skip_cache settings.
views taxonomy_filter_user_context post-update Removes User context from views with taxonomy filters.

>  [notice] Update started: system_update_10101
>  [notice] Update completed: system_update_10101
>  [notice] Update started: system_update_10201
>  [notice] Update completed: system_update_10201
>  [notice] Update started: help_update_10200
>  [notice] Update completed: help_update_10200
>  [notice] Update started: simple_sitemap_update_8408
>  [notice] The sitemaps need to be regenerated.
>  [notice] Update completed: simple_sitemap_update_8408
>  [notice] Update started: autologout_post_update_9001
>  [notice] Update completed: autologout_post_update_9001
>  [notice] Update started: autologout_post_update_9502
>  [notice] Update completed: autologout_post_update_9502
>  [notice] Update started: file_post_update_add_default_filename_sanitization_configuration
>  [notice] Update completed: file_post_update_add_default_filename_sanitization_configuration
>  [notice] Update started: filter_post_update_sort_filters
>  [notice] Update completed: filter_post_update_sort_filters
>  [notice] Update started: help_post_update_add_permissions_to_roles
>  [notice] Update completed: help_post_update_add_permissions_to_roles
>  [notice] Update started: help_post_update_help_topics_search
>  [notice] Update completed: help_post_update_help_topics_search
>  [notice] Update started: help_post_update_help_topics_uninstall
>  [notice] Update completed: help_post_update_help_topics_uninstall
>  [notice] Update started: media_post_update_set_blank_iframe_domain_to_null
>  [notice] Update completed: media_post_update_set_blank_iframe_domain_to_null
>  [notice] Update started: path_alias_post_update_drop_path_alias_status_index
>  [notice] Update completed: path_alias_post_update_drop_path_alias_status_index
>  [notice] Update started: system_post_update_add_description_to_entity_form_mode
>  [notice] Update completed: system_post_update_add_description_to_entity_form_mode
>  [notice] Update started: system_post_update_add_description_to_entity_view_mode
>  [notice] Update completed: system_post_update_add_description_to_entity_view_mode
>  [notice] Update started: system_post_update_mailer_dsn_settings
>  [notice] Update completed: system_post_update_mailer_dsn_settings
>  [notice] Update started: system_post_update_mailer_structured_dsn_settings
>  [notice] Update completed: system_post_update_mailer_structured_dsn_settings
>  [notice] Update started: system_post_update_remove_asset_entries
>  [notice] Update completed: system_post_update_remove_asset_entries
>  [notice] Update started: system_post_update_remove_asset_query_string
>  [notice] Update completed: system_post_update_remove_asset_query_string
>  [notice] Update started: system_post_update_set_blank_log_url_to_null
>  [notice] Update completed: system_post_update_set_blank_log_url_to_null
>  [notice] Update started: views_post_update_add_missing_labels
>  [notice] Update completed: views_post_update_add_missing_labels
>  [notice] Update started: views_post_update_remove_default_argument_skip_url
>  [notice] Update completed: views_post_update_remove_default_argument_skip_url
>  [notice] Update started: views_post_update_remove_skip_cache_setting
>  [notice] Update completed: views_post_update_remove_skip_cache_setting
>  [notice] Update started: views_post_update_taxonomy_filter_user_context
>  [notice] Update completed: views_post_update_taxonomy_filter_user_context
 [success] Finished performing updates.