ユーザ用ツール

サイト用ツール


cms:drupal:d9_moduleupdate_945

9.4.5 更新でトラブル

9.4.5まで難なく動いていたが、レポートの中の「利用可能なアップデート」で更新すると404エラーになるようになった

ダウンロード後に表示される「更新」ボタンをクリックすると404ページが表示される。

composerでやってみる。下記の状態は、upgrade_statusをupdateしたあとなので、upgrade_statusは表示されてない

$ composer outdated "drupal/*"
Info from https://repo.packagist.org: #StandWithUkraine
Color legend:
- patch or minor release available - update recommended
- major release available - update possible
drupal/captcha               1.2.0  1.4.0 The CAPTCHA module provides this feature to virtually any user facing web form on a Drupal site.
drupal/core-vendor-hardening 8.9.20 9.4.5 Hardens the vendor directory for when it's in the docroot.

ここで

composer update drupal/upgrade_status --with-all-dependencies

で、結果を残せてないが、updateできた表示になった。このあと、update.phpを実行しようとしたら、

In order to run update.php you need to either have “Administer software updates” permission or have set $settings['update_free_access'] in your settings.php.

の表示のみが表示される。ユーザー一人で、自分が管理者だけど・・、レポートの「更新」ページも変わらずupgardeされてない表示になっている。う〜んわからない。

$ composer require 'drupal/upgrade_status:3.16'
./composer.json has been updated
Running composer update drupal/upgrade_status
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Generating autoload files
Hardening vendor directory with .htaccess and web.config files.
87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
 
 
  [RuntimeException]                                                                 
  Could not delete /home/husq/www/www_cycle_eek/sites/default/default.settings.php:  
 
 
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

何も変わらず、何も変わらず。

cms/drupal/d9_moduleupdate_945.txt · 最終更新: 2022/08/13 11:04 by king