Problem/Motivation
Hi,
I'm struggling a lot with varbase updating process and I'd really appreciate your help.
Automatic and manual updating varbase version 9.0.0 using varbase-updater script fails because of composer dependency. I did have similar issues when updating from 8.8.12 but i mannaged to resolve it by creating new 9.0.0. project, require the same modules using composer etc. and moving the old database on top of that. It worked fine.
But now I the problem with composer returned. 9.0.0 should upgrade wihout problem to 9.0.3 as it's almost the same (9.2.0 -> 9.2.7 core).
Thanks for any suggestions!
Problem 1
- Root composer.json requires drupal/animated_scroll_to_top ^2.1 -> satisfiable by drupal/animated_scroll_to_top[2.1.0, 2.x-dev].
- Root composer.json requires drupal/jquery_ui 1.7 -> satisfiable by drupal/jquery_ui[1.7.0].
- Root composer.json requires drupal/vartheme_material ^4.0-alpha2 -> satisfiable by drupal/vartheme_material[4.0.0-alpha2, 4.0.0-alpha3, 4.x-dev].
- Root composer.json requires drupal/video_embed_field ^2.5 -> satisfiable by drupal/video_embed_field[2.5.0, 2.x-dev].
- drupal/core[10.0.0-alpha2, ..., 10.5.x-dev] require php >=8.1.0 -> your php version (7.4.33) does not satisfy that requirement.
- drupal/core 10.0.0-alpha1 requires php >=8.0.2 -> your php version (7.4.33) does not satisfy that requirement.
- drupal/core[11.0.0-alpha1, ..., 11.x-dev] require php >=8.3.0 -> your php version (7.4.33) does not satisfy that requirement.
- drupal/core[9.2.0-alpha1, ..., 9.5.x-dev] require symfony/console ^4.4 -> satisfiable by symfony/console[v4.4.0-BETA1, ..., 4.4.x-dev].
- drupal/jquery_ui 1.7.0 requires drupal/core ^9.2 || ^10 || ^11 -> satisfiable by drupal/core[9.2.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.5.x-dev, 11.0.0-alpha1, ..., 11.x-dev].
- Conclusion: don't install symfony/console v4.4.37 (conflict analysis result)
- Conclusion: don't install symfony/console v4.4.49 (conflict analysis result)
- Conclusion: don't install drupal/core 8.9.18 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.4 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.10 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.11 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.12 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.13 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.14 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.15 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.0 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.1 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.2 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.3 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.4 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.5 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.6 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.7 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.8 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.9 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.10 (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.11 (conflict analysis result)
- Conclusion: don't install drupal/core[9.4.3] | install drupal/core[8.9.18] (conflict analysis result)
- Conclusion: don't install symfony/console[v4.4.26] | install drupal/core[8.9.18] (conflict analysis result)
- Conclusion: don't install symfony/console[v4.4.8] | install drupal/core[8.9.18] (conflict analysis result)
And composer.json after refactoring:
{
"name": "vardot/varbase-project",
"description": "Project template for Varbase distribution.",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Vardot",
"homepage": "https://github.com/vardot",
"role": "Maintainer"
}
],
"support": {
"issues": "http://drupal.org/project/issues/varbase",
"source": "http://cgit.drupalcode.org/varbase"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"assets": {
"type": "composer",
"url": "https://asset-packagist.org"
},
"composer-patches": {
"type": "vcs",
"url": "https://github.com/vardot/composer-patches"
}
},
"require": {
"composer/installers": "~1.0 || ~2.0",
"oomphinc/composer-installers-extender": "~1.0 || ~2.0",
"cweagans/composer-patches": "~1.0",
"drupal/core-composer-scaffold": "^9",
"drupal/core-project-message": "^9",
"webflo/drupal-finder": "~1.0",
"webmozart/path-util": "~2.0",
"vardot/varbase": "~9.0",
"vardot/varbase-updater": "~2.0",
"drush/drush": "^10.6",
"drupal/bootstrap": "^3.24",
"drupal/admin_audit_trail": "1.0",
"drupal/backup_migrate": "^5.0",
"drupal/colorbox": "^1.4",
"drupal/conditional_fields": "^1.0@alpha",
"drupal/content_lock": "^2.1",
"drupal/cookieconsent": "^1.4",
"drupal/copyright_footer": "^1.3",
"drupal/css_editor": "^1.2",
"drupal/dynamic_entity_reference": "^1.7",
"drupal/entityqueue": "1.1",
"drupal/fakeobjects": "^1.0",
"drupal/fb_likebox": "^2.1",
"drupal/feeds": "^3.0@alpha",
"drupal/field_token_value": "^3.0",
"drupal/fontawesome": "^2.14",
"drupal/fontawesome_menu_icons": "^1.5",
"drupal/footermap": "^1.3",
"drupal/fontawesome_menu_icons": "^1.5",
"drupal/footermap": "^1.3",
"drupal/gdpr_compliance": "^1.15",
"drupal/high_contrast": "^1.0@beta",
"drupal/jquery_ui": "1.7",
"drupal/jquery_ui_checkboxradio": "^2.1",
"drupal/jquery_ui_draggable": "^1.2",
"drupal/linked_field": "^1.1",
"drupal/override_node_options": "^2.4",
"drupal/panelizer": "^4.5",
"drupal/pathauto": "^1.8",
"drupal/php": "^1.0",
"drupal/poll": "^1.2",
"drupal/quicktabs": "^3.0@alpha",
"drupal/scheduler": "^1.1",
"drupal/semanticviews": "^2.2",
"drupal/similarterms": "^1.4",
"drupal/text_summary_options": "^1.0",
"drupal/typed_data": "^1.0@alpha",
"drupal/video_embed_field": "^2.5",
"drupal/view_unpublished": "^1.0@alpha",
"drupal/views_conditional": "^1.0",
"drupal/views_infinite_scroll": "^1.6",
"drupal/views_random_seed": "^1.0@alpha",
"drupal/views_slideshow": "^4.6",
"drupal/webform_views": "^5.0",
"drupal/weight": "^3.4",
"drupal/linkit": "^6.0@beta",
"drupal/webform_analysis": "^1.0@beta",
"drupal/l10n_client": "^3.0@alpha",
"drupal/libraries": "^3.0@beta",
"drupal/libraries_ui": "2.1",
"drupal/animated_scroll_to_top": "^2.1",
"drupal/contribute": "^1.0@beta",
"drupal/taxonomy_image": "1.x-dev@dev",
"drupal/entity_pilot": "^2.0@RC",
"drupal/fico": "^3.0",
"drupal/ds": "^3.14",
"drupal/juicebox": "^3.0@alpha",
"drupal/pagebreak": "^2.1",
"drupal/rules": "^3.0@alpha",
"drupal/search_autocomplete": "^2.0",
"drupal/share_everywhere": "^2.0",
"drupal/stickynav": "^1.4",
"drupal/composer_deploy": "^1.7",
"drupal/bootstrap_barrio": "^5.1",
"drupal/update_helper": "^2.0"
},
"config": {
"bin-dir": "bin/",
"secure-http": false,
"optimize-autoloader": true,
"preferred-install": {
"drupal/core": "dist"
},
"allow-plugins": {
"composer/installers": true,
"oomphinc/composer-installers-extender": true,
"cweagans/composer-patches": true,
"oomphinc/composer-installers-extender": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"vardot/varbase-updater": true
}
},
"scripts": {
"post-install-cmd": [
"Varbase\\composer\\ScriptHandler::createRequiredFiles",
"Varbase\\composer\\ScriptHandler::removeGitDirectories"
],
"post-update-cmd": [
"Varbase\\composer\\ScriptHandler::createRequiredFiles",
"Varbase\\composer\\ScriptHandler::removeGitDirectories"
],
"post-drupal-scaffold-cmd": ["Varbase\\composer\\ScriptHandler::postDrupalScaffoldProcedure"]
},
"minimum-stability": "dev",
"prefer-stable": true,
"conflict": {
"drupal/drupal": "*"
},
"extra": {
"drupal-scaffold": {
"allowed-packages": [
"drupal/core"
],
"locations": {
"web-root": "docroot/"
}
},
"drupal-core-project-message": {
"include-keys": ["homepage", "support"],
"post-create-project-cmd-message": [
" ",
" Congratulations, you’ve installed the Varbase codebase ",
" from the vardot/varbase-project template! ",
" ",
"",
"Next steps:",
" * Install the site:
https://www.drupal.org/docs/8/install →
",
" * Read the user guide: https://docs.varbase.vardot.com",
" * Get support: https://www.vardot.com/en/form/get-support-varbase",
" * Join Our Slack Team for Feedback and Support:",
" http://slack.varbase.vardot.com",
" * Remove the plugin that prints this message:",
" composer remove drupal/core-project-message"
]
},
"_readme": [
"NOTICE: We're now using composer patches from Vardot repository to suggest",
"several fixes and better handling of patches in your Drupal project.",
"You'll notice that we have included (https://github.com/vardot/composer-patches)",
"in this composer.json repositories. This will replace the original",
"library (cweagans/composer-patches) with our own from (vardot/composer-patches).",
"See https://github.com/cweagans/composer-patches/pull/243 and more details",
"on our changes on the composer-patches package. Once our changes get merged,",
"See https://github.com/cweagans/composer-patches/pull/243 and more details",
"on our changes on the composer-patches package. Once our changes get merged,",
"we will revert to using (cweagans/composer-patches) without this override."
],
"branch-alias": {
"dev-9.0.x": "9.0.x-dev",
"dev-10.0.x": "10.0.x-dev"
},
"installer-types": [
"bower-asset",
"npm-asset"
],
"installer-paths": {
"docroot/core": ["type:drupal-core"],
"docroot/profiles/{$name}": ["type:drupal-profile"],
"docroot/modules/contrib/{$name}": ["type:drupal-module"],
"docroot/themes/contrib/{$name}": ["type:drupal-theme"],
"docroot/libraries/slick": ["npm-asset/slick-carousel"],
"docroot/libraries/ace": ["npm-asset/ace-builds"],
"docroot/libraries/jquery-ui-touch-punch": ["bower-asset/jqueryui-touch-punch"],
"docroot/libraries/swagger-ui/dist": ["npm-asset/swagger-ui-dist"],
"docroot/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
"docroot/modules/custom/{$name}": ["type:drupal-custom-module"],
"docroot/themes/custom/{$name}": ["type:drupal-custom-theme"],
"drush/contrib/{$name}": ["type:drupal-drush"]
},
"drupal-libraries": {
"library-directory": "docroot/libraries",
"libraries": [
{"name": "objectfitpolyfill", "package": "bower-asset/objectfitpolyfill"},
{"name": "chartjs", "package": "bower-asset/chartjs"},
{"name": "c3","package": "bower-asset/c3"},
{"name": "d3", "package": "bower-asset/d3"},
{"name": "dropzone","package": "npm-asset/dropzone"},
{"name": "blazy", "package": "npm-asset/blazy"},
{"name": "slick", "package": "npm-asset/slick-carousel"},
{"name": "ace", "package": "npm-asset/ace-builds"},
{"name": "jquery-ui-touch-punch", "package": "bower-asset/jqueryui-touch-punch"},
{"name": "imagesloaded", "package": "npm-asset/imagesloaded"},
{"name": "swagger-ui", "package": "npm-asset/swagger-ui-dist"}
]
},
"enable-patching": true,
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
}
}
}