Не обновляется Друпал 9

Главные вкладки

Аватар пользователя kompospec kompospec 16 июля 2022 в 20:11
composer update drupal/core --with-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading laminas/laminas-diactoros (2.11.2 => 2.11.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading laminas/laminas-diactoros (2.11.3)
  - Upgrading laminas/laminas-diactoros (2.11.2 => 2.11.3): Extracting archive
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.
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Cleaning installed packages.

В какую сторону рыть? Спасибо

Лучший ответ

Аватар пользователя marassa marassa 16 июля 2022 в 22:17
1

kompospec wrote: composer update drupal/core --with-dependencies

Не вижу в конфигурации пакета с именем drupal/core. Вижу drupal/core-composer-scaffold, drupal/core-project-message, drupal/core-recommended и drupal/core-vendor-hardening. Вот что написано в документации:

Update Drupal core code
if you are using drupal/core-recommended:
composer update "drupal/core-*" --with-all-dependencies
If you are not using drupal/core-recommended but instead only drupal/core:
composer update drupal/core --with-dependencies

Комментарии

Аватар пользователя kompospec kompospec 16 июля 2022 в 21:54
{
    "name": "drupal/legacy-project",
    "description": "Project template for Drupal 9 projects with composer following drupal/drupal layout",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "homepage": "https://www.drupal.org/project/drupal",
    "support": {
        "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
        "chat": "https://www.drupal.org/node/314178"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
        "composer/installers": "^1.9",
        "drupal/commerce": "^2.30",
        "drupal/core-composer-scaffold": "^9.4",
        "drupal/core-project-message": "^9.4",
        "drupal/core-recommended": "^9.4",
        "drupal/core-vendor-hardening": "^9.4",
        "drupal/inline_entity_form": "^1.0@RC"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "stable",
    "prefer-stable": true,
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-project-message": true,
            "drupal/core-vendor-hardening": true
        }
    },
    "extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "./"
            }
        },
        "installer-paths": {
            "core": [
                "type:drupal-core"
            ],
            "libraries/{$name}": [
                "type:drupal-library"
            ],
            "modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "themes/contrib/{$name}": [
                "type:drupal-theme"
            ],
            "drush/Commands/contrib/{$name}": [
                "type:drupal-drush"
            ],
            "modules/custom/{$name}": [
                "type:drupal-custom-module"
            ],
            "profiles/custom/{$name}": [
                "type:drupal-custom-profile"
            ],
            "themes/custom/{$name}": [
                "type:drupal-custom-theme"
            ]
        },
        "drupal-core-project-message": {
            "include-keys": [
                "homepage",
                "support"
            ],
            "post-create-project-cmd-message": [
                "<bg=blue;fg=white>                                                         </>",
                "<bg=blue;fg=white>  Congratulations, you’ve installed the Drupal codebase  </>",
                "<bg=blue;fg=white>  from the drupal/legacy-project template!               </>",
                "<bg=blue;fg=white>                                                         </>",
                "",
                "<bg=yellow;fg=black>Next steps</>:",
                "  * Install the site: https://www.drupal.org/docs/8/install",
                "  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
                "  * Get support: https://www.drupal.org/support",
                "  * Get involved with the Drupal community:",
                "      https://www.drupal.org/getting-involved",
                "  * Remove the plugin that prints this message:",
                "      composer remove drupal/core-project-message"
            ]
        }
    }
}

Это актуальней

Аватар пользователя marassa marassa 16 июля 2022 в 22:17
1

kompospec wrote: composer update drupal/core --with-dependencies

Не вижу в конфигурации пакета с именем drupal/core. Вижу drupal/core-composer-scaffold, drupal/core-project-message, drupal/core-recommended и drupal/core-vendor-hardening. Вот что написано в документации:

Update Drupal core code
if you are using drupal/core-recommended:
composer update "drupal/core-*" --with-all-dependencies
If you are not using drupal/core-recommended but instead only drupal/core:
composer update drupal/core --with-dependencies