I'm preparing to upgrade from Drupal 9 to Drupal 10.
I've installed the upgrade status module to make the process as smooth as possible.
It shows four modules that need updating:
- jQuery UI Accordion (jquery_ui_accordion) Installed 8.x-1.1 Incompatible N/A 2.0.0 Compatible
- jQuery UI Tabs (jquery_ui_tabs) Installed 8.x-1.1 Incompatible N/A 2.0.0 Compatible
- Quick Tabs (quicktabs) Installed 8.x-3.0-alpha5 Incompatible N/A 8.x-3.0-alpha7 Compatible
- Views Accordion (views_accordion) Installed 2.0.0 Incompatible N/A 2.0.1 Compatible
These are the error messages I get:
jQuery UI Accordion
Problem 1
- Root composer.json requires drupal/jquery_ui_accordion ^2.0, found drupal/jquery_ui_accordion[dev-2.x, 2.0.0, 2.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 2
- drupal/quicktabs is locked to version 3.0.0-alpha5 and an update of this package was not requested.
- drupal/quicktabs 3.0.0-alpha5 requires drupal/jquery_ui_accordion ^1.1 -> found drupal/jquery_ui_accordion[dev-1.x, 1.1.0, 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0).
Problem 3
- drupal/views_accordion is locked to version 2.0.0 and an update of this package was not requested.
- drupal/views_accordion 2.0.0 requires drupal/jquery_ui_accordion ^1.0 -> found drupal/jquery_ui_accordion[dev-1.x, 1.0.0, 1.1.0, 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0).
jQuery UI Tabs
Problem 1
- Root composer.json requires drupal/jquery_ui_tabs ^2.0, found drupal/jquery_ui_tabs[2.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 2
- drupal/quicktabs is locked to version 3.0.0-alpha5 and an update of this package was not requested.
- drupal/quicktabs 3.0.0-alpha5 requires drupal/jquery_ui_tabs ^1.1 -> found drupal/jquery_ui_tabs[dev-1.x, 1.1.0, 1.x-dev (alias of dev-1.x)] but it conflicts with your root composer.json require (^2.0).
Quick Tabs
Nothing to modify in lock file
Nothing to install, update or remove
Views Accordion
Nothing to modify in lock file
Nothing to install, update or remove
Quick Tabs and Views Accordion both stay on the installed version.
How can I fix this so they all update to the required versions?
Any help greatly appreciated as I'm going round in circles on this one!
Comments
It looks like some of these
It looks like some of these modules have never versions ...Have you pinned them to for example
2.0.0, instead of using^2? Please share yourcomposer.json.Thanks,
Thanks,
Here is the require section of my composer.json
"require": {
"composer/installers": "^1.9",
"cweagans/composer-patches": "~1.0",
"drupal/address": "^1.12",
"drupal/admin_toolbar": "^3.4",
"drupal/antibot": "^2.0",
"drupal/backup_migrate": "^5.0",
"drupal/block_class": "^2.0",
"drupal/ckeditor_find": "^2.0@beta",
"drupal/clientside_validation": "^4.0",
"drupal/collapsiblock": "^4.1",
"drupal/colorbutton": "^1.5",
"drupal/components": "^3.0@beta",
"drupal/content_access": "^2.0",
"drupal/content_locker": "2.0.x-dev@dev",
"drupal/core-composer-scaffold": "^9.3",
"drupal/core-project-message": "^9.3",
"drupal/core-recommended": "^9.3",
"drupal/csv_importer": "^1.16",
"drupal/ctools": "^4.0",
"drupal/editor_advanced_link": "^2.2",
"drupal/editor_button_link": "^2.0",
"drupal/entity": "^1.4",
"drupal/entity_export_csv": "^2.0@beta",
"drupal/entity_legal": "^4.0@alpha",
"drupal/entity_print": "^2.13",
"drupal/entity_type_clone": "^4.0",
"drupal/entityqueue": "^1.7",
"drupal/exclude_node_title": "^1.4",
"drupal/extlink": "^1.7",
"drupal/feeds": "^3.0@beta",
"drupal/feeds_tamper": "^2.0@beta",
"drupal/field_group": "^3.3",
"drupal/file_delete": "^2.0",
"drupal/file_mdm": "^2.6",
"drupal/flexslider": "^3.0@alpha",
"drupal/gin": "^3.0@RC",
"drupal/gin_toolbar": "1.x-dev@dev",
"drupal/google_analytics": "^4.0",
"drupal/google_cse": "^3.8",
"drupal/group": "^1.6",
"drupal/highlight": "^1.1",
"drupal/honeypot": "^2.1",
"drupal/html_title": "^1.4",
"drupal/imagemagick": "^3.4",
"drupal/imagick": "^1.6",
"drupal/insert_view": "^2.1",
"drupal/jquery_ui": "^1.6",
"drupal/jquery_ui_tabs": "^1.1",
"drupal/layout_builder_tabs": "^1.0",
"drupal/libraries": "^4.0",
"drupal/linkit": "^6.0",
"drupal/login_destination": "^2.0@beta",
"drupal/maestro": "^3.1",
"drupal/mailchimp": "^2.2",
"drupal/menu_item_role_access": "^2.1",
"drupal/multiple_registration": "^3.x-dev",
"drupal/panelbutton": "^1.5",
"drupal/pathauto": "^1.12",
"drupal/pathologic": "^2.0@alpha",
"drupal/pdfpreview": "^1.1",
"drupal/quick_node_clone": "^1.16",
"drupal/quicktabs": "^3.0@alpha",
"drupal/registration_role": "^2.0",
"drupal/rules": "^3.0@alpha",
"drupal/rules_webform": "^3.0",
"drupal/scheduler": "^2.0",
"drupal/smtp": "^1.2",
"drupal/sophron": "^1.3",
"drupal/tamper": "^1.0@alpha",
"drupal/token": "^1.13",
"drupal/token_filter": "^2.1",
"drupal/typed_data": "^1.0@beta",
"drupal/unmanaged_files": "^1.0",
"drupal/upgrade_status": "^4.0",
"drupal/variationcache": "^1.4",
"drupal/vefl": "^3.0",
"drupal/views_accordion": "^2.0",
"drupal/views_autosubmit": "^1.6",
"drupal/views_bulk_edit": "^2.9",
"drupal/views_bulk_operations": "^4.2",
"drupal/views_infinite_scroll": "^2.0",
"drupal/webform": "^6.2",
"drupal/webform_group": "^1.0",
"drupal/webform_query": "^1.0@alpha",
"drupal/webform_views": "^5.2",
"drupal/webform_workflows_element": "^1.0@alpha",
"drupal/webform_xlsx_export": "^1.2"
},
Great, thanks. Actually,
Great, thanks. Actually, maybe best if you also move this to the Composer section, and check out these two links, and provide the info requested:
I have tried: composer
I have tried: composer require drupal/[module] -W and composer update drupal/[module] -W
I'm sure there is a simple solution but I just can't find it.
I've spent a day searching for and trying the solutions I've found and nothing has worked yet
composer.lock
This may be a dup of "Composer can't upgrade drupal from 9.5 to 10.0.0 - "it conflicts with another require" with no additional info" where the ultimate resolution involves deleting composer.lock
I can't explain why this would work exactly, but after many hours of experimenting it seems to be the only solution.
composer.lock
This may be a dup of "Composer can't upgrade drupal from 9.5 to 10.0.0 - it conflicts with another require with no additional info" ...where the ultimate resolution involves deleting composer.lock
I can't explain why this would work exactly, but after many hours of experimenting it seems to be the only solution.
Thank you!
Deleting ./compser.lock solved the problem.
Thank you so much for your help!