Обновление сайта с Drupal 8 до 9

Опубликовано: 06.01.2022
Автор: Виталий Бочкарев
Поддержать автора статьи по этой ссылке

Прошло уже достаточно много времени с того момента, когда я создавал свой сайт http://sysengineering.ru/ на Drupal 8, о чем я писал заметки:

Теперь настало время перевести сайт с движка Drupal версии 8 на более новую 9 версию.

Прежде, чем приступить к обновлению, необходимо сделать резервное копирование сервера, на котором установлен сайт. Так как у меня сайт "крутится" на облачном сервере AWS, то через консоль AWS я просто сделал "снимок" с диска сервера с текущим состоянием операционной системы и всех файлов в том числе и базы данных Drupal.

Далее я следовал такого плана установки пакетов и изменения конфигурации:

1. Подключился к серверу через SSH с использованием приватного ключа:

ssh webuser@sysengineering.ru -i "C:\SSH key\private.pem"

2. Перешел в каталог проекта (там, где установлен веб-движок Drupal), очистил кэш движка и через "композитор" установил последние обновления ядра Drupal 8 и всех зависимых модулей.

cd /var/www/drupal

vendor/bin/drush cr

sudo /usr/local/bin/composer update drupal/core --with-dependencies

sudo systemctl restart httpd

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal

[webuser@sysengineering drupal]$ vendor/bin/drush cr
 [success] Cache rebuild complete.

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer update drupal/core --with-dependencies
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 30 updates, 0 removals
  - Upgrading doctrine/annotations (1.12.1 => 1.13.2)
  - Upgrading doctrine/cache (1.10.2 => 1.12.1)
  - Upgrading doctrine/collections (1.6.7 => 1.6.8)
  - Upgrading doctrine/inflector (1.4.3 => 1.4.4)
  - Upgrading drupal/core (8.9.13 => 8.9.20)
  - Upgrading guzzlehttp/promises (1.4.1 => 1.5.1)
  - Upgrading guzzlehttp/psr7 (1.7.0 => 1.8.3)
  - Upgrading laminas/laminas-escaper (2.7.0 => 2.9.0)
  - Upgrading laminas/laminas-feed (2.13.1 => 2.16.0)
  - Upgrading laminas/laminas-stdlib (3.3.1 => 3.6.4)
  - Upgrading laminas/laminas-zendframework-bridge (1.2.0 => 1.4.1)
  - Upgrading masterminds/html5 (2.7.4 => 2.7.5)
  - Upgrading pear/archive_tar (1.4.13 => 1.4.14)
  - Upgrading pear/pear-core-minimal (v1.10.10 => v1.10.11)
  - Upgrading pear/pear_exception (v1.0.1 => v1.0.2)
  - Upgrading phpdocumentor/reflection-docblock (5.2.2 => 5.3.0)
  - Upgrading phpdocumentor/type-resolver (1.4.0 => 1.6.0)
  - Locking psr/cache (1.0.1)
  - Upgrading psr/log (1.1.3 => 1.1.4)
  - Upgrading symfony/debug (v4.4.20 => v4.4.36)
  - Upgrading symfony/http-kernel (v3.4.47 => v3.4.49)
  - Upgrading symfony/polyfill-ctype (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-iconv (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-intl-idn (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-intl-normalizer (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-mbstring (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-php72 (v1.22.1 => v1.24.0)
  - Upgrading symfony/polyfill-php80 (v1.22.1 => v1.24.0)
  - Upgrading symfony/var-dumper (v4.4.20 => v4.4.36)
  - Upgrading twig/twig (v1.44.2 => v1.44.6)
  - Upgrading typo3/phar-stream-wrapper (v3.1.6 => v3.1.7)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 30 updates, 0 removals
  - Downloading symfony/polyfill-ctype (v1.24.0)
  - Downloading symfony/polyfill-mbstring (v1.24.0)
  - Downloading psr/log (1.1.4)
  - Downloading symfony/debug (v4.4.36)
  - Downloading symfony/http-kernel (v3.4.49)
  - Downloading psr/cache (1.0.1)
  - Downloading doctrine/annotations (1.13.2)
  - Downloading doctrine/collections (1.6.8)
  - Downloading doctrine/cache (1.12.1)
  - Downloading doctrine/inflector (1.4.4)
  - Downloading typo3/phar-stream-wrapper (v3.1.7)
  - Downloading twig/twig (v1.44.6)
  - Downloading symfony/polyfill-iconv (v1.24.0)
  - Downloading pear/pear_exception (v1.0.2)
  - Downloading pear/pear-core-minimal (v1.10.11)
  - Downloading pear/archive_tar (1.4.14)
  - Downloading masterminds/html5 (2.7.5)
  - Downloading laminas/laminas-stdlib (3.6.4)
  - Downloading laminas/laminas-escaper (2.9.0)
  - Downloading laminas/laminas-feed (2.16.0)
  - Downloading laminas/laminas-zendframework-bridge (1.4.1)
  - Downloading symfony/polyfill-php72 (v1.24.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.24.0)
  - Downloading symfony/polyfill-intl-idn (v1.24.0)
  - Downloading guzzlehttp/psr7 (1.8.3)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading drupal/core (8.9.20)
  - Downloading symfony/polyfill-php80 (v1.24.0)
  - Downloading symfony/var-dumper (v4.4.36)
  - Downloading phpdocumentor/type-resolver (1.6.0)
  - Downloading phpdocumentor/reflection-docblock (5.3.0)
  - Upgrading symfony/polyfill-ctype (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading symfony/polyfill-mbstring (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading psr/log (1.1.3 => 1.1.4): Extracting archive
  - Upgrading symfony/debug (v4.4.20 => v4.4.36): Extracting archive
  - Upgrading symfony/http-kernel (v3.4.47 => v3.4.49): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Upgrading doctrine/annotations (1.12.1 => 1.13.2): Extracting archive
  - Upgrading doctrine/collections (1.6.7 => 1.6.8): Extracting archive
  - Upgrading doctrine/cache (1.10.2 => 1.12.1): Extracting archive
  - Upgrading doctrine/inflector (1.4.3 => 1.4.4): Extracting archive
  - Upgrading typo3/phar-stream-wrapper (v3.1.6 => v3.1.7): Extracting archive
  - Upgrading twig/twig (v1.44.2 => v1.44.6): Extracting archive
  - Upgrading symfony/polyfill-iconv (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading pear/pear_exception (v1.0.1 => v1.0.2): Extracting archive
  - Upgrading pear/pear-core-minimal (v1.10.10 => v1.10.11): Extracting archive
  - Upgrading pear/archive_tar (1.4.13 => 1.4.14): Extracting archive
  - Upgrading masterminds/html5 (2.7.4 => 2.7.5): Extracting archive
  - Upgrading laminas/laminas-stdlib (3.3.1 => 3.6.4): Extracting archive
  - Upgrading laminas/laminas-escaper (2.7.0 => 2.9.0): Extracting archive
  - Upgrading laminas/laminas-feed (2.13.1 => 2.16.0): Extracting archive
  - Upgrading laminas/laminas-zendframework-bridge (1.2.0 => 1.4.1): Extracting archive
  - Upgrading symfony/polyfill-php72 (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading symfony/polyfill-intl-normalizer (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading symfony/polyfill-intl-idn (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading guzzlehttp/psr7 (1.7.0 => 1.8.3): Extracting archive
  - Upgrading guzzlehttp/promises (1.4.1 => 1.5.1): Extracting archive
  - Upgrading drupal/core (8.9.13 => 8.9.20): Extracting archive
  - Upgrading symfony/polyfill-php80 (v1.22.1 => v1.24.0): Extracting archive
  - Upgrading symfony/var-dumper (v4.4.20 => v4.4.36): Extracting archive
  - Upgrading phpdocumentor/type-resolver (1.4.0 => 1.6.0): Extracting archive
  - Upgrading phpdocumentor/reflection-docblock (5.2.2 => 5.3.0): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
21 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

3. Установил обновления для всех используемых модулей.

cd /var/www/drupal

sudo /usr/local/bin/composer update

sudo systemctl restart httpd

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer update
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 25 updates, 1 removal
  - Removing dnoegel/php-xdg-base-dir (v0.1.1)
  - Upgrading composer/installers (v1.9.0 => v1.12.0)
  - Upgrading consolidation/annotated-command (2.12.1 => 2.12.2)
  - Upgrading consolidation/robo (1.4.13 => 1.5.0)
  - Upgrading consolidation/site-alias (3.0.1 => 3.1.3)
  - Upgrading cweagans/composer-patches (1.7.0 => 1.7.1)
  - Upgrading drupal/admin_toolbar (2.4.0 => 2.5.0)
  - Upgrading drupal/console (1.9.7 => 1.9.8)
  - Upgrading drupal/core-composer-scaffold (9.1.5 => 9.3.2)
  - Upgrading drupal/ctools (3.4.0 => 3.7.0)
  - Upgrading drupal/field_group (3.1.0 => 3.2.0)
  - Upgrading drupal/metatag (1.15.0 => 1.16.0)
  - Upgrading drupal/redirect (1.6.0 => 1.7.0)
  - Upgrading drupal/token (1.9.0 => 1.10.0)
  - Upgrading drupal/views_bulk_operations (3.9.0 => 3.13.0)
  - Upgrading drupal/xmlsitemap (1.0.0 => 1.2.0)
  - Upgrading drush/drush (9.7.2 => 9.7.3)
  - Upgrading league/container (2.4.1 => 2.5.0)
  - Upgrading nikic/php-parser (v4.10.3 => v4.13.2)
  - Upgrading psy/psysh (v0.10.5 => v0.11.1)
  - Upgrading symfony/config (v4.4.18 => v4.4.36)
  - Upgrading symfony/css-selector (v3.4.47 => v4.4.27)
  - Upgrading symfony/dom-crawler (v3.4.47 => v4.4.36)
  - Upgrading symfony/filesystem (v3.4.47 => v4.4.27)
  - Upgrading symfony/finder (v3.4.47 => v4.4.36)
  - Locking symfony/polyfill-php81 (v1.24.0)
  - Upgrading vlucas/phpdotenv (v2.6.6 => v2.6.9)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 25 updates, 1 removal
  - Downloading cweagans/composer-patches (1.7.1)
  - Downloading composer/installers (v1.12.0)
  - Downloading drupal/core-composer-scaffold (9.3.2)
  - Downloading symfony/filesystem (v4.4.27)
  - Downloading drupal/admin_toolbar (2.5.0)
  - Downloading symfony/dom-crawler (v4.4.36)
  - Downloading symfony/css-selector (v4.4.27)
  - Downloading nikic/php-parser (v4.13.2)
  - Downloading psy/psysh (v0.11.1)
  - Downloading symfony/finder (v4.4.36)
  - Downloading symfony/polyfill-php81 (v1.24.0)
  - Downloading symfony/config (v4.4.36)
  - Downloading drupal/console (1.9.8)
  - Downloading drupal/field_group (3.2.0)
  - Downloading drupal/token (1.10.0)
  - Downloading drupal/metatag (1.16.0)
  - Downloading drupal/ctools (3.7.0)
  - Downloading drupal/redirect (1.7.0)
  - Downloading drupal/views_bulk_operations (3.13.0)
  - Downloading drupal/xmlsitemap (1.2.0)
  - Downloading league/container (2.5.0)
  - Downloading consolidation/site-alias (3.1.3)
  - Downloading consolidation/annotated-command (2.12.2)
  - Downloading consolidation/robo (1.5.0)
  - Downloading drush/drush (9.7.3)
  - Downloading vlucas/phpdotenv (v2.6.9)
  - Removing dnoegel/php-xdg-base-dir (v0.1.1)
  - Upgrading cweagans/composer-patches (1.7.0 => 1.7.1): Extracting archive
  - Upgrading composer/installers (v1.9.0 => v1.12.0): Extracting archive
  - Upgrading drupal/core-composer-scaffold (9.1.5 => 9.3.2): Extracting archive
  - Upgrading symfony/filesystem (v3.4.47 => v4.4.27): Extracting archive
  - Upgrading drupal/admin_toolbar (2.4.0 => 2.5.0): Extracting archive
  - Upgrading symfony/dom-crawler (v3.4.47 => v4.4.36): Extracting archive
  - Upgrading symfony/css-selector (v3.4.47 => v4.4.27): Extracting archive
  - Upgrading nikic/php-parser (v4.10.3 => v4.13.2): Extracting archive
  - Upgrading psy/psysh (v0.10.5 => v0.11.1): Extracting archive
  - Upgrading symfony/finder (v3.4.47 => v4.4.36): Extracting archive
  - Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
  - Upgrading symfony/config (v4.4.18 => v4.4.36): Extracting archive
  - Upgrading drupal/console (1.9.7 => 1.9.8): Extracting archive
  - Upgrading drupal/field_group (3.1.0 => 3.2.0): Extracting archive
  - Upgrading drupal/token (1.9.0 => 1.10.0): Extracting archive
  - Upgrading drupal/metatag (1.15.0 => 1.16.0): Extracting archive
  - Upgrading drupal/ctools (3.4.0 => 3.7.0): Extracting archive
  - Upgrading drupal/redirect (1.6.0 => 1.7.0): Extracting archive
  - Upgrading drupal/views_bulk_operations (3.9.0 => 3.13.0): Extracting archive
  - Upgrading drupal/xmlsitemap (1.0.0 => 1.2.0): Extracting archive
  - Upgrading league/container (2.4.1 => 2.5.0): Extracting archive
  - Upgrading consolidation/site-alias (3.0.1 => 3.1.3): Extracting archive
  - Upgrading consolidation/annotated-command (2.12.1 => 2.12.2): Extracting archive
  - Upgrading consolidation/robo (1.4.13 => 1.5.0): Extracting archive
  - Upgrading drush/drush (9.7.2 => 9.7.3): Extracting archive
  - Upgrading vlucas/phpdotenv (v2.6.6 => v2.6.9): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

4. Через браузер в веб-консоли движка Drupal http://sysengineering.ru/admin/reports/status посмотрел статус проекта, посмотрел модули, не обновленные автоматически, и обновил базу данных через веб-страницу http://sysengineering.ru/update.php.

Drupal 8 update - 01
Drupal 8 update - 02

5. Обновил модули, не обновленные автоматически: bootstrap и sitemap.

cd /var/www/drupal

sudo /usr/local/bin/composer require drupal/bootstrap

sudo /usr/local/bin/composer require 'drupal/sitemap:^2.0@beta'

sudo systemctl restart httpd

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require drupal/bootstrap
Using version ^3.23 for drupal/bootstrap
./composer.json has been updated
Running composer update drupal/bootstrap
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading drupal/bootstrap (3.20.0 => 3.23.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading drupal/bootstrap (3.23.0)
  - Upgrading drupal/bootstrap (3.20.0 => 3.23.0): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require 'drupal/sitemap:^2.0@beta'
./composer.json has been updated
Running composer update drupal/sitemap
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading drupal/sitemap (1.5.0 => 2.0.0-beta2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading drupal/sitemap (2.0.0-beta2)
  - Upgrading drupal/sitemap (1.5.0 => 2.0.0-beta2): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
36 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

6. Посмотрел текущую версию Apache веб-сервера, добавил новый репозиторий в систему, посмотрел, до какой версии можно обновить Apache, запустил обновление до указанной версии.

yum info httpd

cd /etc/yum.repos.d

sudo wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo

yum info httpd

sudo yum install httpd

sudo systemctl enable httpd

sudo systemctl start httpd

Листинг вывода команд :

[webuser@sysengineering drupal]$ yum info httpd
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Determining fastest mirrors
 * base: download.cf.centos.org
 * epel: www.mirrorservice.org
 * extras: download.cf.centos.org
 * remi-php73: mirror.netweaver.uk
 * remi-safe: mirror.netweaver.uk
 * updates: download.cf.centos.org
Installed Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 97.el7.centos.2
Size        : 9.4 M
Repo        : installed
From repo   : updates
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.

[webuser@sysengineering drupal]$ cd /etc/yum.repos.d

[webuser@sysengineering yum.repos.d]$ ls
CentOS-Base.repo       CentOS-Media.repo          epel.repo            remi-glpi92.repo   remi-php54.repo  remi-php73.repo  remi.repo              webtatic-testing.repo
CentOS-CR.repo         CentOS-Sources.repo        epel-testing.repo    remi-glpi93.repo   remi-php70.repo  remi-php74.repo  remi-safe.repo         yandex-disk.repo
CentOS-Debuginfo.repo  CentOS-Vault.repo          microsoft-prod.repo  remi-glpi94.repo   remi-php71.repo  remi-php80.repo  webtatic-archive.repo  yandex.repo
CentOS-fasttrack.repo  CentOS-x86_64-kernel.repo  remi-glpi91.repo     remi-modular.repo  remi-php72.repo  remi-php81.repo  webtatic.repo

[webuser@sysengineering yum.repos.d]$ sudo wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo
--2022-01-06 12:07:41--  https://repo.codeit.guru/codeit.el7.repo
Resolving repo.codeit.guru (repo.codeit.guru)... 144.76.75.67, 2a01:4f8:191:9348::6
Connecting to repo.codeit.guru (repo.codeit.guru)|144.76.75.67|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 159 [text/plain]
Saving to: ‘codeit.el7.repo’
100%[======================================================================================================================================================================>] 159         --.-K/s   in 0s
2022-01-06 12:07:41 (31.0 MB/s) - ‘codeit.el7.repo’ saved [159/159]

[webuser@sysengineering yum.repos.d]$ yum info httpd
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: download.cf.centos.org
 * epel: www.mirrorservice.org
 * extras: download.cf.centos.org
 * remi-php73: mirror.netweaver.uk
 * remi-safe: mirror.netweaver.uk
 * updates: download.cf.centos.org
CodeIT                                                                                                                                                                                   | 2.9 kB  00:00:00
CodeIT/x86_64/primary_db                                                                                                                                                                 | 106 kB  00:00:00
Installed Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 97.el7.centos.2
Size        : 9.4 M
Repo        : installed
From repo   : updates
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.
Available Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.52
Release     : 1.codeit.el7
Size        : 1.4 M
Repo        : CodeIT/x86_64
Summary     : Apache HTTP Server
URL         : https://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.

[webuser@sysengineering yum.repos.d]$ sudo yum install httpd
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: download.cf.centos.org
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: download.cf.centos.org
 * remi-php73: mirror.netweaver.uk
 * remi-safe: mirror.netweaver.uk
 * updates: download.cf.centos.org
CodeIT                                                                                                                                                                                   | 2.9 kB  00:00:00
CodeIT/x86_64/primary_db                                                                                                                                                                 | 106 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-97.el7.centos.2 will be updated
---> Package httpd.x86_64 0:2.4.52-1.codeit.el7 will be an update
--> Processing Dependency: httpd-tools = 2.4.52-1.codeit.el7 for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: httpd-filesystem = 2.4.52-1.codeit.el7 for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: apr-util >= 1.6.1 for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: apr >= 1.7.0 for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: mod_http2 for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: httpd-filesystem for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: libbrotlienc.so.1()(64bit) for package: httpd-2.4.52-1.codeit.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-7.el7 will be updated
---> Package apr.x86_64 0:1.7.0-2.el7 will be an update
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be updated
---> Package apr-util.x86_64 0:1.6.1-6.el7 will be an update
---> Package httpd-filesystem.noarch 0:2.4.52-1.codeit.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-97.el7.centos.2 will be updated
---> Package httpd-tools.x86_64 0:2.4.52-1.codeit.el7 will be an update
--> Processing Dependency: openssl111-libs for package: httpd-tools-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: httpd-tools-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: httpd-tools-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: httpd-tools-2.4.52-1.codeit.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: httpd-tools-2.4.52-1.codeit.el7.x86_64
---> Package libbrotli.x86_64 0:1.0.9-1.codeit.el7 will be installed
---> Package mod_http2.x86_64 0:2.0.2-1.codeit will be installed
--> Processing Dependency: libnghttp2 >= 1.21.1 for package: mod_http2-2.0.2-1.codeit.x86_64
--> Processing Dependency: libnghttp2.so.14()(64bit) for package: mod_http2-2.0.2-1.codeit.x86_64
--> Running transaction check
---> Package libnghttp2.x86_64 0:1.46.0-2.codeit.el7 will be installed
---> Package openssl111-libs.x86_64 0:1.1.1m-1.codeit.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
 Package                                               Arch                                        Version                                                    Repository                                   Size
================================================================================================================================================================================================================
Updating:
 httpd                                                 x86_64                                      2.4.52-1.codeit.el7                                        CodeIT                                      1.4 M
Installing for dependencies:
 httpd-filesystem                                      noarch                                      2.4.52-1.codeit.el7                                        CodeIT                                       29 k
 libbrotli                                             x86_64                                      1.0.9-1.codeit.el7                                         CodeIT                                      307 k
 libnghttp2                                            x86_64                                      1.46.0-2.codeit.el7                                        CodeIT                                       68 k
 mod_http2                                             x86_64                                      2.0.2-1.codeit                                             CodeIT                                      138 k
 openssl111-libs                                       x86_64                                      1.1.1m-1.codeit.el7                                        CodeIT                                      1.4 M
Updating for dependencies:
 apr                                                   x86_64                                      1.7.0-2.el7                                                CodeIT                                      122 k
 apr-util                                              x86_64                                      1.6.1-6.el7                                                CodeIT                                       98 k
 httpd-tools                                           x86_64                                      2.4.52-1.codeit.el7                                        CodeIT                                       94 k
Transaction Summary
================================================================================================================================================================================================================
Install             ( 5 Dependent packages)
Upgrade  1 Package  (+3 Dependent packages)
Total download size: 3.6 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/CodeIT/packages/apr-1.7.0-2.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 898b43f4: NOKEY                                             ]  0.0 B/s |    0 B  --:--:-- ETA
Public key for apr-1.7.0-2.el7.x86_64.rpm is not installed
(1/9): apr-1.7.0-2.el7.x86_64.rpm                                                                                                                                                        | 122 kB  00:00:00
(2/9): apr-util-1.6.1-6.el7.x86_64.rpm                                                                                                                                                   |  98 kB  00:00:00
(3/9): httpd-filesystem-2.4.52-1.codeit.el7.noarch.rpm                                                                                                                                   |  29 kB  00:00:00
(4/9): httpd-tools-2.4.52-1.codeit.el7.x86_64.rpm                                                                                                                                        |  94 kB  00:00:00
(5/9): httpd-2.4.52-1.codeit.el7.x86_64.rpm                                                                                                                                              | 1.4 MB  00:00:00
(6/9): libbrotli-1.0.9-1.codeit.el7.x86_64.rpm                                                                                                                                           | 307 kB  00:00:00
(7/9): libnghttp2-1.46.0-2.codeit.el7.x86_64.rpm                                                                                                                                         |  68 kB  00:00:00
(8/9): mod_http2-2.0.2-1.codeit.x86_64.rpm                                                                                                                                               | 138 kB  00:00:00
(9/9): openssl111-libs-1.1.1m-1.codeit.el7.x86_64.rpm                                                                                                                                    | 1.4 MB  00:00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                           3.5 MB/s | 3.6 MB  00:00:01
Retrieving key from https://repo.codeit.guru/RPM-GPG-KEY-codeit
Importing GPG key 0x898B43F4:
 Userid     : "teatron (CodeIT) "
 Fingerprint: ff42 c2ce 04dc 87ed 8f22 99af fbf1 407b 898b 43f4
 From       : https://repo.codeit.guru/RPM-GPG-KEY-codeit
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : apr-1.7.0-2.el7.x86_64                                                                                                                                                                      1/13
  Updating   : apr-util-1.6.1-6.el7.x86_64                                                                                                                                                                 2/13
  Installing : openssl111-libs-1.1.1m-1.codeit.el7.x86_64                                                                                                                                                  3/13
  Updating   : httpd-tools-2.4.52-1.codeit.el7.x86_64                                                                                                                                                      4/13
  Installing : httpd-filesystem-2.4.52-1.codeit.el7.noarch                                                                                                                                                 5/13
  Installing : libbrotli-1.0.9-1.codeit.el7.x86_64                                                                                                                                                         6/13
  Installing : libnghttp2-1.46.0-2.codeit.el7.x86_64                                                                                                                                                       7/13
  Installing : mod_http2-2.0.2-1.codeit.x86_64                                                                                                                                                             8/13
  Updating   : httpd-2.4.52-1.codeit.el7.x86_64                                                                                                                                                            9/13
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
  Cleanup    : httpd-2.4.6-97.el7.centos.2.x86_64                                                                                                                                                         10/13
  Cleanup    : httpd-tools-2.4.6-97.el7.centos.2.x86_64                                                                                                                                                   11/13
  Cleanup    : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                12/13
  Cleanup    : apr-1.4.8-7.el7.x86_64                                                                                                                                                                     13/13
checkmodule:  loading policy configuration from /etc/selinux/httpd/httpd-codeit.te
checkmodule:  policy configuration loaded
checkmodule:  writing binary representation (version 19) to /etc/selinux/httpd/httpd-codeit.mod
  Verifying  : httpd-tools-2.4.52-1.codeit.el7.x86_64                                                                                                                                                      1/13
  Verifying  : libnghttp2-1.46.0-2.codeit.el7.x86_64                                                                                                                                                       2/13
  Verifying  : apr-1.7.0-2.el7.x86_64                                                                                                                                                                      3/13
  Verifying  : mod_http2-2.0.2-1.codeit.x86_64                                                                                                                                                             4/13
  Verifying  : apr-util-1.6.1-6.el7.x86_64                                                                                                                                                                 5/13
  Verifying  : openssl111-libs-1.1.1m-1.codeit.el7.x86_64                                                                                                                                                  6/13
  Verifying  : libbrotli-1.0.9-1.codeit.el7.x86_64                                                                                                                                                         7/13
  Verifying  : httpd-filesystem-2.4.52-1.codeit.el7.noarch                                                                                                                                                 8/13
  Verifying  : httpd-2.4.52-1.codeit.el7.x86_64                                                                                                                                                            9/13
  Verifying  : httpd-2.4.6-97.el7.centos.2.x86_64                                                                                                                                                         10/13
  Verifying  : httpd-tools-2.4.6-97.el7.centos.2.x86_64                                                                                                                                                   11/13
  Verifying  : apr-1.4.8-7.el7.x86_64                                                                                                                                                                     12/13
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                13/13
Dependency Installed:
  httpd-filesystem.noarch 0:2.4.52-1.codeit.el7 libbrotli.x86_64 0:1.0.9-1.codeit.el7 libnghttp2.x86_64 0:1.46.0-2.codeit.el7 mod_http2.x86_64 0:2.0.2-1.codeit openssl111-libs.x86_64 0:1.1.1m-1.codeit.el7
Updated:
  httpd.x86_64 0:2.4.52-1.codeit.el7
Dependency Updated:
  apr.x86_64 0:1.7.0-2.el7                                      apr-util.x86_64 0:1.6.1-6.el7                                      httpd-tools.x86_64 0:2.4.52-1.codeit.el7
Complete!

[webuser@sysengineering yum.repos.d]$ sudo systemctl enable httpd

[webuser@sysengineering yum.repos.d]$ sudo systemctl start httpd
@codeit.guru>

7. Удалил старый движок баз данных MariaDB, добавил

sudo systemctl stop mariadb

sudo yum remove mariadb*

sudo rpm --query --all | grep -i -E "mariadb|galera"

cd ~

chmod +x mariadb_repo_setup

sudo ./mariadb_repo_setup --mariadb-server-version="mariadb-10.6"

sudo yum install MariaDB-server

sudo systemctl enable mariadb

sudo systemctl start mariadb

Листинг вывода команд :

[webuser@sysengineering yum.repos.d]$ sudo systemctl stop mariadb

[webuser@sysengineering yum.repos.d]$ sudo yum remove mariadb*
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.68-1.el7 will be erased
---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be erased
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
---> Package mariadb-server.x86_64 1:5.5.68-1.el7 will be erased
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be erased
---> Package postfix.x86_64 2:2.10.1-9.el7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
 Package                                               Arch                                          Version                                                 Repository                                    Size
================================================================================================================================================================================================================
Removing:
 mariadb                                               x86_64                                        1:5.5.68-1.el7                                          @base                                         49 M
 mariadb-libs                                          x86_64                                        1:5.5.68-1.el7                                          @base                                        4.4 M
 mariadb-server                                        x86_64                                        1:5.5.68-1.el7                                          @base                                         58 M
Removing for dependencies:
 perl-DBD-MySQL                                        x86_64                                        4.023-6.el7                                             @base                                        323 k
 postfix                                               x86_64                                        2:2.10.1-9.el7                                          @base                                         12 M
Transaction Summary
================================================================================================================================================================================================================
Remove  3 Packages (+2 Dependent packages)
Installed size: 124 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : 1:mariadb-server-5.5.68-1.el7.x86_64                                                                                                                                                         1/5
warning: /var/log/mariadb/mariadb.log saved as /var/log/mariadb/mariadb.log.rpmsave
  Erasing    : 1:mariadb-5.5.68-1.el7.x86_64                                                                                                                                                                2/5
  Erasing    : perl-DBD-MySQL-4.023-6.el7.x86_64                                                                                                                                                            3/5
  Erasing    : 2:postfix-2.10.1-9.el7.x86_64                                                                                                                                                                4/5
  Erasing    : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                                                           5/5
  Verifying  : perl-DBD-MySQL-4.023-6.el7.x86_64                                                                                                                                                            1/5
  Verifying  : 1:mariadb-server-5.5.68-1.el7.x86_64                                                                                                                                                         2/5
  Verifying  : 2:postfix-2.10.1-9.el7.x86_64                                                                                                                                                                3/5
  Verifying  : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                                                           4/5
  Verifying  : 1:mariadb-5.5.68-1.el7.x86_64                                                                                                                                                                5/5
Removed:
  mariadb.x86_64 1:5.5.68-1.el7                                    mariadb-libs.x86_64 1:5.5.68-1.el7                                    mariadb-server.x86_64 1:5.5.68-1.el7
Dependency Removed:
  perl-DBD-MySQL.x86_64 0:4.023-6.el7                                                                       postfix.x86_64 2:2.10.1-9.el7
Complete!

[webuser@sysengineering yum.repos.d]$ sudo rpm --query --all | grep -i -E "mariadb|galera"

[webuser@sysengineering yum.repos.d]$ cd ~

[webuser@sysengineering ~]$ wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
--2022-01-06 12:16:51--  https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
Resolving downloads.mariadb.com (downloads.mariadb.com)... 104.17.191.14, 104.18.135.24, 2606:4700::6812:8718, ...
Connecting to downloads.mariadb.com (downloads.mariadb.com)|104.17.191.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26626 (26K) [application/octet-stream]
Saving to: ‘mariadb_repo_setup’
100%[======================================================================================================================================================================>] 26,626      --.-K/s   in 0s
2022-01-06 12:16:52 (124 MB/s) - ‘mariadb_repo_setup’ saved [26626/26626]

[webuser@sysengineering ~]$ chmod +x mariadb_repo_setup

[webuser@sysengineering ~]$ sudo ./mariadb_repo_setup --mariadb-server-version="mariadb-10.6"
[info] Checking for script prerequisites.
[info] Repository file successfully written to /etc/yum.repos.d/mariadb.repo
[info] Adding trusted package signing keys...
/etc/pki/rpm-gpg /home/webuser
/home/webuser
[info] Successfully added trusted package signing keys
[info] Cleaning package cache...
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Cleaning repos: CodeIT base epel extras mariadb-main mariadb-maxscale mariadb-tools packages-microsoft-com-prod remi-php73 remi-safe updates yandex
Cleaning up list of fastest mirrors
Other repos take up 2.5 M of disk space (use --verbose for details)

[webuser@sysengineering ~]$ sudo yum install MariaDB-server
Loaded plugins: fastestmirror
Repository yandex is listed more than once in the configuration
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                                                     |  24 kB  00:00:00
 * base: download.cf.centos.org
 * epel: mirror.freethought-internet.co.uk
 * extras: download.cf.centos.org
 * remi-php73: mirror.netweaver.uk
 * remi-safe: mirror.netweaver.uk
 * updates: download.cf.centos.org
CodeIT                                                                                                                                                                                   | 2.9 kB  00:00:00
base                                                                                                                                                                                     | 3.6 kB  00:00:00
epel                                                                                                                                                                                     | 4.7 kB  00:00:00
extras                                                                                                                                                                                   | 2.9 kB  00:00:00
mariadb-main                                                                                                                                                                             | 3.4 kB  00:00:00
mariadb-maxscale                                                                                                                                                                         | 2.5 kB  00:00:00
mariadb-tools                                                                                                                                                                            | 2.9 kB  00:00:00
packages-microsoft-com-prod                                                                                                                                                              | 3.0 kB  00:00:00
remi-php73                                                                                                                                                                               | 3.0 kB  00:00:00
remi-safe                                                                                                                                                                                | 3.0 kB  00:00:00
updates                                                                                                                                                                                  | 2.9 kB  00:00:00
yandex                                                                                                                                                                                   | 3.0 kB  00:00:00
(1/16): base/7/x86_64/group_gz                                                                                                                                                           | 153 kB  00:00:00
(2/16): base/7/x86_64/primary_db                                                                                                                                                         | 6.1 MB  00:00:00
(3/16): CodeIT/x86_64/primary_db                                                                                                                                                         | 106 kB  00:00:00
(4/16): epel/x86_64/group_gz                                                                                                                                                             |  96 kB  00:00:00
(5/16): epel/x86_64/updateinfo                                                                                                                                                           | 1.0 MB  00:00:00
(6/16): extras/7/x86_64/primary_db                                                                                                                                                       | 243 kB  00:00:00
(7/16): epel/x86_64/primary_db                                                                                                                                                           | 7.0 MB  00:00:00
(8/16): mariadb-tools/primary_db                                                                                                                                                         |  17 kB  00:00:00
(9/16): packages-microsoft-com-prod/primary_db                                                                                                                                           | 503 kB  00:00:00
(10/16): mariadb-main/updateinfo                                                                                                                                                         | 5.4 kB  00:00:00
(11/16): remi-php73/primary_db                                                                                                                                                           | 252 kB  00:00:00
(12/16): updates/7/x86_64/primary_db                                                                                                                                                     |  13 MB  00:00:00
(13/16): yandex/x86_64/primary_db                                                                                                                                                        | 2.7 kB  00:00:00
(14/16): mariadb-maxscale/primary_db                                                                                                                                                     | 7.1 kB  00:00:01
(15/16): mariadb-main/primary_db                                                                                                                                                         |  67 kB  00:00:01
(16/16): remi-safe/primary_db                                                                                                                                                            | 2.1 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.6.5-1.el7.centos will be installed
--> Processing Dependency: MariaDB-common >= 10.6.1 for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: MariaDB-client >= 10.6.1 for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: libpmem.so.1(LIBPMEM_1.0)(64bit) for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: galera-4 for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: lsof for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: libpmem.so.1()(64bit) for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Processing Dependency: libpcre2-8.so.0()(64bit) for package: MariaDB-server-10.6.5-1.el7.centos.x86_64
--> Running transaction check
---> Package MariaDB-client.x86_64 0:10.6.5-1.el7.centos will be installed
---> Package MariaDB-common.x86_64 0:10.6.5-1.el7.centos will be installed
--> Processing Dependency: MariaDB-compat for package: MariaDB-common-10.6.5-1.el7.centos.x86_64
---> Package galera-4.x86_64 0:26.4.9-1.el7.centos will be installed
--> Processing Dependency: socat for package: galera-4-26.4.9-1.el7.centos.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: galera-4-26.4.9-1.el7.centos.x86_64
---> Package libpmem.x86_64 0:1.5.1-2.1.el7 will be installed
---> Package lsof.x86_64 0:4.87-6.el7 will be installed
---> Package pcre2.x86_64 0:10.23-2.el7 will be installed
--> Running transaction check
---> Package MariaDB-compat.x86_64 0:10.6.5-1.el7.centos will be installed
---> Package boost-program-options.x86_64 0:1.53.0-28.el7 will be installed
---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================
 Package                                                 Arch                                     Version                                                  Repository                                      Size
================================================================================================================================================================================================================
Installing:
 MariaDB-server                                          x86_64                                   10.6.5-1.el7.centos                                      mariadb-main                                    25 M
Installing for dependencies:
 MariaDB-client                                          x86_64                                   10.6.5-1.el7.centos                                      mariadb-main                                    14 M
 MariaDB-common                                          x86_64                                   10.6.5-1.el7.centos                                      mariadb-main                                    81 k
 MariaDB-compat                                          x86_64                                   10.6.5-1.el7.centos                                      mariadb-main                                   2.2 M
 boost-program-options                                   x86_64                                   1.53.0-28.el7                                            base                                           156 k
 galera-4                                                x86_64                                   26.4.9-1.el7.centos                                      mariadb-main                                   9.6 M
 libpmem                                                 x86_64                                   1.5.1-2.1.el7                                            base                                            59 k
 lsof                                                    x86_64                                   4.87-6.el7                                               base                                           331 k
 pcre2                                                   x86_64                                   10.23-2.el7                                              base                                           201 k
 socat                                                   x86_64                                   1.7.3.2-2.el7                                            base                                           290 k
Transaction Summary
================================================================================================================================================================================================================
Install  1 Package (+9 Dependent packages)
Total download size: 52 M
Installed size: 221 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): MariaDB-common-10.6.5-1.el7.centos.x86_64.rpm                                                                                                                                    |  81 kB  00:00:01
(2/10): MariaDB-compat-10.6.5-1.el7.centos.x86_64.rpm                                                                                                                                    | 2.2 MB  00:00:00
(3/10): MariaDB-client-10.6.5-1.el7.centos.x86_64.rpm                                                                                                                                    |  14 MB  00:00:01
(4/10): boost-program-options-1.53.0-28.el7.x86_64.rpm                                                                                                                                   | 156 kB  00:00:00
(5/10): lsof-4.87-6.el7.x86_64.rpm                                                                                                                                                       | 331 kB  00:00:00
(6/10): pcre2-10.23-2.el7.x86_64.rpm                                                                                                                                                     | 201 kB  00:00:00
(7/10): socat-1.7.3.2-2.el7.x86_64.rpm                                                                                                                                                   | 290 kB  00:00:00
(8/10): libpmem-1.5.1-2.1.el7.x86_64.rpm                                                                                                                                                 |  59 kB  00:00:00
(9/10): galera-4-26.4.9-1.el7.centos.x86_64.rpm                                                                                                                                          | 9.6 MB  00:00:00
(10/10): MariaDB-server-10.6.5-1.el7.centos.x86_64.rpm                                                                                                                                   |  25 MB  00:00:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                            14 MB/s |  52 MB  00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : MariaDB-compat-10.6.5-1.el7.centos.x86_64                                                                                                                                                   1/10
  Installing : MariaDB-common-10.6.5-1.el7.centos.x86_64                                                                                                                                                   2/10
  Installing : libpmem-1.5.1-2.1.el7.x86_64                                                                                                                                                                3/10
  Installing : lsof-4.87-6.el7.x86_64                                                                                                                                                                      4/10
  Installing : pcre2-10.23-2.el7.x86_64                                                                                                                                                                    5/10
  Installing : MariaDB-client-10.6.5-1.el7.centos.x86_64                                                                                                                                                   6/10
  Installing : socat-1.7.3.2-2.el7.x86_64                                                                                                                                                                  7/10
  Installing : boost-program-options-1.53.0-28.el7.x86_64                                                                                                                                                  8/10
  Installing : galera-4-26.4.9-1.el7.centos.x86_64                                                                                                                                                         9/10
  Installing : MariaDB-server-10.6.5-1.el7.centos.x86_64                                                                                                                                                  10/10
  Verifying  : MariaDB-common-10.6.5-1.el7.centos.x86_64                                                                                                                                                   1/10
  Verifying  : boost-program-options-1.53.0-28.el7.x86_64                                                                                                                                                  2/10
  Verifying  : pcre2-10.23-2.el7.x86_64                                                                                                                                                                    3/10
  Verifying  : lsof-4.87-6.el7.x86_64                                                                                                                                                                      4/10
  Verifying  : MariaDB-server-10.6.5-1.el7.centos.x86_64                                                                                                                                                   5/10
  Verifying  : galera-4-26.4.9-1.el7.centos.x86_64                                                                                                                                                         6/10
  Verifying  : MariaDB-compat-10.6.5-1.el7.centos.x86_64                                                                                                                                                   7/10
  Verifying  : socat-1.7.3.2-2.el7.x86_64                                                                                                                                                                  8/10
  Verifying  : MariaDB-client-10.6.5-1.el7.centos.x86_64                                                                                                                                                   9/10
  Verifying  : libpmem-1.5.1-2.1.el7.x86_64                                                                                                                                                               10/10
Installed:
  MariaDB-server.x86_64 0:10.6.5-1.el7.centos
Dependency Installed:
  MariaDB-client.x86_64 0:10.6.5-1.el7.centos        MariaDB-common.x86_64 0:10.6.5-1.el7.centos        MariaDB-compat.x86_64 0:10.6.5-1.el7.centos        boost-program-options.x86_64 0:1.53.0-28.el7
  galera-4.x86_64 0:26.4.9-1.el7.centos              libpmem.x86_64 0:1.5.1-2.1.el7                     lsof.x86_64 0:4.87-6.el7                           pcre2.x86_64 0:10.23-2.el7
  socat.x86_64 0:1.7.3.2-2.el7
Complete!

[webuser@sysengineering ~]$ sudo systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.

[webuser@sysengineering ~]$ sudo systemctl start mariadb

8. Обновил интерфейс командной строки Drush.

cd /var/www/drupal/

sudo /usr/local/bin/composer require drush/drush

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal/

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require drush/drush
Using version ^10.6 for drush/drush
./composer.json has been updated
Running composer update drush/drush
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
  - Upgrading drush/drush (9.7.3 => 10.6.1)
  - Locking enlightn/security-checker (v1.9.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 1 update, 0 removals
  - Downloading enlightn/security-checker (v1.9.0)
  - Downloading drush/drush (10.6.1)
  - Installing enlightn/security-checker (v1.9.0): Extracting archive
  - Upgrading drush/drush (9.7.3 => 10.6.1): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
36 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

9. Установил модуль анализа подготовки к обновлению Drupal: upgrade_status.

cd /var/www/drupal/

sudo /usr/local/bin/composer require drupal/upgrade_status

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal/

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require drupal/upgrade_status
Using version ^3.13 for drupal/upgrade_status
./composer.json has been updated
Running composer update drupal/upgrade_status
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 0 updates, 0 removals
  - Locking drupal/upgrade_status (3.13.0)
  - Locking laminas/laminas-servicemanager (3.7.0)
  - Locking laminas/laminas-text (2.9.0)
  - Locking mathieuviossat/arraytotexttable (v1.0.8)
  - Locking mglaman/phpstan-drupal (1.1.4)
  - Locking nette/finder (v2.5.3)
  - Locking nette/utils (v3.2.6)
  - Locking phpstan/phpstan (1.3.1)
  - Locking phpstan/phpstan-deprecation-rules (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
  - Downloading phpstan/phpstan (1.3.1)
  - Downloading phpstan/phpstan-deprecation-rules (1.0.0)
  - Downloading nette/utils (v3.2.6)
  - Downloading nette/finder (v2.5.3)
  - Downloading mglaman/phpstan-drupal (1.1.4)
  - Downloading laminas/laminas-servicemanager (3.7.0)
  - Downloading laminas/laminas-text (2.9.0)
  - Downloading mathieuviossat/arraytotexttable (v1.0.8)
  - Downloading drupal/upgrade_status (3.13.0)
  - Installing phpstan/phpstan (1.3.1): Extracting archive
  - Installing phpstan/phpstan-deprecation-rules (1.0.0): Extracting archive
  - Installing nette/utils (v3.2.6): Extracting archive
  - Installing nette/finder (v2.5.3): Extracting archive
  - Installing mglaman/phpstan-drupal (1.1.4): Extracting archive
  - Installing laminas/laminas-servicemanager (3.7.0): Extracting archive
  - Installing laminas/laminas-text (2.9.0): Extracting archive
  - Installing mathieuviossat/arraytotexttable (v1.0.8): Extracting archive
  - Installing drupal/upgrade_status (3.13.0): Extracting archive
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
36 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ vendor/bin/drush pm-enable upgrade_status
 [success] Successfully enabled: upgrade_status

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

10. На странице модуля анализа подготовки к обновлению Drupal http://sysengineering.ru/admin/reports/upgrade-status посмотрел текущие ошибки, которые мешают перейти с 8 на 9 версию.

Drupal 8 update - 03

11. Чтобы исправить ошибку "$config_directories depreciated", я заменил в файле /var/www/drupal/web/sites/default/settings.php все значения $config_directories['sync'] на $settings['config_sync_directory'], а ту строку, где было указано $config_directories = [], - закомментировал.

Drupal 8 update - 04

12. На странице модуля анализа подготовки к обновлению Drupal http://sysengineering.ru/admin/reports/upgrade-status ошибок больше не было, но был мой самодельный модуль с оформлением сайта SysEngineering, который не прошел проверку. Чтобы исправить несовместимость самописного модуля, необходимо внести строчку "core_version_requirement: ^8 || ^9" в файл /var/www/drupal/web/themes/SysEngineering/SysEngineering.info.yml. После чего нужно отправить модуль на повторную проверку.

sudo vi /var/www/drupal/web/themes/SysEngineering/SysEngineering.info.yml
#Добавить без кавычек строку "core_version_requirement: ^8 || ^9"
Drupal 8 update - 05

13. Теперь, когда все проверки пройдены, можно приступать к обновлению ядра Drupal.

Drupal 8 update - 06

14.

cd /var/www/drupal/

sudo /usr/local/bin/composer require 'drupal/core-recommended:^9' 'drupal/core-composer-scaffold:^9' 'drupal/core-project-message:^9' --update-with-dependencies --no-update

sudo /usr/local/bin/composer require "drupal/core:9.0.0 as 8.9.0" --no-update

sudo /usr/local/bin/composer update

sudo systemctl restart httpd

Листинг вывода команд :

[webuser@sysengineering ~]$ cd /var/www/drupal/

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require 'drupal/core-recommended:^9' 'drupal/core-composer-scaffold:^9' 'drupal/core-project-message:^9' --update-with-dependencies --no-update
./composer.json has been updated

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require "drupal/core:9.0.0 as 8.9.0" --no-update
./composer.json has been updated

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer update
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 52 updates, 11 removals
  - Removing doctrine/cache (1.12.1)
  - Removing doctrine/common (2.13.3)
  - Removing doctrine/event-manager (1.1.1)
  - Removing doctrine/inflector (1.4.4)
  - Removing doctrine/persistence (1.3.8)
  - Removing easyrdf/easyrdf (0.9.1)
  - Removing psr/cache (1.0.1)
  - Removing symfony/class-loader (v3.4.47)
  - Removing symfony/polyfill-intl-normalizer (v1.24.0)
  - Removing symfony/polyfill-php56 (v1.20.0)
  - Removing symfony/polyfill-php70 (v1.20.0)
  - Upgrading chi-teck/drupal-code-generator (1.32.1 => 1.33.1)
  - Downgrading composer/semver (1.7.2 => 1.5.1)
  - Upgrading consolidation/annotated-command (2.12.2 => 4.5.1)
  - Upgrading consolidation/log (1.1.1 => 2.0.4)
  - Upgrading consolidation/output-formatters (3.5.1 => 4.2.1)
  - Upgrading consolidation/robo (1.5.0 => 2.1.0)
  - Upgrading consolidation/site-process (2.1.0 => 4.1.1)
  - Downgrading doctrine/annotations (1.13.2 => 1.10.3)
  - Downgrading doctrine/reflection (1.2.2 => 1.2.1)
  - Upgrading drupal/core (8.9.20 => 9.0.0)
  - Locking drupal/core-project-message (9.3.2)
  - Locking drupal/core-recommended (9.0.0)
  - Upgrading drupal/metatag (1.16.0 => 1.18.0)
  - Upgrading drush/drush (10.6.1 => 10.6.2)
  - Downgrading egulias/email-validator (2.1.25 => 2.1.17)
  - Downgrading guzzlehttp/guzzle (6.5.5 => 6.5.4)
  - Downgrading guzzlehttp/promises (1.5.1 => v1.3.1)
  - Downgrading guzzlehttp/psr7 (1.8.3 => 1.6.1)
  - Upgrading laminas/laminas-diactoros (1.8.7p2 => 2.3.0)
  - Downgrading laminas/laminas-escaper (2.9.0 => 2.6.1)
  - Downgrading laminas/laminas-feed (2.16.0 => 2.12.2)
  - Downgrading laminas/laminas-stdlib (3.6.4 => 3.2.1)
  - Downgrading laminas/laminas-text (2.9.0 => 2.8.1)
  - Downgrading laminas/laminas-zendframework-bridge (1.4.1 => 1.0.4)
  - Downgrading masterminds/html5 (2.7.5 => 2.7.0)
  - Downgrading pear/archive_tar (1.4.14 => 1.4.9)
  - Downgrading pear/pear-core-minimal (v1.10.11 => v1.10.10)
  - Downgrading pear/pear_exception (v1.0.2 => v1.0.1)
  - Downgrading psr/container (1.1.1 => 1.0.0)
  - Locking psr/http-factory (1.0.1)
  - Downgrading psr/log (1.1.4 => 1.1.3)
  - Downgrading psy/psysh (v0.11.1 => v0.10.12)
  - Upgrading symfony-cmf/routing (1.4.1 => 2.3.2)
  - Upgrading symfony/console (v3.4.47 => v4.4.9)
  - Downgrading symfony/debug (v4.4.36 => v4.4.9)
  - Upgrading symfony/dependency-injection (v3.4.47 => v4.4.9)
  - Locking symfony/error-handler (v4.4.9)
  - Upgrading symfony/event-dispatcher (v3.4.47 => v4.4.9)
  - Locking symfony/event-dispatcher-contracts (v1.1.7)
  - Upgrading symfony/http-foundation (v3.4.47 => v4.4.9)
  - Upgrading symfony/http-kernel (v3.4.49 => v4.4.9)
  - Locking symfony/mime (v5.1.0)
  - Downgrading symfony/polyfill-ctype (v1.24.0 => v1.17.0)
  - Downgrading symfony/polyfill-iconv (v1.24.0 => v1.17.0)
  - Downgrading symfony/polyfill-intl-idn (v1.24.0 => v1.17.0)
  - Downgrading symfony/polyfill-mbstring (v1.24.0 => v1.17.0)
  - Downgrading symfony/polyfill-php72 (v1.24.0 => v1.17.0)
  - Locking symfony/polyfill-php73 (v1.17.0)
  - Downgrading symfony/polyfill-php80 (v1.24.0 => v1.17.0)
  - Upgrading symfony/process (v3.4.47 => v4.4.9)
  - Upgrading symfony/psr-http-message-bridge (v1.2.0 => v2.0.0)
  - Upgrading symfony/routing (v3.4.47 => v4.4.9)
  - Upgrading symfony/serializer (v3.4.47 => v4.4.9)
  - Locking symfony/service-contracts (v2.1.2)
  - Upgrading symfony/translation (v3.4.47 => v4.4.9)
  - Locking symfony/translation-contracts (v2.1.2)
  - Upgrading symfony/validator (v3.4.47 => v4.4.9)
  - Upgrading symfony/var-dumper (v4.4.36 => v5.1.0)
  - Upgrading symfony/yaml (v3.4.47 => v4.4.9)
  - Upgrading twig/twig (v1.44.6 => v2.12.5)
  - Downgrading typo3/phar-stream-wrapper (v3.1.7 => v3.1.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 52 updates, 11 removals
  - Downloading drupal/core-project-message (9.3.2)
  - Downloading symfony/polyfill-php80 (v1.17.0)
  - Downloading symfony/event-dispatcher-contracts (v1.1.7)
  - Downloading symfony/event-dispatcher (v4.4.9)
  - Downloading psr/container (1.0.0)
  - Downloading symfony/service-contracts (v2.1.2)
  - Downloading symfony/polyfill-php73 (v1.17.0)
  - Downloading symfony/polyfill-mbstring (v1.17.0)
  - Downloading symfony/console (v4.4.9)
  - Downloading psr/log (1.1.3)
  - Downloading consolidation/output-formatters (4.2.1)
  - Downloading consolidation/annotated-command (4.5.1)
  - Downloading consolidation/log (2.0.4)
  - Downloading symfony/polyfill-ctype (v1.17.0)
  - Downloading typo3/phar-stream-wrapper (v3.1.4)
  - Downloading twig/twig (v2.12.5)
  - Downloading symfony/yaml (v4.4.9)
  - Downloading symfony/translation-contracts (v2.1.2)
  - Downloading symfony/validator (v4.4.9)
  - Downloading symfony/translation (v4.4.9)
  - Downloading symfony/serializer (v4.4.9)
  - Downloading symfony/routing (v4.4.9)
  - Downloading symfony/polyfill-php72 (v1.17.0)
  - Downloading symfony/polyfill-intl-idn (v1.17.0)
  - Downloading symfony/mime (v5.1.0)
  - Downloading symfony/http-foundation (v4.4.9)
  - Downloading symfony/psr-http-message-bridge (v2.0.0)
  - Downloading symfony/process (v4.4.9)
  - Downloading symfony/polyfill-iconv (v1.17.0)
  - Downloading symfony/var-dumper (v5.1.0)
  - Downloading symfony/debug (v4.4.9)
  - Downloading symfony/error-handler (v4.4.9)
  - Downloading symfony/http-kernel (v4.4.9)
  - Downloading symfony/dependency-injection (v4.4.9)
  - Downloading symfony-cmf/routing (2.3.2)
  - Downloading pear/pear_exception (v1.0.1)
  - Downloading pear/pear-core-minimal (v1.10.10)
  - Downloading pear/archive_tar (1.4.9)
  - Downloading masterminds/html5 (2.7.0)
  - Downloading laminas/laminas-zendframework-bridge (1.0.4)
  - Downloading laminas/laminas-stdlib (3.2.1)
  - Downloading laminas/laminas-escaper (2.6.1)
  - Downloading laminas/laminas-feed (2.12.2)
  - Downloading psr/http-factory (1.0.1)
  - Downloading laminas/laminas-diactoros (2.3.0)
  - Downloading guzzlehttp/psr7 (1.6.1)
  - Downloading guzzlehttp/promises (v1.3.1)
  - Downloading guzzlehttp/guzzle (6.5.4)
  - Downloading egulias/email-validator (2.1.17)
  - Downloading doctrine/annotations (1.10.3)
  - Downloading doctrine/reflection (1.2.1)
  - Downloading composer/semver (1.5.1)
  - Downloading drupal/core (9.0.0)
  - Downloading psy/psysh (v0.10.12)
  - Downloading drupal/metatag (1.18.0)
  - Downloading laminas/laminas-text (2.8.1)
  - Downloading consolidation/site-process (4.1.1)
  - Downloading consolidation/robo (2.1.0)
  - Downloading chi-teck/drupal-code-generator (1.33.1)
  - Downloading drush/drush (10.6.2)
  - Removing symfony/polyfill-php70 (v1.20.0)
  - Removing symfony/polyfill-php56 (v1.20.0)
  - Removing symfony/polyfill-intl-normalizer (v1.24.0)
  - Removing symfony/class-loader (v3.4.47)
  - Removing psr/cache (1.0.1)
  - Removing easyrdf/easyrdf (0.9.1)
  - Removing doctrine/persistence (1.3.8)
  - Removing doctrine/inflector (1.4.4)
  - Removing doctrine/event-manager (1.1.1)
  - Removing doctrine/common (2.13.3)
  - Removing doctrine/cache (1.12.1)
  - Installing drupal/core-project-message (9.3.2): Extracting archive
  - Downgrading symfony/polyfill-php80 (v1.24.0 => v1.17.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Extracting archive
  - Upgrading symfony/event-dispatcher (v3.4.47 => v4.4.9): Extracting archive
  - Downgrading psr/container (1.1.1 => 1.0.0): Extracting archive
  - Installing symfony/service-contracts (v2.1.2): Extracting archive
  - Installing symfony/polyfill-php73 (v1.17.0): Extracting archive
  - Downgrading symfony/polyfill-mbstring (v1.24.0 => v1.17.0): Extracting archive
  - Upgrading symfony/console (v3.4.47 => v4.4.9): Extracting archive
  - Downgrading psr/log (1.1.4 => 1.1.3): Extracting archive
  - Upgrading consolidation/output-formatters (3.5.1 => 4.2.1): Extracting archive
  - Upgrading consolidation/annotated-command (2.12.2 => 4.5.1): Extracting archive
  - Upgrading consolidation/log (1.1.1 => 2.0.4): Extracting archive
  - Downgrading symfony/polyfill-ctype (v1.24.0 => v1.17.0): Extracting archive
  - Downgrading typo3/phar-stream-wrapper (v3.1.7 => v3.1.4): Extracting archive
  - Upgrading twig/twig (v1.44.6 => v2.12.5): Extracting archive
  - Upgrading symfony/yaml (v3.4.47 => v4.4.9): Extracting archive
  - Installing symfony/translation-contracts (v2.1.2): Extracting archive
  - Upgrading symfony/validator (v3.4.47 => v4.4.9): Extracting archive
  - Upgrading symfony/translation (v3.4.47 => v4.4.9): Extracting archive
  - Upgrading symfony/serializer (v3.4.47 => v4.4.9): Extracting archive
  - Upgrading symfony/routing (v3.4.47 => v4.4.9): Extracting archive
  - Downgrading symfony/polyfill-php72 (v1.24.0 => v1.17.0): Extracting archive
  - Downgrading symfony/polyfill-intl-idn (v1.24.0 => v1.17.0): Extracting archive
  - Installing symfony/mime (v5.1.0): Extracting archive
  - Upgrading symfony/http-foundation (v3.4.47 => v4.4.9): Extracting archive
  - Upgrading symfony/psr-http-message-bridge (v1.2.0 => v2.0.0): Extracting archive
  - Upgrading symfony/process (v3.4.47 => v4.4.9): Extracting archive
  - Downgrading symfony/polyfill-iconv (v1.24.0 => v1.17.0): Extracting archive
  - Upgrading symfony/var-dumper (v4.4.36 => v5.1.0): Extracting archive
  - Downgrading symfony/debug (v4.4.36 => v4.4.9): Extracting archive
  - Installing symfony/error-handler (v4.4.9): Extracting archive
  - Upgrading symfony/http-kernel (v3.4.49 => v4.4.9): Extracting archive
  - Upgrading symfony/dependency-injection (v3.4.47 => v4.4.9): Extracting archive
  - Upgrading symfony-cmf/routing (1.4.1 => 2.3.2): Extracting archive
  - Downgrading pear/pear_exception (v1.0.2 => v1.0.1): Extracting archive
  - Downgrading pear/pear-core-minimal (v1.10.11 => v1.10.10): Extracting archive
  - Downgrading pear/archive_tar (1.4.14 => 1.4.9): Extracting archive
  - Downgrading masterminds/html5 (2.7.5 => 2.7.0): Extracting archive
  - Downgrading laminas/laminas-zendframework-bridge (1.4.1 => 1.0.4): Extracting archive
  - Downgrading laminas/laminas-stdlib (3.6.4 => 3.2.1): Extracting archive
  - Downgrading laminas/laminas-escaper (2.9.0 => 2.6.1): Extracting archive
  - Downgrading laminas/laminas-feed (2.16.0 => 2.12.2): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Upgrading laminas/laminas-diactoros (1.8.7p2 => 2.3.0): Extracting archive
  - Downgrading guzzlehttp/psr7 (1.8.3 => 1.6.1): Extracting archive
  - Downgrading guzzlehttp/promises (1.5.1 => v1.3.1): Extracting archive
  - Downgrading guzzlehttp/guzzle (6.5.5 => 6.5.4): Extracting archive
  - Downgrading egulias/email-validator (2.1.25 => 2.1.17): Extracting archive
  - Downgrading doctrine/annotations (1.13.2 => 1.10.3): Extracting archive
  - Downgrading doctrine/reflection (1.2.2 => 1.2.1): Extracting archive
  - Downgrading composer/semver (1.7.2 => 1.5.1): Extracting archive
  - Upgrading drupal/core (8.9.20 => 9.0.0): Extracting archive
  - Downgrading psy/psysh (v0.11.1 => v0.10.12): Extracting archive
  - Installing drupal/core-recommended (9.0.0)
  - Upgrading drupal/metatag (1.16.0 => 1.18.0): Extracting archive
  - Downgrading laminas/laminas-text (2.9.0 => 2.8.1): Extracting archive
  - Upgrading consolidation/site-process (2.1.0 => 4.1.1): Extracting archive
  - Upgrading consolidation/robo (1.5.0 => 2.1.0): Extracting archive
  - Upgrading chi-teck/drupal-code-generator (1.32.1 => 1.33.1): Extracting archive
  - Upgrading drush/drush (10.6.1 => 10.6.2): Extracting archive
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
41 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

15. На странице текущего статуса движка Drupal http://sysengineering.ru/admin/reports/status посмотрел версии движка, веб-сервера и базы данных, а так же наличие ошибок и предупреждений. 

Drupal 8 update - 07

16. Для решения проблемы с устаревшей схемой базы данных я запустил команду обновления схемы.

cd /var/www/drupal/

vendor/bin/drush updatedb

Листинг вывода команд :

[webuser@sysengineering drupal]$ vendor/bin/drush updatedb
 --------- ----------- --------------- --------------------------------------------
  Module    Update ID   Type            Description
 --------- ----------- --------------- --------------------------------------------
  metatag   8109        hook_update_n   Update mask_icon values to the new
                                        structure.
  sitemap   8200        hook_update_n   Update configuration for 2.x.
  metatag   conve       post-update     Convert mask-icon to array values.
            rt_ma
            sk_ic
            on_to
            _arra
            y_val
            ues
  system    entit       post-update     Remove backwards-compatibility leftovers
            y_rev                       from entity type definitions.
            ision
            _meta
            data_
            bc_cl
            eanup
  system    unins       post-update     Uninstall Classy if it is no longer
            tall_                       needed.
            class
            y
  system    unins       post-update     Uninstall entity_reference.   @see
            tall_                       https:www.drupal.orgprojectdrupalissues311
            entit                       1645
            y_ref
            erenc
            e_mod
            ule
  system    unins       post-update     Uninstall SimpleTest.   @see
            tall_                       https:www.drupal.orgprojectdrupalissues311
            simpl                       0862
            etest
  system    unins       post-update     Uninstall Stable if it is no longer
            tall_                       needed.   This needs to run after
            stabl                       system_post_update_uninstall_classy().
            e                           This will be  the case since
                                        getAvailableUpdateFunctions() returns an
                                        alphabetically sorted  list of post_update
                                        hooks to be run.   @see
                                        Drupal\Core\Update\UpdateRegistry::getAvai
                                        lableUpdateFunctions()
 --------- ----------- --------------- --------------------------------------------


 Do you wish to run the specified pending updates? (yes/no) [yes]:
 > yes

>  [notice] Update started: metatag_update_8109
>  [notice] There were no overridden Metatag records.
>  [notice] Update completed: metatag_update_8109
>  [notice] Update started: sitemap_update_8200
>  [notice] Update completed: sitemap_update_8200
>  [notice] Update started: metatag_post_update_convert_mask_icon_to_array_values
>  [notice] Update completed: metatag_post_update_convert_mask_icon_to_array_values
>  [notice] Update started: system_post_update_entity_revision_metadata_bc_cleanup
>  [notice] Update completed: system_post_update_entity_revision_metadata_bc_cleanup
>  [notice] Update started: system_post_update_uninstall_classy
>  [notice] Update completed: system_post_update_uninstall_classy
>  [notice] Update started: system_post_update_uninstall_entity_reference_module
>  [notice] Update completed: system_post_update_uninstall_entity_reference_module
>  [notice] Update started: system_post_update_uninstall_simpletest
>  [notice] Update completed: system_post_update_uninstall_simpletest
>  [notice] Update started: system_post_update_uninstall_stable
>  [notice] Update completed: system_post_update_uninstall_stable
 [success] Finished performing updates.

17. Для решения проблемы устаревшей версии ядра Drupal (установлена самая первая версия девятки), я убрал имитацию версии 8.9.0 как 9.0.0 в файле vi /var/www/drupal/composer.json, то есть заменил строку "drupal/core":"9.0.0 as 8.9.0", на "drupal/core":"^9", и запустил обновление ядра.

cd /var/www/drupal/

sudo vi /var/www/drupal/composer.json
# заменить без кавычек строку "drupal/core":"9.0.0 as 8.9.0", на "drupal/core":"^9",

sudo systemctl restart httpd

sudo /usr/local/bin/composer update

vendor/bin/drush updatedb

sudo systemctl restart httpd
Drupal 8 update - 08

Листинг вывода команд :

[webuser@sysengineering drupal]$ cd /var/www/drupal/

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer update
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 4 installs, 53 updates, 0 removals
  - Upgrading composer/semver (1.5.1 => 3.2.6)
  - Upgrading consolidation/robo (2.1.0 => 3.0.7)
  - Upgrading consolidation/self-update (1.2.0 => 2.0.3)
  - Upgrading doctrine/annotations (1.10.3 => 1.13.2)
  - Upgrading doctrine/reflection (1.2.1 => 1.2.2)
  - Upgrading drupal/core (9.0.0 => 9.3.2)
  - Upgrading drupal/core-recommended (9.0.0 => 9.3.2)
  - Upgrading egulias/email-validator (2.1.17 => 3.1.2)
  - Upgrading guzzlehttp/guzzle (6.5.4 => 6.5.5)
  - Upgrading guzzlehttp/promises (v1.3.1 => 1.5.1)
  - Upgrading guzzlehttp/psr7 (1.6.1 => 1.8.3)
  - Upgrading laminas/laminas-diactoros (2.3.0 => 2.8.0)
  - Upgrading laminas/laminas-escaper (2.6.1 => 2.9.0)
  - Upgrading laminas/laminas-feed (2.12.2 => 2.15.0)
  - Upgrading laminas/laminas-stdlib (3.2.1 => 3.6.1)
  - Upgrading laminas/laminas-text (2.8.1 => 2.9.0)
  - Upgrading laminas/laminas-zendframework-bridge (1.0.4 => 1.4.1)
  - Upgrading league/container (2.5.0 => 3.4.1)
  - Upgrading masterminds/html5 (2.7.0 => 2.7.5)
  - Upgrading pear/archive_tar (1.4.9 => 1.4.14)
  - Upgrading pear/pear-core-minimal (v1.10.10 => v1.10.11)
  - Upgrading pear/pear_exception (v1.0.1 => v1.0.2)
  - Locking psr/cache (1.0.1)
  - Upgrading psr/container (1.0.0 => 1.1.1)
  - Upgrading psr/log (1.1.3 => 1.1.4)
  - Upgrading symfony-cmf/routing (2.3.2 => 2.3.4)
  - Upgrading symfony/console (v4.4.9 => v4.4.34)
  - Upgrading symfony/debug (v4.4.9 => v4.4.31)
  - Upgrading symfony/dependency-injection (v4.4.9 => v4.4.34)
  - Locking symfony/deprecation-contracts (v2.5.0)
  - Upgrading symfony/error-handler (v4.4.9 => v4.4.34)
  - Upgrading symfony/event-dispatcher (v4.4.9 => v4.4.34)
  - Upgrading symfony/event-dispatcher-contracts (v1.1.7 => v1.1.11)
  - Locking symfony/http-client-contracts (v2.5.0)
  - Upgrading symfony/http-foundation (v4.4.9 => v4.4.34)
  - Upgrading symfony/http-kernel (v4.4.9 => v4.4.35)
  - Upgrading symfony/mime (v5.1.0 => v5.4.0)
  - Upgrading symfony/polyfill-ctype (v1.17.0 => v1.23.0)
  - Upgrading symfony/polyfill-iconv (v1.17.0 => v1.23.0)
  - Upgrading symfony/polyfill-intl-idn (v1.17.0 => v1.23.0)
  - Locking symfony/polyfill-intl-normalizer (v1.23.0)
  - Upgrading symfony/polyfill-mbstring (v1.17.0 => v1.23.1)
  - Upgrading symfony/polyfill-php72 (v1.17.0 => v1.24.0)
  - Upgrading symfony/polyfill-php73 (v1.17.0 => v1.24.0)
  - Upgrading symfony/polyfill-php80 (v1.17.0 => v1.23.1)
  - Upgrading symfony/process (v4.4.9 => v4.4.35)
  - Upgrading symfony/psr-http-message-bridge (v2.0.0 => v2.1.2)
  - Upgrading symfony/routing (v4.4.9 => v4.4.34)
  - Upgrading symfony/serializer (v4.4.9 => v4.4.35)
  - Upgrading symfony/service-contracts (v2.1.2 => v2.5.0)
  - Upgrading symfony/translation (v4.4.9 => v4.4.34)
  - Upgrading symfony/translation-contracts (v2.1.2 => v2.5.0)
  - Upgrading symfony/validator (v4.4.9 => v4.4.35)
  - Upgrading symfony/var-dumper (v5.1.0 => v5.4.0)
  - Upgrading symfony/yaml (v4.4.9 => v4.4.34)
  - Upgrading twig/twig (v2.12.5 => v2.14.7)
  - Upgrading typo3/phar-stream-wrapper (v3.1.4 => v3.1.7)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 4 installs, 53 updates, 0 removals
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/console (v4.4.34)
  - Downloading symfony/polyfill-ctype (v1.23.0)
  - Downloading composer/semver (3.2.6)
  - Downloading consolidation/self-update (2.0.3)
  - Downloading twig/twig (v2.14.7)
  - Downloading symfony/yaml (v4.4.34)
  - Downloading symfony/validator (v4.4.35)
  - Downloading symfony/serializer (v4.4.35)
  - Downloading symfony/polyfill-intl-idn (v1.23.0)
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/http-foundation (v4.4.34)
  - Downloading symfony/process (v4.4.35)
  - Downloading symfony/polyfill-iconv (v1.23.0)
  - Downloading symfony/var-dumper (v5.4.0)
  - Downloading symfony/debug (v4.4.31)
  - Downloading symfony/error-handler (v4.4.34)
  - Downloading symfony/http-kernel (v4.4.35)
  - Downloading symfony/dependency-injection (v4.4.34)
  - Downloading laminas/laminas-stdlib (3.6.1)
  - Downloading laminas/laminas-feed (2.15.0)
  - Downloading league/container (3.4.1)
  - Downloading consolidation/robo (3.0.7)
  - Upgrading symfony/polyfill-php80 (v1.17.0 => v1.23.1): Extracting archive
  - Upgrading symfony/event-dispatcher-contracts (v1.1.7 => v1.1.11): Extracting archive
  - Upgrading symfony/event-dispatcher (v4.4.9 => v4.4.34): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
  - Upgrading psr/container (1.0.0 => 1.1.1): Extracting archive
  - Upgrading symfony/service-contracts (v2.1.2 => v2.5.0): Extracting archive
  - Upgrading symfony/polyfill-php73 (v1.17.0 => v1.24.0): Extracting archive
  - Upgrading symfony/polyfill-mbstring (v1.17.0 => v1.23.1): Extracting archive
  - Upgrading symfony/console (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading psr/log (1.1.3 => 1.1.4): Extracting archive
  - Upgrading symfony/polyfill-ctype (v1.17.0 => v1.23.0): Extracting archive
  - Upgrading composer/semver (1.5.1 => 3.2.6): Extracting archive
  - Upgrading consolidation/self-update (1.2.0 => 2.0.3): Extracting archive
  - Upgrading typo3/phar-stream-wrapper (v3.1.4 => v3.1.7): Extracting archive
  - Upgrading twig/twig (v2.12.5 => v2.14.7): Extracting archive
  - Upgrading symfony/yaml (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony/translation-contracts (v2.1.2 => v2.5.0): Extracting archive
  - Upgrading symfony/validator (v4.4.9 => v4.4.35): Extracting archive
  - Upgrading symfony/translation (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony/serializer (v4.4.9 => v4.4.35): Extracting archive
  - Upgrading symfony/routing (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony/polyfill-php72 (v1.17.0 => v1.24.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
  - Upgrading symfony/polyfill-intl-idn (v1.17.0 => v1.23.0): Extracting archive
  - Upgrading symfony/mime (v5.1.0 => v5.4.0): Extracting archive
  - Upgrading symfony/http-foundation (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony/psr-http-message-bridge (v2.0.0 => v2.1.2): Extracting archive
  - Upgrading symfony/process (v4.4.9 => v4.4.35): Extracting archive
  - Upgrading symfony/polyfill-iconv (v1.17.0 => v1.23.0): Extracting archive
  - Installing symfony/http-client-contracts (v2.5.0): Extracting archive
  - Upgrading symfony/var-dumper (v5.1.0 => v5.4.0): Extracting archive
  - Upgrading symfony/debug (v4.4.9 => v4.4.31): Extracting archive
  - Upgrading symfony/error-handler (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony/http-kernel (v4.4.9 => v4.4.35): Extracting archive
  - Upgrading symfony/dependency-injection (v4.4.9 => v4.4.34): Extracting archive
  - Upgrading symfony-cmf/routing (2.3.2 => 2.3.4): Extracting archive
  - Upgrading pear/pear_exception (v1.0.1 => v1.0.2): Extracting archive
  - Upgrading pear/pear-core-minimal (v1.10.10 => v1.10.11): Extracting archive
  - Upgrading pear/archive_tar (1.4.9 => 1.4.14): Extracting archive
  - Upgrading masterminds/html5 (2.7.0 => 2.7.5): Extracting archive
  - Upgrading laminas/laminas-stdlib (3.2.1 => 3.6.1): Extracting archive
  - Upgrading laminas/laminas-escaper (2.6.1 => 2.9.0): Extracting archive
  - Upgrading laminas/laminas-feed (2.12.2 => 2.15.0): Extracting archive
  - Upgrading laminas/laminas-diactoros (2.3.0 => 2.8.0): Extracting archive
  - Upgrading guzzlehttp/psr7 (1.6.1 => 1.8.3): Extracting archive
  - Upgrading guzzlehttp/promises (v1.3.1 => 1.5.1): Extracting archive
  - Upgrading guzzlehttp/guzzle (6.5.4 => 6.5.5): Extracting archive
  - Upgrading egulias/email-validator (2.1.17 => 3.1.2): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Upgrading doctrine/annotations (1.10.3 => 1.13.2): Extracting archive
  - Upgrading doctrine/reflection (1.2.1 => 1.2.2): Extracting archive
  - Upgrading drupal/core (9.0.0 => 9.3.2): Extracting archive
  - Upgrading drupal/core-recommended (9.0.0 => 9.3.2)
  - Upgrading laminas/laminas-zendframework-bridge (1.0.4 => 1.4.1): Extracting archive
  - Upgrading laminas/laminas-text (2.8.1 => 2.9.0): Extracting archive
  - Upgrading league/container (2.5.0 => 3.4.1): Extracting archive
  - Upgrading consolidation/robo (2.1.0 => 3.0.7): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
55 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
  - Copy [web-root]/INSTALL.txt from assets/scaffold/files/drupal.INSTALL.txt
  - Copy [web-root]/README.md from assets/scaffold/files/drupal.README.md
  - Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
  - Copy [web-root]/update.php from assets/scaffold/files/update.php
  - Copy [web-root]/web.config from assets/scaffold/files/web.config
  - Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php
  - Copy [web-root]/sites/example.sites.php from assets/scaffold/files/example.sites.php
  - Copy [web-root]/sites/default/default.services.yml from assets/scaffold/files/default.services.yml
  - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ vendor/bin/drush updatedb
 ---------- ----------------- --------------- ---------------------------------
  Module     Update ID         Type            Description
 ---------- ----------------- --------------- ---------------------------------
  locale     9101              hook_update_n   9101 - Delete an unnecessary
                                               index on the locales_location
                                               table.
  user       9301              hook_update_n   9301 - Change the users table
                                               to use an serial uid field.
  block      replace_node_ty   post-update     Updates the node type
             pe_condition                      visibility condition.
  file       add_txt_if_allo   post-update     Add txt to allowed extensions
             ws_insecure_ext                   for all fields that allow
             ensions                           uploads of insecure files.
  node       rebuild_node_re   post-update     Rebuild the node revision
             vision_routes                     routes.
  system     claro_dropbutto   post-update     Clear caches due to
             n_variants                        trustedCallbacks changing in
                                               ClaroPreRender.
  system     delete_authoriz   post-update     Remove obsolete
             e_settings                        system.authorize configuration.
  system     delete_rss_sett   post-update     Remove obsolete system.rss
             ings                              configuration.
  system     remove_key_valu   post-update     Drop the 'all' index on the
             e_expire_all_in                   'key_value_expire' table.
             dex
  system     schema_version_   post-update     Update schema version to
             int                               integers.   @see
                                               https:www.drupal.orgprojectdrup
                                               alissues3143713
  system     service_advisor   post-update     Add new security advisory
             y_settings                        retrieval settings.
  system     sort_all_config   post-update     Sort all configuration
                                               according to its schema.
  taxonomy   clear_views_arg   post-update     Clear the cache after
             ument_validator                   deprecating Term views argument
             _plugins_cache                    validator.
  tour       joyride_selecto   post-update     Convert Joyride selectors to
             rs_to_selector_                   `selector` property.   @see
             property                          tour_tour_presave()
  user       update_roles      post-update     Calculate role dependencies and
                                               remove non-existent
                                               permissions.
  views      configuration_e   post-update     Clear errors caused by
             ntity_relations                   relationships to configuration
             hips                              entities.
  views      remove_sorting_   post-update     Clear caches due to removal of
             global_text_fie                   sorting for global custom text
             ld                                field.
  views      rename_default_   post-update     Rename the setting for showing
             display_setting                   the default display to
                                               'default_display'.
  views      sort_identifier   post-update     Add the identifier option to
                                               all sort handler
                                               configurations.
  views      title_translati   post-update     Rebuild routes to fix view
             ons                               title translations.
 ---------- ----------------- --------------- ---------------------------------
 Do you wish to run the specified pending updates? (yes/no) [yes]:
 > yes
>  [notice] Update started: locale_update_9101
>  [notice] Update completed: locale_update_9101
>  [notice] Update started: user_update_9301
>  [notice] Update completed: user_update_9301
>  [notice] Update started: block_post_update_replace_node_type_condition
>  [notice] Update completed: block_post_update_replace_node_type_condition
>  [notice] Update started: file_post_update_add_txt_if_allows_insecure_extensions
>  [notice] Update completed: file_post_update_add_txt_if_allows_insecure_extensions
>  [notice] Update started: node_post_update_rebuild_node_revision_routes
>  [notice] Update completed: node_post_update_rebuild_node_revision_routes
>  [notice] Update started: system_post_update_claro_dropbutton_variants
>  [notice] Update completed: system_post_update_claro_dropbutton_variants
>  [notice] Update started: system_post_update_delete_authorize_settings
>  [notice] Update completed: system_post_update_delete_authorize_settings
>  [notice] Update started: system_post_update_delete_rss_settings
>  [notice] Update completed: system_post_update_delete_rss_settings
>  [notice] Update started: system_post_update_remove_key_value_expire_all_index
>  [notice] Update completed: system_post_update_remove_key_value_expire_all_index
>  [notice] Update started: system_post_update_schema_version_int
>  [notice] Update completed: system_post_update_schema_version_int
>  [notice] Update started: system_post_update_service_advisory_settings
>  [notice] Update completed: system_post_update_service_advisory_settings
>  [notice] Update started: system_post_update_sort_all_config
>  [notice] Update completed: system_post_update_sort_all_config
>  [notice] Update started: taxonomy_post_update_clear_views_argument_validator_plugins_cache
>  [notice] Update completed: taxonomy_post_update_clear_views_argument_validator_plugins_cache
>  [notice] Update started: tour_post_update_joyride_selectors_to_selector_property
>  [notice] Update completed: tour_post_update_joyride_selectors_to_selector_property
>  [notice] Update started: user_post_update_update_roles
>  [notice] Update completed: user_post_update_update_roles
>  [notice] Update started: views_post_update_configuration_entity_relationships
>  [notice] Update completed: views_post_update_configuration_entity_relationships
>  [notice] Update started: views_post_update_remove_sorting_global_text_field
>  [notice] Update completed: views_post_update_remove_sorting_global_text_field
>  [notice] Update started: views_post_update_rename_default_display_setting
>  [notice] Update completed: views_post_update_rename_default_display_setting
>  [notice] Update started: views_post_update_sort_identifier
>  [notice] Update completed: views_post_update_sort_identifier
>  [notice] Update started: views_post_update_title_translations
>  [notice] Update completed: views_post_update_title_translations
 [success] Finished performing updates.

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

18. На странице текущего статуса движка Drupal http://sysengineering.ru/admin/reports/status убедился, что ошибки пропали, но есть несколько предупреждений.

Drupal 8 update - 09

19. Для решения предупреждения jquery_ui_accordion, я установил и активировал этот модуль.

cd /var/www/drupal/

sudo /usr/local/bin/composer require drupal/jquery_ui_accordion

vendor/bin/drush pm-enable jquery_ui_accordion

sudo systemctl restart httpd

Листинг вывода команд :

[webuser@sysengineering drupal]$ cd /var/www/drupal/

[webuser@sysengineering drupal]$ sudo /usr/local/bin/composer require drupal/jquery_ui_accordion
Using version ^1.1 for drupal/jquery_ui_accordion
./composer.json has been updated
Running composer update drupal/jquery_ui_accordion
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
  - Locking drupal/jquery_ui (1.4.0)
  - Locking drupal/jquery_ui_accordion (1.1.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Downloading drupal/jquery_ui (1.4.0)
  - Downloading drupal/jquery_ui_accordion (1.1.0)
  - Installing drupal/jquery_ui (1.4.0): Extracting archive
  - Installing drupal/jquery_ui_accordion (1.1.0): Extracting archive
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
55 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> DrupalProject\composer\ScriptHandler::createRequiredFiles

[webuser@sysengineering drupal]$ vendor/bin/drush pm-enable jquery_ui_accordion
The following module(s) will be enabled: jquery_ui_accordion, jquery_ui
 Do you want to continue? (yes/no) [yes]:
 > yes
 [success] Successfully enabled: jquery_ui_accordion, jquery_ui

[webuser@sysengineering drupal]$ sudo systemctl restart httpd

20. На главной странице сайта можно убедиться, что сайт работает, как и прежде, но уже на новом движке

Drupal 8 update - 10

21. В завершение обновления можно запустить скрипт резервного копирования базы данных и содержимого сайта, а так же не забыть удалить уже не нужный "снимок" сервера перед обновлением.

sudo /var/www/drupal-backup/site-backup.sh

ls /var/www/drupal-backup/

Листинг вывода команд :

[webuser@sysengineering ~]$ sudo /var/www/drupal-backup/site-backup.sh

[webuser@sysengineering ~]$ ls /var/www/drupal-backup/
2022-01-05_database.db
2022-01-05_site.tar.gz
2022-01-06_database.db
2022-01-06_site.tar.gz
site-backup.sh