cms:drupal:upgrade9:start
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
cms:drupal:upgrade9:start [2022/01/06 11:09] – 作成 king | cms:drupal:upgrade9:start [2022/01/10 12:48] – [update status] king | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== 8-> | + | ====== 8-> |
+ | 独自ドメイン配下のサブフォルダのまま実施してみる。フォルダごとバックアップとるのと、buckup_migradeモジュールでデータベースのバックアプを保存 | ||
+ | < | ||
+ | $ cp -R www_cycle_eek8 _bk/ | ||
+ | </ | ||
+ | |||
+ | ===== update status ===== | ||
+ | update statusモジュールを入れる https:// | ||
+ | |||
+ | 有効化したら怒られる\\ | ||
+ | < | ||
+ | </ | ||
+ | 二つにことが書かれている | ||
+ | * すでにcomposerを使用しているサイトへのインストール | ||
+ | * Composerを使用していないサイトへのインストール | ||
+ | |||
+ | サイトのことが書いてあるので、composerがあるかどうかということと勝手に解釈して下記を実施(上のページに記載の通り、あんまり意味わかってない) | ||
+ | |||
+ | < | ||
+ | $ composer show drupal/core | grep versions | ||
+ | $ composer require --dev drupal/ | ||
+ | $ composer require drupal/ | ||
+ | </ | ||
+ | |||
+ | == composer show drupal/core | grep versions == | ||
+ | composer/ | ||
+ | Do you trust " | ||
+ | |||
+ | composer / installersには、現在allow-plugins構成にないComposerプラグインが含まれています。 https:// | ||
+ | 「composer / installers」がコードを実行することを信頼し、今すぐ有効にしたいですか? (composer.jsonに「allow-plugins」を書き込みます)[y、n、d、?] | ||
+ | |||
+ | 後3個ほど出るけど、一応全部「d」で。すると、「versions : * 8.9.8」と出た。rupalのバージョンのことか、知ってたけど。 | ||
+ | |||
+ | == composer require --dev drupal/ | ||
+ | [copy version above]はさっきのバージョン番号を入れてみる | ||
+ | < | ||
+ | drupal/ | ||
+ | Do you trust " | ||
+ | 有効にしますかと聞いているようなので、あと2つ出たけど、今度は全部「y」で。 | ||
+ | ./ | ||
+ | Running composer update drupal/ | ||
+ | Loading composer repositories with package information | ||
+ | Updating dependencies | ||
+ | Lock file operations: 54 installs, 0 updates, 0 removals | ||
+ | - Locking behat/mink (v1.9.0) | ||
+ | (中略) | ||
+ | - Locking webmozart/ | ||
+ | Writing lock file | ||
+ | Installing dependencies from lock file (including require-dev) | ||
+ | Package operations: 54 installs, 0 updates, 0 removals | ||
+ | - Downloading symfony/ | ||
+ | (中略) | ||
+ | - Downloading behat/ | ||
+ | - Downloading fabpot/ | ||
+ | - Downloading behat/ | ||
+ | - Installing symfony/ | ||
+ | - Installing symfony/ | ||
+ | (中略) | ||
+ | - Installing behat/ | ||
+ | - Installing drupal/ | ||
+ | Cleaning: symfony/ | ||
+ | (中略) | ||
+ | Cleaning: behat/ | ||
+ | 6 package suggestions were added by new dependencies, | ||
+ | Package phpunit/ | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | == composer require drupal/ | ||
+ | < | ||
+ | Using version ^3.13 for drupal/ | ||
+ | ./ | ||
+ | Running composer update drupal/ | ||
+ | Loading composer repositories with package information | ||
+ | Updating dependencies | ||
+ | Lock file operations: 12 installs, 0 updates, 0 removals | ||
+ | - Locking container-interop/ | ||
+ | (中略) | ||
+ | - Locking webflo/ | ||
+ | Writing lock file | ||
+ | Installing dependencies from lock file (including require-dev) | ||
+ | Package operations: 12 installs, 0 updates, 0 removals | ||
+ | - Downloading phpstan/ | ||
+ | (中略) | ||
+ | - Downloading drupal/ | ||
+ | - Installing webflo/ | ||
+ | - Installing phpstan/ | ||
+ | - Installing phpstan/ | ||
+ | - Installing nikic/ | ||
+ | - Installing nette/utils (v3.2.6): Extracting archive | ||
+ | - Installing nette/ | ||
+ | - Installing mglaman/ | ||
+ | - Installing container-interop/ | ||
+ | - Installing laminas/ | ||
+ | - Installing laminas/ | ||
+ | - Installing mathieuviossat/ | ||
+ | - Installing drupal/ | ||
+ | 3 package suggestions were added by new dependencies, | ||
+ | Package container-interop/ | ||
+ | Package phpunit/ | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | うまくいってるようだ。サイトに戻り、upgarde_statusモジュールをチェックし有効化する。お、今度は成功(怒られない)したようだ。もージュールの説明文をクリックすると開くので、そこの「構成」をクリック | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | * さくらのコントロールパネルで調べると、「Apache/ | ||
+ | * 8.9.20にあげなくてもいいいよね? | ||
+ | * Drush? | ||
+ | |||
+ | <code sh> | ||
+ | $ drush status | ||
+ | | ||
+ | $ drush --version | ||
+ | Drush Commandline Tool 10.3.2-dev | ||
+ | </ | ||
+ | |||
+ | ===== Upgrade | ||
+ | |||
+ | [[upgradework]] | ||
+ | |||
+ | [[upgradework2]] | ||
cms/drupal/upgrade9/start.txt · 最終更新: 2022/01/10 12:50 by king