Hello to the community :-)
After I read all the readme stuff related to the deprecated core modules stuff, I disabled all unused modules (contact, history) the onle related module at the moment is telephone (which will be replaced when core 11.4 as requirement was set up correctly...
I tried to upgrade my Drupal v11.3.13 to the latest v11.4 stable release as I always do with the
composer update "drupal/core-*" --with-all-dependenciescommand.
But after the usual composer update command I am still on v11.3.13 version because composer won't update Drupal correctly because of a conflict.
when I run
composer show drupal/core-recommendedat the end of the list I find the conflicting item
webflo/drupal-core-strict *
But I don't know if this really is the problem, maybe its something else?
Thank you in advance for your help.
composer.json
{
"name": "drupal/legacy-project",
"description": "Project template for Drupal 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": "^2.3",
"drupal/admin_toolbar": "^3.6",
"drupal/auto_entitylabel": "^3.4",
"drupal/backup_migrate": "^5.1",
"drupal/better_exposed_filters": "^7.1@beta",
"drupal/block_aria_landmark_roles": "^3.0",
"drupal/captcha": "^2.0",
"drupal/ckeditor5_icons": "^1.2",
"drupal/ckeditor5_plugin_pack": "^1.4",
"drupal/ckeditor5_premium_features": "^1.6",
"drupal/colorbox": "^2.1",
"drupal/core-composer-scaffold": "^11.2",
"drupal/core-project-message": "^11.2",
"drupal/core-recipe-unpack": "^11.2",
"drupal/core-recommended": "^11.2",
"drupal/core-vendor-hardening": "^11.2",
"drupal/csv_serialization": "^4.0",
"drupal/ctools": "^4.1",
"drupal/custom_breadcrumbs": "^1.1",
"drupal/db_maintenance": "^3.0@rc",
"drupal/editor_advanced_link": "^2.3",
"drupal/eu_cookie_compliance": "^1.2.8",
"drupal/feeds": "^3.0",
"drupal/field_group": "^4.0",
"drupal/fontawesome": "^3.0",
"drupal/fullcalendar_view": "^5.2",
"drupal/geolocation": "^3.14",
"drupal/gin": "^5.0",
"drupal/gin_login": "^2.1",
"drupal/imce": "^3.1",
"drupal/jquery_ui_accordion": "^2.1",
"drupal/jquery_ui_button": "^2.1",
"drupal/jquery_ui_checkboxradio": "^2.1",
"drupal/jquery_ui_controlgroup": "^2.1",
"drupal/jquery_ui_datepicker": "^2.1",
"drupal/jquery_ui_slider": "^2.1",
"drupal/jquery_ui_touch_punch": "^1.1",
"drupal/juicebox": "^4.0@alpha",
"drupal/l10n_tools": "^1.0",
"drupal/linkit": "^7.0",
"drupal/menu_block": "^1.1.4",
"drupal/menu_breadcrumb": "^2.0",
"drupal/metatag": "^2.2",
"drupal/module_filter": "^5.0",
"drupal/node_revision_delete": "^2.0",
"drupal/office_hours": "^1.2.8",
"drupal/pathauto": "^1.1.14",
"drupal/pathologic": "^2.0@alpha",
"drupal/popup_message": "^3.0",
"drupal/quick_node_clone": "^1.22",
"drupal/redirect": "^1.12",
"drupal/responsive_favicons": "^4.0",
"drupal/riddler": "^3.0",
"drupal/scheduler": "^2.2",
"drupal/selective_better_exposed_filters": "^3.0",
"drupal/simple_sitemap": "^4.2",
"drupal/single_content_sync": "^1.4",
"drupal/sitemap": "^2.4",
"drupal/sitewide_alert": "^3.0",
"drupal/smtp": "^1.4",
"drupal/svg_image": "^3.2",
"drupal/vefl": "^3.2",
"drupal/views_bulk_operations": "^4.3",
"drupal/views_data_export": "^1.6",
"drupal/views_flipped_table": "^3.0",
"drupal/views_infinite_scroll": "^2.0",
"drupal/views_slideshow": "^5.0",
"drupal/webform": "^6.3@beta",
"drupal/webform_email_confirmation_link": "^1.0"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-recipe-unpack": true,
"drupal/core-project-message": true,
"drupal/core-vendor-hardening": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"php-tuf/composer-integration": true
},
"sort-packages": 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/installing-drupal",
" * 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"
]
}
}
}
Comments
Thanks for the detailed
Thanks for the detailed summary, I tried the composer.json and get the same result. I think you should create an issue, so the Drupal core developers can maybe take a look at it: https://www.drupal.org/project/issues/drupal
Hey ressa, thanks for
Hey ressa, thanks for replying..
I am investigating more to find out requirements...
I think it has something to do with an installed additional module
When I use "composer prohibits" to check some things up I found one of my modules which causes the issue (not recognizeable as incompatible on the Drupal UI so far)
the ckeditor5_icons module seems only to work with Drupal
>=11.0 <11.4.0-stable
that could mean, module is not working on D11.4.0? this could be the issue? but I never had to investigate such thing and I am completely noob in this ...
but its not sure if this is the correct thing that avoids the D11.4 update.
I have to investigate more from a backup state to clear things up
Odd CKEditor 5 icons Composer version constraint syntax
Ah yes, you're right! Like you write, the problem is probably the strange format (
<11.4.0-stable) in the CKEditor 5 icons module version syntax, which Composer cannot understand. Like you suggested, I checked withprohibits:... and tried the suggested command:
I saw the
the package is fixed to 11.3.13 (lock file version) by a partial updatewhich I usually fix by deleting composer.lock. I then got this:And after deleting the CKEditor 5 Icons module with
composer remove drupal/ckeditor5_iconsit updated to Drupal 11.4.So maybe either uninstall and delete the CKEditor 5 Icons module, or create an issue and ask the maintainer to make it Drupal 11, and maybe Drupal 12 ready using the standard syntax:
core_version_requirement: ^9.5 || ^10 || ^11 || ^12?Hey ressa,
Hey ressa,
first of all, huge sorry for my late reply.
Thanks for testing and confirming my thoughts and creating that issue to the related ckeditor5 icons project.
I try to upgrade to Drupal v11.4 after removing the related module...
No problem @rikibu, I hope
No problem @rikibu, I hope you succeed with getting updated to 11.4. Though, I did not create the issue, I just shared it here.
If you have similar issues,
If you have similar issues, try this process below:
1. Problem1 (or 2,3,..) has modules or not.
2. If modules, run $ composer show drupal/that_module_name , and check the required Drupal version.
If you are trying to install Drupal 11 and the module requires Drupal 10 or below, that is the issue.
3. Also run $ grep that_module_name composer.json, and check if that module is included in the composer.json even though it is not compatible with Drupal 11
4. remove the module because it is not used in Drupal 11
CKEditor 5 Icons Composer issue was created
The issue #3607970: The composer drupal core requirements do not allow upgrade to new 11.4 core version just got created :)
Hi, if you have conflict
Hi, if you have conflict errors or core-related/Synphony-related errors, completely removing drush before upgrade would help sometimes.