How do I update for Drupal 10 ?

Created on 25 May 2023, over 1 year ago
Updated 1 June 2023, over 1 year ago

Hello,
My site is running Drupal 9.58, and I want to update to Drupal 10.0.0. I'm using https://www.drupal.org/project/upgrade_status β†’
to check the site for D10 upgrade compatibility.

For the File Upload Secure Validator module, I see I need to update to version 2.0.0, I'm currently running version 8.x-1.5.

Version 2.0.0 is only compatible with Drupal 10 (D10), I'm running Drupal 9.58. Before updating to D10, I can't update the module to version 2.0.0 since that version only supports D10 and not D9 - but to update my site to D10 I need version 2.0.0 of the module. I'ts a catch-22.

Below is what I get running composer require 'drupal/file_upload_secure_validator:^2.0'

composer require 'drupal/file_upload_secure_validator:^2.0'
./composer.json has been updated
Running composer update drupal/file_upload_secure_validator
Loading composer repositories with package information
Updating dependencies
Info from https://repo.packagist.org: #StandWithUkraine
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/file_upload_secure_validator ^2.0 -> satisfiable by drupal/file_upload_secure_validator[2.0.0].
    - drupal/file_upload_secure_validator 2.0.0 requires drupal/core ^10 -> found drupal/core[10.0.0, ..., 10.0.9] but the package is fixed to 9.5.8 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

How do I resolve this ? Would I need to uninstall the module, update to D10 and then install version 2.0.0 ? Seems like there should
be another / better way ? Thanks for any help.

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States dlanyar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024