ユーザ用ツール

サイト用ツール


cms:drupal:upgrade9:start

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
cms:drupal:upgrade9:start [2022/01/06 11:25] kingcms:drupal:upgrade9:start [2022/01/10 12:50] (現在) king
行 1: 行 1:
-====== 8->試し ======+====== 8->Try ======
 独自ドメイン配下のサブフォルダのまま実施してみる。フォルダごとバックアップとるのと、buckup_migradeモジュールでデータベースのバックアプを保存 独自ドメイン配下のサブフォルダのまま実施してみる。フォルダごとバックアップとるのと、buckup_migradeモジュールでデータベースのバックアプを保存
 <code sh> <code sh>
行 5: 行 5:
 </code> </code>
  
-===== update status =====+===== pdate statusモジュール =====
 update statusモジュールを入れる  https://www.drupal.org/project/upgrade_status/ update statusモジュールを入れる  https://www.drupal.org/project/upgrade_status/
  
行 30: 行 30:
 「composer / installers」がコードを実行することを信頼し、今すぐ有効にしたいですか? (composer.jsonに「allow-plugins」を書き込みます)[y、n、d、?] 「composer / installers」がコードを実行することを信頼し、今すぐ有効にしたいですか? (composer.jsonに「allow-plugins」を書き込みます)[y、n、d、?]
  
-後3個ほど出るけど、一応全部「d」で。すると、「versions : * 8.9.8」と出た。rupalのバージョンことか、知ってたけど。+後3個ほど出るけど、一応全部「d」で。すると、「versions : * 8.9.8」と出た。Drupalのバージョンを調べておくということだったのか、知ってたけど。
  
 == composer require --dev drupal/core-dev:8.9.8 --update-with-all-dependencies == == composer require --dev drupal/core-dev:8.9.8 --update-with-all-dependencies ==
行 44: 行 44:
 Lock file operations: 54 installs, 0 updates, 0 removals Lock file operations: 54 installs, 0 updates, 0 removals
   - Locking behat/mink (v1.9.0)   - 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)   - Locking webmozart/assert (1.10.0)
 Writing lock file Writing lock file
行 122: 行 71:
 </code> </code>
  
 +== composer require drupal/upgrade_status ==
 +<code sh>
 +Using version ^3.13 for drupal/upgrade_status
 +./composer.json has been updated
 +Running composer update drupal/upgrade_status
 +Loading composer repositories with package information
 +Updating dependencies
 +Lock file operations: 12 installs, 0 updates, 0 removals
 +  - Locking container-interop/container-interop (1.2.0)
 +(中略)
 +  - Locking webflo/drupal-finder (1.2.2)
 +Writing lock file
 +Installing dependencies from lock file (including require-dev)
 +Package operations: 12 installs, 0 updates, 0 removals
 +  - Downloading phpstan/phpstan (1.3.1)
 +(中略)
 +  - Downloading drupal/upgrade_status (3.13.0)
 +  - Installing webflo/drupal-finder (1.2.2): Extracting archive
 +  - Installing phpstan/phpstan (1.3.1): Extracting archive
 +  - Installing phpstan/phpstan-deprecation-rules (1.0.0): Extracting archive
 +  - Installing nikic/php-parser (v4.13.2): Extracting archive
 +  - Installing nette/utils (v3.2.6): Extracting archive
 +  - Installing nette/finder (v2.5.3): Extracting archive
 +  - Installing mglaman/phpstan-drupal (1.1.5): Extracting archive
 +  - Installing container-interop/container-interop (1.2.0): Extracting archive
 +  - Installing laminas/laminas-servicemanager (3.10.0): Extracting archive
 +  - Installing laminas/laminas-text (2.8.1): Extracting archive
 +  - Installing mathieuviossat/arraytotexttable (v1.0.8): Extracting archive
 +  - Installing drupal/upgrade_status (3.13.0): Extracting archive
 +3 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 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.
 +54 packages you are using are looking for funding.
 +Use the `composer fund` command to find out more!
 +Cleaning vendor directory.
 +</code>
 +
 +うまくいってるようだ。サイトに戻り、upgarde_statusモジュールをチェックし有効化する。お、今度は成功(怒られない)したようだ。もージュールの説明文をクリックすると開くので、そこの「構成」をクリック
 +
 +{{:cms:drupal:upgrade9:d9-1.png?direct&500|}}\\
 +{{:cms:drupal:upgrade9:d9-2.png?direct&500|}}
 +
 +  * さくらのコントロールパネルで調べると、「Apache/2.4.51」と出てるから大丈夫だよね?
 +  * 8.9.20にあげなくてもいいいよね?
 +  * Drush?
 +
 +<code sh>
 +$ drush status
 + [warning] Drush command terminated abnormally.
 +$ drush --version
 +Drush Commandline Tool 10.3.2-dev
 +</code>
 +
 +===== Upgrade作業に入る =====
 +
 +[[upgradework]]
 +
 +[[upgradework2]]
  
  
cms/drupal/upgrade9/start.1641435913.txt.gz · 最終更新: 2022/01/06 11:25 by king