ユーザ用ツール

サイト用ツール


cms:drupal:upgrade9:start

文書の過去の版を表示しています。


8->9 試し

独自ドメイン配下のサブフォルダのまま実施してみる。フォルダごとバックアップとるのと、buckup_migradeモジュールでデータベースのバックアプを保存

$ cp -R www_cycle_eek8 _bk/

update status

update statusモジュールを入れる  https://www.drupal.org/project/upgrade_status/

有効化したら怒られる

External dependencies for Upgrade Status are not available. Composer must be used to download the module with dependencies. See the Upgrade Status project page for instructions.

二つにことが書かれている

  • すでにcomposerを使用しているサイトへのインストール
  • Composerを使用していないサイトへのインストール

サイトのことが書いてあるので、composerがあるかどうかということと勝手に解釈して下記を実施(上のページに記載の通り、あんまり意味わかってない)

$ composer show drupal/core | grep versions
$ composer require --dev drupal/core-dev:[copy version above] --update-with-all-dependencies
$ composer require drupal/upgrade_status
composer show drupal/core | grep versions

composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins Do you trust “composer/installers” to execute code and wish to enable it now? (writes “allow-plugins” to composer.json) [y,n,d,?]

composer / installersには、現在allow-plugins構成にないComposerプラグインが含まれています。 https://getcomposer.org/allow-pluginsを参照してください 「composer / installers」がコードを実行することを信頼し、今すぐ有効にしたいですか? (composer.jsonに「allow-plugins」を書き込みます)[y、n、d、?]

後3個ほど出るけど、一応全部「d」で。すると、「versions : * 8.9.8」と出た。rupalのバージョンのことか、知ってたけど。

composer require --dev drupal/core-dev:8.9.8 --update-with-all-dependencies

[copy version above]はさっきのバージョン番号を入れてみる

drupal/core-composer-scaffold contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "drupal/core-composer-scaffold" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
有効にしますかと聞いているようなので、あと2つ出たけど、今度は全部「y」で。
./composer.json has been updated
Running composer update drupal/core-dev --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 54 installs, 0 updates, 0 removals
  - Locking behat/mink (v1.9.0)
  - Locking behat/mink-browserkit-driver (v1.4.1)
  - Locking behat/mink-goutte-driver (v1.3.0)
  - Locking behat/mink-selenium2-driver (v1.5.0)
  - Locking composer/ca-bundle (1.3.1)
  - Locking composer/composer (1.10.24)
  - Locking composer/spdx-licenses (1.5.6)
  - Locking composer/xdebug-handler (1.4.6)
  - Locking doctrine/instantiator (1.4.0)
  - Locking drupal/coder (8.3.13)
  - Locking drupal/core-dev (8.9.8)
  - Locking fabpot/goutte (v3.2.3)
  - Locking instaclick/php-webdriver (1.4.10)
  - Locking jcalderonzumba/gastonjs (v1.2.0)
  - Locking jcalderonzumba/mink-phantomjs-driver (v0.3.3)
  - Locking justinrainbow/json-schema (5.2.11)
  - Locking mikey179/vfsstream (v1.6.10)
  - Locking myclabs/deep-copy (1.10.2)
  - Locking phar-io/manifest (1.0.3)
  - Locking phar-io/version (2.0.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.6.0)
  - Locking phpspec/prophecy (v1.15.0)
  - Locking phpunit/php-code-coverage (6.1.4)
  - Locking phpunit/php-file-iterator (2.0.5)
  - Locking phpunit/php-text-template (1.2.1)
  - Locking phpunit/php-timer (2.1.3)
  - Locking phpunit/php-token-stream (3.1.3)
  - Locking phpunit/phpunit (7.5.20)
  - Locking sebastian/code-unit-reverse-lookup (1.0.2)
  - Locking sebastian/comparator (3.0.3)
  - Locking sebastian/diff (3.0.3)
  - Locking sebastian/environment (4.2.4)
  - Locking sebastian/exporter (3.1.4)
  - Locking sebastian/global-state (2.0.0)
  - Locking sebastian/object-enumerator (3.0.4)
  - Locking sebastian/object-reflector (1.1.2)
  - Locking sebastian/recursion-context (3.0.1)
  - Locking sebastian/resource-operations (2.0.2)
  - Locking sebastian/version (2.0.1)
  - Locking seld/jsonlint (1.8.3)
  - Locking seld/phar-utils (1.2.0)
  - Locking sirbrillig/phpcs-variable-analysis (v2.11.2)
  - Locking squizlabs/php_codesniffer (3.6.2)
  - Locking symfony/browser-kit (v3.4.47)
  - Locking symfony/css-selector (v3.4.47)
  - Locking symfony/dom-crawler (v3.4.47)
  - Locking symfony/filesystem (v3.4.47)
  - Locking symfony/finder (v3.4.47)
  - Locking symfony/lock (v3.4.47)
  - Locking symfony/phpunit-bridge (v3.4.47)
  - Locking theseer/tokenizer (1.2.1)
  - Locking webmozart/assert (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 54 installs, 0 updates, 0 removals
  - Downloading symfony/dom-crawler (v3.4.47)
(中略)
  - Downloading behat/mink-selenium2-driver (v1.5.0)
  - Downloading fabpot/goutte (v3.2.3)
  - Downloading behat/mink-goutte-driver (v1.3.0)
  - Installing symfony/dom-crawler (v3.4.47): Extracting archive
  - Installing symfony/browser-kit (v3.4.47): Extracting archive
(中略)
  - Installing behat/mink-goutte-driver (v1.3.0): Extracting archive
  - Installing drupal/core-dev (8.9.8)
    Cleaning: symfony/dom-crawler
(中略)
    Cleaning: behat/mink-goutte-driver
6 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
Hardening vendor directory with .htaccess and web.config files.
50 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Cleaning vendor directory.
cms/drupal/upgrade9/start.1641435913.txt.gz · 最終更新: 2022/01/06 11:25 by king