目次

Drupal10Try3続き

update.php

えらーになった。😭:cry

テーマ“stable”がないと言っている。戻したはずなので、ディレクトリの中にないってことは、updateで消されたってことか。

再度、composer updateするも、updateなし。devを削除したからかも、それと、drushのupdateもしなかったから

composer require 'drupal/core-dev:^10' --dev --no-update
composer require 'drush/drush:^12' --no-update

その後、composer update

$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 86 installs, 0 updates, 0 removals
  - Locking behat/mink (v1.10.0)
  - Locking behat/mink-browserkit-driver (v2.1.0)
  - Locking behat/mink-selenium2-driver (v1.6.0)
  - Locking chi-teck/drupal-code-generator (3.3.0)
  - Locking colinodell/psr-testlogger (v1.2.0)
  - Locking composer/ca-bundle (1.3.7)
  - Locking composer/class-map-generator (1.1.0)
  - Locking composer/composer (2.6.5)
  - Locking composer/metadata-minifier (1.0.0)
  - Locking composer/pcre (3.1.1)
  - Locking composer/spdx-licenses (1.5.8)
  - Locking composer/xdebug-handler (3.0.3)
  - Locking consolidation/annotated-command (4.9.1)
  - Locking consolidation/config (2.1.2)
  - Locking consolidation/filter-via-dot-access-data (2.0.2)
  - Locking consolidation/log (3.0.0)
  - Locking consolidation/output-formatters (4.3.2)
  - Locking consolidation/robo (4.0.6)
  - Locking consolidation/self-update (2.2.0)
  - Locking consolidation/site-alias (4.0.1)
  - Locking consolidation/site-process (5.2.0)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  - Locking dflydev/dot-access-data (v3.0.2)
  - Locking doctrine/instantiator (2.0.0)
  - Locking drupal/coder (8.3.22)
  - Locking drupal/core-dev (10.1.6)
  - Locking drush/drush (12.4.3)
  - Locking grasmash/expander (3.0.0)
  - Locking grasmash/yaml-cli (3.1.0)
  - Locking instaclick/php-webdriver (1.4.16)
  - Locking justinrainbow/json-schema (v5.2.13)
  - Locking league/container (4.2.0)
  - Locking mikey179/vfsstream (v1.6.11)
  - Locking myclabs/deep-copy (1.11.1)
  - Locking phar-io/manifest (2.0.3)
  - Locking phar-io/version (3.2.1)
  - Locking phootwork/collection (v3.2.2)
  - Locking phootwork/lang (v3.2.2)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.7.3)
  - Locking phpowermove/docblock (v4.0)
  - Locking phpspec/prophecy (v1.17.0)
  - Locking phpspec/prophecy-phpunit (v2.0.2)
  - Locking phpstan/extension-installer (1.3.1)
  - Locking phpstan/phpdoc-parser (1.24.3)
  - Locking phpstan/phpstan-phpunit (1.3.15)
  - Locking phpunit/php-code-coverage (9.2.29)
  - Locking phpunit/php-file-iterator (3.0.6)
  - Locking phpunit/php-invoker (3.1.1)
  - Locking phpunit/php-text-template (2.0.4)
  - Locking phpunit/php-timer (5.0.3)
  - Locking phpunit/phpunit (9.6.13)
  - Locking psy/psysh (v0.11.22)
  - Locking react/promise (v3.1.0)
  - Locking sebastian/cli-parser (1.0.1)
  - Locking sebastian/code-unit (1.0.8)
  - Locking sebastian/code-unit-reverse-lookup (2.0.3)
  - Locking sebastian/comparator (4.0.8)
  - Locking sebastian/complexity (2.0.2)
  - Locking sebastian/environment (5.1.5)
  - Locking sebastian/exporter (4.0.5)
  - Locking sebastian/global-state (5.0.6)
  - Locking sebastian/lines-of-code (1.0.3)
  - Locking sebastian/object-enumerator (4.0.4)
  - Locking sebastian/object-reflector (2.0.4)
  - Locking sebastian/recursion-context (4.0.5)
  - Locking sebastian/resource-operations (3.0.3)
  - Locking sebastian/type (3.2.1)
  - Locking sebastian/version (3.0.2)
  - Locking seld/jsonlint (1.10.0)
  - Locking seld/phar-utils (1.2.1)
  - Locking seld/signal-handler (2.0.2)
  - Locking sirbrillig/phpcs-variable-analysis (v2.11.17)
  - Locking slevomat/coding-standard (8.14.1)
  - Locking squizlabs/php_codesniffer (3.7.2)
  - Locking symfony/browser-kit (v6.3.8)
  - Locking symfony/css-selector (v6.3.2)
  - Locking symfony/dom-crawler (v6.3.4)
  - Locking symfony/filesystem (v6.3.1)
  - Locking symfony/lock (v6.3.8)
  - Locking symfony/phpunit-bridge (v6.3.8)
  - Locking symfony/polyfill-php73 (v1.28.0)
  - Locking symfony/polyfill-php81 (v1.28.0)
  - Locking theseer/tokenizer (1.2.2)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 86 installs, 0 updates, 0 removals
  - Downloading phpstan/extension-installer (1.3.1)
  - Downloading squizlabs/php_codesniffer (3.7.2)
  - Downloading dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  - Downloading composer/pcre (3.1.1)
  - Downloading composer/class-map-generator (1.1.0)
  - Downloading composer/metadata-minifier (1.0.0)
  - Downloading composer/xdebug-handler (3.0.3)
  - Downloading consolidation/log (3.0.0)
  - Downloading symfony/filesystem (v6.3.1)
  - Downloading consolidation/self-update (2.2.0)
  - Downloading symfony/phpunit-bridge (v6.3.8)
  - Downloading symfony/lock (v6.3.8)
  - Downloading symfony/dom-crawler (v6.3.4)
  - Downloading symfony/css-selector (v6.3.2)
  - Downloading symfony/browser-kit (v6.3.8)
  - Downloading sebastian/version (3.0.2)
  - Downloading sebastian/type (3.2.1)
  - Downloading sebastian/resource-operations (3.0.3)
  - Downloading sebastian/recursion-context (4.0.5)
  - Downloading sebastian/object-reflector (2.0.4)
  - Downloading sebastian/object-enumerator (4.0.4)
  - Downloading sebastian/exporter (4.0.5)
  - Downloading sebastian/environment (5.1.5)
  - Downloading sebastian/comparator (4.0.8)
  - Downloading sebastian/code-unit (1.0.8)
  - Downloading sebastian/cli-parser (1.0.1)
  - Downloading phpunit/php-timer (5.0.3)
  - Downloading phpunit/php-text-template (2.0.4)
  - Downloading phpunit/php-invoker (3.1.1)
  - Downloading phpunit/php-file-iterator (3.0.6)
  - Downloading sebastian/lines-of-code (1.0.3)
  - Downloading sebastian/complexity (2.0.2)
  - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.3)
  - Downloading myclabs/deep-copy (1.11.1)
  - Downloading phpstan/phpstan-phpunit (1.3.15)
  - Downloading webmozart/assert (1.11.0)
  - Downloading phpdocumentor/reflection-common (2.2.0)
  - Downloading phpdocumentor/reflection-docblock (5.3.0)
  - Downloading phpspec/prophecy (v1.17.0)
  - Downloading phpspec/prophecy-phpunit (v2.0.2)
  - Downloading mikey179/vfsstream (v1.6.11)
  - Downloading instaclick/php-webdriver (1.4.16)
  - Downloading drupal/coder (8.3.22)
  - Downloading symfony/polyfill-php81 (v1.28.0)
  - Downloading seld/signal-handler (2.0.2)
  - Downloading seld/phar-utils (1.2.1)
  - Downloading react/promise (v3.1.0)
  - Downloading composer/composer (2.6.5)
  - Downloading colinodell/psr-testlogger (v1.2.0)
  - Downloading behat/mink (v1.10.0)
  - Downloading behat/mink-selenium2-driver (v1.6.0)
  - Downloading behat/mink-browserkit-driver (v2.1.0)
  - Downloading psy/psysh (v0.11.22)
  - Downloading league/container (4.2.0)
  - Downloading dflydev/dot-access-data (v3.0.2)
  - Downloading grasmash/yaml-cli (3.1.0)
  - Downloading grasmash/expander (3.0.0)
  - Downloading consolidation/config (2.1.2)
  - Downloading consolidation/site-alias (4.0.1)
  - Downloading consolidation/site-process (5.2.0)
  - Downloading phootwork/lang (v3.2.2)
  - Downloading phootwork/collection (v3.2.2)
  - Downloading phpowermove/docblock (v4.0)
  - Downloading consolidation/output-formatters (4.3.2)
  - Downloading consolidation/annotated-command (4.9.1)
  - Downloading consolidation/robo (4.0.6)
  - Downloading consolidation/filter-via-dot-access-data (2.0.2)
  - Downloading chi-teck/drupal-code-generator (3.3.0)
  - Downloading drush/drush (12.4.3)
phpstan/extension-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "phpstan/extension-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing phpstan/extension-installer (1.3.1): Extracting archive
  - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
    Cleaning: squizlabs/php_codesniffer
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Installing composer/ca-bundle (1.3.7): Extracting archive
  - Installing composer/pcre (3.1.1): Extracting archive
  - Installing composer/class-map-generator (1.1.0): Extracting archive
  - Installing composer/metadata-minifier (1.0.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.8): Extracting archive
  - Installing composer/xdebug-handler (3.0.3): Extracting archive
  - Installing consolidation/log (3.0.0): Extracting archive
  - Installing symfony/filesystem (v6.3.1): Extracting archive
  - Installing consolidation/self-update (2.2.0): Extracting archive
  - Installing symfony/phpunit-bridge (v6.3.8): Extracting archive
  - Installing symfony/lock (v6.3.8): Extracting archive
  - Installing symfony/dom-crawler (v6.3.4): Extracting archive
  - Installing symfony/css-selector (v6.3.2): Extracting archive
  - Installing symfony/browser-kit (v6.3.8): Extracting archive
  - Installing sebastian/version (3.0.2): Extracting archive
  - Installing sebastian/type (3.2.1): Extracting archive
  - Installing sebastian/resource-operations (3.0.3): Extracting archive
  - Installing sebastian/recursion-context (4.0.5): Extracting archive
  - Installing sebastian/object-reflector (2.0.4): Extracting archive
  - Installing sebastian/object-enumerator (4.0.4): Extracting archive
  - Installing sebastian/global-state (5.0.6): Extracting archive
  - Installing sebastian/exporter (4.0.5): Extracting archive
  - Installing sebastian/environment (5.1.5): Extracting archive
  - Installing sebastian/comparator (4.0.8): Extracting archive
  - Installing sebastian/code-unit (1.0.8): Extracting archive
  - Installing sebastian/cli-parser (1.0.1): Extracting archive
  - Installing phpunit/php-timer (5.0.3): Extracting archive
  - Installing phpunit/php-text-template (2.0.4): Extracting archive
  - Installing phpunit/php-invoker (3.1.1): Extracting archive
  - Installing phpunit/php-file-iterator (3.0.6): Extracting archive
  - Installing theseer/tokenizer (1.2.2): Extracting archive
  - Installing sebastian/lines-of-code (1.0.3): Extracting archive
  - Installing sebastian/complexity (2.0.2): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
  - Installing phpunit/php-code-coverage (9.2.29): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.3): Extracting archive
  - Installing myclabs/deep-copy (1.11.1): Extracting archive
  - Installing doctrine/instantiator (2.0.0): Extracting archive
  - Installing phpunit/phpunit (9.6.13): Extracting archive
  - Installing phpstan/phpstan-phpunit (1.3.15): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (1.24.3): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.7.3): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
  - Installing phpspec/prophecy (v1.17.0): Extracting archive
  - Installing phpspec/prophecy-phpunit (v2.0.2): Extracting archive
  - Installing mikey179/vfsstream (v1.6.11): Extracting archive
  - Installing justinrainbow/json-schema (v5.2.13): Extracting archive
  - Installing instaclick/php-webdriver (1.4.16): Extracting archive
  - Installing slevomat/coding-standard (8.14.1): Extracting archive
  - Installing sirbrillig/phpcs-variable-analysis (v2.11.17): Extracting archive
  - Installing drupal/coder (8.3.22): Extracting archive
  - Installing symfony/polyfill-php81 (v1.28.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.28.0): Extracting archive
  - Installing seld/signal-handler (2.0.2): Extracting archive
  - Installing seld/phar-utils (1.2.1): Extracting archive
  - Installing seld/jsonlint (1.10.0): Extracting archive
  - Installing react/promise (v3.1.0): Extracting archive
  - Installing composer/composer (2.6.5): Extracting archive
  - Installing colinodell/psr-testlogger (v1.2.0): Extracting archive
  - Installing behat/mink (v1.10.0): Extracting archive
  - Installing behat/mink-selenium2-driver (v1.6.0): Extracting archive
  - Installing behat/mink-browserkit-driver (v2.1.0): Extracting archive
  - Installing drupal/core-dev (10.1.6)
  - Installing psy/psysh (v0.11.22): Extracting archive
  - Installing league/container (4.2.0): Extracting archive
  - Installing dflydev/dot-access-data (v3.0.2): Extracting archive
  - Installing grasmash/yaml-cli (3.1.0): Extracting archive
  - Installing grasmash/expander (3.0.0): Extracting archive
  - Installing consolidation/config (2.1.2): Extracting archive
  - Installing consolidation/site-alias (4.0.1): Extracting archive
  - Installing consolidation/site-process (5.2.0): Extracting archive
  - Installing phootwork/lang (v3.2.2): Extracting archive
  - Installing phootwork/collection (v3.2.2): Extracting archive
  - Installing phpowermove/docblock (v4.0): Extracting archive
  - Installing consolidation/output-formatters (4.3.2): Extracting archive
  - Installing consolidation/annotated-command (4.9.1): Extracting archive
  - Installing consolidation/robo (4.0.6): Extracting archive
  - Installing consolidation/filter-via-dot-access-data (2.0.2): Extracting archive
  - Installing chi-teck/drupal-code-generator (3.3.0): Extracting archive
  - Installing drush/drush (12.4.3): Extracting archive
    Cleaning: symfony/filesystem
    Cleaning: symfony/phpunit-bridge
    Cleaning: symfony/dom-crawler
    Cleaning: symfony/css-selector
    Cleaning: symfony/browser-kit
    Cleaning: sebastian/recursion-context
    Cleaning: sebastian/object-reflector
    Cleaning: sebastian/object-enumerator
    Cleaning: sebastian/global-state
    Cleaning: sebastian/exporter
    Cleaning: sebastian/environment
    Cleaning: sebastian/comparator
    Cleaning: phpunit/php-timer
    Cleaning: theseer/tokenizer
    Cleaning: sebastian/code-unit-reverse-lookup
    Cleaning: phpunit/php-code-coverage
    Cleaning: phar-io/version
    Cleaning: phar-io/manifest
    Cleaning: myclabs/deep-copy
    Cleaning: doctrine/instantiator
    Cleaning: phpunit/phpunit
    Cleaning: phpdocumentor/reflection-docblock
    Cleaning: phpspec/prophecy
    Cleaning: mikey179/vfsstream
    Cleaning: justinrainbow/json-schema
    Cleaning: instaclick/php-webdriver
    Cleaning: drupal/coder
    Cleaning: seld/jsonlint
    Cleaning: composer/composer
    Cleaning: behat/mink
    Cleaning: behat/mink-selenium2-driver
    Cleaning: behat/mink-browserkit-driver
13 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
Hardening vendor directory with .htaccess and web.config files.
90 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Cleaning vendor directory.
phpstan/extension-installer: Extensions installed
> composer/composer: installed
> mglaman/phpstan-drupal: installed
> phpstan/phpstan-deprecation-rules: installed
> phpstan/phpstan-phpunit: installed
PHP CodeSniffer Config installed_paths set to ../../drupal/coder/coder_sniffer,../../sirbrillig/phpcs-variable-analysis,../../slevomat/coding-standard
No security vulnerability advisories found.

 innstallでもなしと言われるので、再度、update.php

状況変わらず。😭

stable

stableのリンクをクリックすると、。 https://www.drupal.org/project/stable

なぜ必要かわからないが、いれてしまえってことで、

$ composer require 'drupal/stable:^2.0'
./composer.json has been updated
Running composer update drupal/stable
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking drupal/stable (2.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading drupal/stable (2.0.0)
  - Installing drupal/stable (2.0.0): Extracting archive
Generating autoload files
Hardening vendor directory with .htaccess and web.config files.
90 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
Cleaning vendor directory.
No security vulnerability advisories found.

再びupdate.php

updateのエラーがくなり、”継続“ボタンが出る(テーマが適用されてない感じだが)。継続すると、バーが出て、プログレスが進む。できているようで、エラーなく下記画面になった。

エラーではない模様。

できた!