Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By arruk on
The system reports that I am running 9.4.5 and that I should be running 9.5.7
When I execute any version of composer update "drupal/core-*" --with-all-dependencies the message returned is
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
And that's all I get. All of the Modules are updated. My php Version is correct. Is there a step I am missing?
Thank you
Comments
Run composer self-ugpdate
Run composer self-ugpdate first
then composer validate
see if any errors pop out of composer validate.
You might need to try the option:
composer require drupal/core-recommended:9.5.7 drupal/core-composer-scaffold:9.5.7 drupal/core-project-message:9.5.7 --update-with-all-dependencies
I would add the --dry-run option first to see if there are any errors.
Thank you
It was a local environment problem. I am using DDEV and had to add a composer_root instance to my config.yml pointing it at my drupal webroot.
Thank you :)
Solved
It was an issue with my environment configuration pointing at the wrong config.json
Thank you