Indeed, the fix by @eileen works for me. On one instance, where I installed CiviContribute due to the extension error message, the fix allows me to disable CiviContribute again (the extension error message already disappeared after installing CiviContribute). However, uninstalling CiviContribute fails with the following error message: "Cannot uninstall extensions which are tagged as components: civi_contribute"
This is just to report an anomaly I experienced on two separate CiviCRM instances.
After we updated our CiviCRM 5.68.0 running on Drupal 10.2.1 to version 5.69.1, I received the following extension error in the CiviCRM System Status:
"Financial ACLs" (
financialacls
) has a missing dependency on "CiviContribute" (civi_contribute
)
It also says "To resolve any errors, go to Manage Extensions.", but after following that link I don't know what to do next.
We had the following extensions installed:
After installing CiviContribute due to the extension error, I got the following full page error message:
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
DB Error: already exists
CiviContribute is now also listed as installed extension.
Is there something I could/should have done different?
The documentation currently recommends to disable the SQL mode ONLY_FULL_GROUP_BY
via the following command:
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
I have two issues with that:
SELECT @@sql_mode;
shows ONLY_FULL_GROUP_BY
.SET PERSIST sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
in order to persist restarts?Hello @JonGold, thank you very much for this helpful reply. The "Collation" column had the value utf8mb3_general_ci
, and running cv api System.utf8conversion patterns="%"
resolved the issue for me.
Emojis that are submitted to custom fields cause an issue upon webform submission.
Alongside every form submission with emojis, the log contains two related entries:
webform_submission
CRM_Core_Exception: DB Error: unknown error in civicrm_api3() (line 135 of /var/www/[SITE]/vendor/civicrm/civicrm-core/api/api.php).
php
Drupal\Core\Entity\EntityStorageException: DB Error: unknown error in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of /var/www/[SITE]/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Successful submission of text that contains emojis.
Moved from webform_civicrm
issue 3331605.
fkohrt (11388e2d) at 21 Jul 23:23
Highlight what is not recommended in contrast to what is recommended
fkohrt (11388e2d) at 21 Jul 13:10
Improve typographical emphasis
it is n't clear enough for someone else to fix it or reproduce it.
@jaapjansma Actually, it should be fairly easy to reproduce. It's just a standard CiviCRM installation (Apache 2.4.41, PHP 7.4, MariaDB 10.3.32, Composer 2.2.3), with the additional SAML Authentication plugin enabled. Before reporting this issue, I reproduced it by installing CiviCRM on a new virtual server according to the manual and then enabled and set up SAML Authentication using Keycloak as identity provider – although I agree that the last step might be cumbersome the first time.
I understand the open source nature of CiviCRM and am fine with any action taken, including closing this. After all, it's “just” a warning and I have not experienced any consequences.
Hi @jaapjansma, a certain Drupal module happens to check for cacheability metadata leaks that occur due to third party code. “By chance” these leaks have been detected by the SAML Authentication module but they could have been detected by any other module as well. At least that's how I understand it and therefore I don't think this automatically implies a security issue. (After all, I don't even know what “cacheability metadata” really means. But note that roderik writes “which in theory can lead to security issues”. Maybe ask roderik for more context.) I am not sure which versions of CiviCRM are affected. I reported the behaviour on September 12, 2021, therefore at minimum CiviCRM 5.41 is affected, but I might have ignored it before. Also, while I can confirm that it occurs with Drupal 9, again earlier versions might be affected as well.
Unfortunately I am not able to provide a fix as I don't understand the details of the issue. But if you have trouble replicating the issue I could help with that.
While installing CiviCRM 5.31 on Drupal 8, composer had a problem during composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.31'
.
./composer.json has been updated
Running composer update civicrm/civicrm-core civicrm/civicrm-packages civicrm/civicrm-drupal-8
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- civicrm/civicrm-core[5.31.0, ..., 5.32.x-dev] require symfony/finder ~3.0 || ~4.4 -> found symfony/finder[v3.0.0-BETA1, ..., 3.4.x-dev, v4.4.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.1.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.
- Root composer.json requires civicrm/civicrm-core ~5.31 -> satisfiable by civicrm/civicrm-core[5.31.0, 5.31.x-dev, 5.32.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
I had previously installed drush/drush:10.3.6
which requires symfony/finder:5.1.8
. However, civicrm/civicrm-core:~5.31
requires symfony/finder ~3.0 || ~4.4
. This leads to the problem above. I had to use composer require drush/drush:10.3.5
to proceed with the installation.
Maybe civicrm-core
should be updated to require symfony/finder:~5.1
as well?
Reopening this as the underlying issue still exists.
After installing CiviCRM 5.45 on a fresh Drupal 9.3.2 running on Ubuntu 20.04.3 LTS, the SAML Authentication module issues a warning after every successful authentication event:
While processing SAML authentication response, code leaked cacheability metadata. This indicates a bug somewhere (but it is hard to pinpoint where): if the same code is called in other scenarios too, it may cause fatal crashes, or bloat the render cache unnecessarily. Please investigate. Metadata: i:6;:O:37:"Drupal\Core\Render\BubbleableMetadata":4:{s:16:"*cacheContexts";a:0:{}s:12:"*cacheTags";a:0:{}s:14:"*cacheMaxAge";i:-1;s:14:"*attachments";a:0:{}}
One of the maintainers of the samlauth
module explains in a corresponding ticket:
the samlauth module isn't leaking metadata. It's detecting that some other code in your website, which was executed during the login process, is leaking metadata and should be fixed.
— roderik, “Code leaked cacheability metadata”, comment #4
Before installing CiviCRM, no warnings appeared in the log, therefore I'd say the appearance of the warnings somehow correspond to the fact that CiviCRM has been installed: CiviCRM code for Drupal might leak cacheability metadata.
After upgrading the DB from 5.42.1 to 5.43.0 (with cv upgrade:db
), this has happened again, this time with the following entries:
- Contributions - Receipt (on-line) - Missed templates from earlier versions
- Cases - Send Copy of an Activity - Missed templates from earlier versions
What I find confusing is the call to action that says "you will need to apply the updates manually after running this upgrade".
Similarly for updating from 5.43.2 to 5.44.0, the following entries appear:
- Pledges - Acknowledgement - Use domain tokens instead of smarty values
- Pledges - Payment Reminder - Use domain and contact tokens instead of smarty values
- Events - Registration Transferred Notice - Use domain and contact tokens instead of smarty values
- Events - Registration Cancellation Notice - Use domain and contact tokens instead of smarty values
- Events - Pending Registration Expiration Notice - Use domain and contact tokens instead of smarty values
- Events - Registration Confirmation Invite - Use domain and contact tokens instead of smarty values
I am trying to install CiviCRM 5.40 on a fresh Drupal 9 site.
But when running composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.40' --with-all-dependencies
several patches fail to apply:
./composer.json has been updated
Running composer update civicrm/civicrm-core civicrm/civicrm-packages civicrm/civicrm-drupal-8 --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 49 installs, 1 update, 0 removals
- Locking adrienrn/php-mimetyper (0.2.2)
- Locking brick/math (0.9.3)
- Locking brick/money (0.5.2)
- Locking cache/integration-tests (0.17.0)
- Locking cache/tag-interop (1.0.1)
- Locking civicrm/civicrm-core (5.40.2)
- Locking civicrm/civicrm-cxn-rpc (v0.20.12.01)
- Locking civicrm/civicrm-drupal-8 (5.40.2)
- Locking civicrm/civicrm-packages (5.40.2)
- Locking civicrm/composer-compile-lib (v0.5)
- Locking civicrm/composer-compile-plugin (v0.16)
- Locking civicrm/composer-downloads-plugin (v3.0.1)
- Locking cweagans/composer-patches (1.7.1)
- Locking dflydev/apache-mime-types (v1.0.1)
- Locking dompdf/dompdf (v1.0.2)
- Locking electrolinux/phpquery (0.9.6)
- Locking firebase/php-jwt (v5.4.0)
- Locking league/csv (9.7.1)
- Locking league/oauth2-client (2.6.0)
- Locking league/oauth2-google (3.0.4)
- Locking marcj/topsort (1.1.0)
- Locking padaliyajay/php-autoprefixer (1.3)
- Locking paragonie/random_compat (v9.99.100)
- Locking pear/auth_sasl (v1.1.0)
- Locking pear/db (v1.10.0)
- Locking pear/log (1.13.3)
- Locking pear/mail (v1.4.1)
- Locking pear/mail_mime (1.10.10)
- Locking pear/net_smtp (1.9.2)
- Locking pear/net_socket (1.0.14)
- Locking pear/validate_finance_creditcard (0.7.0)
- Locking phenx/php-font-lib (0.5.2)
- Locking phenx/php-svg-lib (v0.3.3)
- Locking phpoffice/phpword (0.18.2)
- Locking phpseclib/phpseclib (2.0.33)
- Locking psr/simple-cache (1.0.1)
- Locking sabberworm/php-css-parser (8.3.1)
- Locking scssphp/scssphp (v1.6.0)
- Locking symfony/config (v4.4.27)
- Downgrading symfony/finder (v5.3.4 => v4.4.27)
- Locking symfony/polyfill-php81 (v1.23.0)
- Locking tecnickcom/tcpdf (6.4.2)
- Locking togos/gitignore (1.1.1)
- Locking totten/ca-config (v17.05.0)
- Locking totten/lurkerlite (1.3.0)
- Locking tplaner/when (v3.0.0)
- Locking tubalmartin/cssmin (v4.1.1)
- Locking xkerman/restricted-unserialize (1.1.12)
- Locking zetacomponents/base (1.9.3)
- Locking zetacomponents/mail (1.9.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 49 installs, 1 update, 0 removals
- Downloading cweagans/composer-patches (1.7.1)
- Downloading togos/gitignore (1.1.1)
- Downloading civicrm/composer-downloads-plugin (v3.0.1)
- Downloading totten/lurkerlite (1.3.0)
- Downloading civicrm/composer-compile-plugin (v0.16)
- Downloading dflydev/apache-mime-types (v1.0.1)
- Downloading adrienrn/php-mimetyper (0.2.2)
- Downloading brick/math (0.9.3)
- Downloading brick/money (0.5.2)
- Downloading cache/tag-interop (1.0.1)
- Downloading cache/integration-tests (0.17.0)
- Downloading phpseclib/phpseclib (2.0.33)
- Downloading civicrm/civicrm-cxn-rpc (v0.20.12.01)
- Downloading zetacomponents/base (1.9.3)
- Downloading zetacomponents/mail (1.9.2)
- Downloading xkerman/restricted-unserialize (1.1.12)
- Downloading tplaner/when (v3.0.0)
- Downloading totten/ca-config (v17.05.0)
- Downloading tecnickcom/tcpdf (6.4.2)
- Downloading symfony/finder (v4.4.27)
- Downloading symfony/polyfill-php81 (v1.23.0)
- Downloading symfony/config (v4.4.27)
- Downloading psr/simple-cache (1.0.1)
- Downloading phpoffice/phpword (0.18.2)
- Downloading pear/validate_finance_creditcard (0.7.0)
- Downloading pear/net_socket (1.0.14)
- Downloading pear/net_smtp (1.9.2)
- Downloading pear/mail_mime (1.10.10)
- Downloading pear/mail (v1.4.1)
- Downloading pear/log (1.13.3)
- Downloading pear/db (v1.10.0)
- Downloading pear/auth_sasl (v1.1.0)
- Downloading marcj/topsort (1.1.0)
- Downloading paragonie/random_compat (v9.99.100)
- Downloading league/oauth2-client (2.6.0)
- Downloading league/oauth2-google (3.0.4)
- Downloading league/csv (9.7.1)
- Downloading firebase/php-jwt (v5.4.0)
- Downloading electrolinux/phpquery (0.9.6)
- Downloading sabberworm/php-css-parser (8.3.1)
- Downloading phenx/php-svg-lib (v0.3.3)
- Downloading phenx/php-font-lib (0.5.2)
- Downloading dompdf/dompdf (v1.0.2)
- Downloading tubalmartin/cssmin (v4.1.1)
- Downloading scssphp/scssphp (v1.6.0)
- Downloading padaliyajay/php-autoprefixer (1.3)
- Downloading civicrm/composer-compile-lib (v0.5)
- Downloading civicrm/civicrm-core (5.40.2)
- Downloading civicrm/civicrm-drupal-8 (5.40.2)
- Downloading civicrm/civicrm-packages (5.40.2)
- Installing cweagans/composer-patches (1.7.1): Extracting archive
No patches supplied.
Gathering patches for dependencies. This might take a minute.
- Installing togos/gitignore (1.1.1): Extracting archive
- Installing civicrm/composer-downloads-plugin (v3.0.1): Extracting archive
- Installing totten/lurkerlite (1.3.0): Extracting archive
- Installing civicrm/composer-compile-plugin (v0.16): Extracting archive
- Installing dflydev/apache-mime-types (v1.0.1): Extracting archive
- Installing adrienrn/php-mimetyper (0.2.2): Extracting archive
- Installing brick/math (0.9.3): Extracting archive
- Installing brick/money (0.5.2): Extracting archive
- Installing cache/tag-interop (1.0.1): Extracting archive
- Installing cache/integration-tests (0.17.0): Extracting archive
- Installing phpseclib/phpseclib (2.0.33): Extracting archive
- Installing civicrm/civicrm-cxn-rpc (v0.20.12.01): Extracting archive
- Installing zetacomponents/base (1.9.3): Extracting archive
- Installing zetacomponents/mail (1.9.2): Extracting archive
- Installing xkerman/restricted-unserialize (1.1.12): Extracting archive
- Installing tplaner/when (v3.0.0): Extracting archive
- Installing totten/ca-config (v17.05.0): Extracting archive
- Installing tecnickcom/tcpdf (6.4.2): Extracting archive
- Downgrading symfony/finder (v5.3.4 => v4.4.27): Extracting archive
- Installing symfony/polyfill-php81 (v1.23.0): Extracting archive
- Installing symfony/config (v4.4.27): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing phpoffice/phpword (0.18.2): Extracting archive
- Installing pear/validate_finance_creditcard (0.7.0): Extracting archive
- Installing pear/net_socket (1.0.14): Extracting archive
- Installing pear/net_smtp (1.9.2): Extracting archive
- Installing pear/mail_mime (1.10.10): Extracting archive
- Installing pear/mail (v1.4.1): Extracting archive
- Installing pear/log (1.13.3): Extracting archive
- Installing pear/db (v1.10.0): Extracting archive
- Installing pear/auth_sasl (v1.1.0): Extracting archive
- Installing marcj/topsort (1.1.0): Extracting archive
- Installing paragonie/random_compat (v9.99.100): Extracting archive
- Installing league/oauth2-client (2.6.0): Extracting archive
- Installing league/oauth2-google (3.0.4): Extracting archive
- Installing league/csv (9.7.1): Extracting archive
- Installing firebase/php-jwt (v5.4.0): Extracting archive
- Installing electrolinux/phpquery (0.9.6): Extracting archive
- Installing sabberworm/php-css-parser (8.3.1): Extracting archive
- Installing phenx/php-svg-lib (v0.3.3): Extracting archive
- Installing phenx/php-font-lib (0.5.2): Extracting archive
- Installing dompdf/dompdf (v1.0.2): Extracting archive
- Installing tubalmartin/cssmin (v4.1.1): Extracting archive
- Installing scssphp/scssphp (v1.6.0): Extracting archive
- Installing padaliyajay/php-autoprefixer (1.3): Extracting archive
- Installing civicrm/composer-compile-lib (v0.5): Extracting archive
- Installing civicrm/civicrm-core (5.40.2): Extracting archive
- Installing civicrm/civicrm-drupal-8 (5.40.2): Extracting archive
- Installing civicrm/civicrm-packages (5.40.2): Extracting archive
- Applying patches for adrienrn/php-mimetyper
https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch (Update gitignore to ensure that sites that manage via git don't miss out on the important db.json file)
Could not apply patch! Skipping. The error was: Cannot apply patch https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch
- Applying patches for zetacomponents/mail
https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch (CiviCRM Custom Patches for ZetaCompoents mail)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch
https://github.com/zetacomponents/Mail/pull/86.patch (Allow single quotes to be used in return path)
Could not apply patch! Skipping. The error was: Cannot apply patch https://github.com/zetacomponents/Mail/pull/86.patch
- Applying patches for pear/net_smtp
https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch (Add in CiviCRM custom error message for CRM-8744)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch
- Applying patches for pear/mail_mime
https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch (Apply patch for CRM-3133 wordwrap body to be 750 characters to apply with RFC 2821)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch
- Applying patches for pear/mail
https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch (Apply CiviCRM Customisations for CRM-1367 and CRM-5946)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch
- Applying patches for pear/db
https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch (Apply CiviCRM Customisations for the pear:db package)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch
- Applying patches for electrolinux/phpquery
https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch (PHP7.4 Fix for array access using {} instead of [])
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch
Download extra files for civicrm/civicrm-core
- Downloading civicrm/civicrm-core:angular (5.40.2)
- Installing civicrm/civicrm-core:angular (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-bootstrap (5.40.2)
- Installing civicrm/civicrm-core:angular-bootstrap (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-file-upload (5.40.2)
- Installing civicrm/civicrm-core:angular-file-upload (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-jquery-dialog-service (5.40.2)
- Installing civicrm/civicrm-core:angular-jquery-dialog-service (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-mocks (5.40.2)
- Installing civicrm/civicrm-core:angular-mocks (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-route (5.40.2)
- Installing civicrm/civicrm-core:angular-route (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-sanitize (5.40.2)
- Installing civicrm/civicrm-core:angular-sanitize (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-ui-sortable (5.40.2)
- Installing civicrm/civicrm-core:angular-ui-sortable (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-ui-utils (5.40.2)
- Installing civicrm/civicrm-core:angular-ui-utils (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-unsavedchanges (5.40.2)
- Installing civicrm/civicrm-core:angular-unsavedChanges (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-xeditable (5.40.2)
- Installing civicrm/civicrm-core:angular-xeditable (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:checklist-model (5.40.2)
- Installing civicrm/civicrm-core:checklist-model (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:ckeditor (5.40.2)
- Installing civicrm/civicrm-core:ckeditor (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:crossfilter-1.3.x (5.40.2)
- Installing civicrm/civicrm-core:crossfilter-1.3.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:crossfilter2 (5.40.2)
- Installing civicrm/civicrm-core:crossfilter2 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:css-color-names (5.40.2)
- Installing civicrm/civicrm-core:css-color-names (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:d3 (5.40.2)
- Installing civicrm/civicrm-core:d3 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:d3-3.5.x (5.40.2)
- Installing civicrm/civicrm-core:d3-3.5.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:datatables (5.40.2)
- Installing civicrm/civicrm-core:datatables (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:dc-2.1.x (5.40.2)
- Installing civicrm/civicrm-core:dc-2.1.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:es6-promise (5.40.2)
- Installing civicrm/civicrm-core:es6-promise (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:ext-greenwich-bootstrap3 (3.4.1)
- Installing civicrm/civicrm-core:ext-greenwich-bootstrap3 (3.4.1): Extracting archive
- Downloading civicrm/civicrm-core:font-awesome (5.40.2)
- Installing civicrm/civicrm-core:font-awesome (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:marked (5.40.2)
- Installing civicrm/civicrm-core:marked (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:monaco-editor (5.40.2)
- Installing civicrm/civicrm-core:monaco-editor (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:google-code-prettify (5.40.2)
- Installing civicrm/civicrm-core:google-code-prettify (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery (5.40.2)
- Installing civicrm/civicrm-core:jquery (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery-ui (5.40.2)
- Installing civicrm/civicrm-core:jquery-ui (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery-validation (5.40.2)
- Installing civicrm/civicrm-core:jquery-validation (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:json-formatter (0.7.0)
- Installing civicrm/civicrm-core:json-formatter (0.7.0): Extracting archive
- Downloading civicrm/civicrm-core:jstree (5.40.2)
- Installing civicrm/civicrm-core:jstree (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:lodash-compat (5.40.2)
- Installing civicrm/civicrm-core:lodash-compat (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:phantomjs-polyfill (5.40.2)
- Installing civicrm/civicrm-core:phantomjs-polyfill (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:select2 (5.40.2)
- Installing civicrm/civicrm-core:select2 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:js-yaml (5.40.2)
- Installing civicrm/civicrm-core:js-yaml (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:smartmenus (5.40.2)
- Installing civicrm/civicrm-core:smartmenus (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:sms-counter (5.40.2)
- Installing civicrm/civicrm-core:sms-counter (5.40.2): Extracting archive
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
- CiviCRM asset map
54 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
The following packages have new compilation tasks:
- civicrm/composer-compile-lib has 1 task
- civicrm/civicrm-core has 1 task
Allow these packages to compile? ([y]es, [a]lways, [n]o, [l]ist, [h]elp) a
Compiling additional files (For full details, use verbose "-v" mode.)
Compile: Generate CCL wrapper functions
Compile: Greenwich CSS (dist/bootstrap3.css)
Sync CiviCRM assets
Is there anything I can do about it? I have tried composer clear-cache
as suggested in issue core#2168, but to no avail.
@jaapjansma, @DaveD: I investigated this further and only had the issues described on a Debian GNU/Linux 11 system, but not on a Ubuntu 20.04.2 LTS system.
If that's not it, then maybe the
git apply
command is failing for some reason. You can try running the command manually just to see if there's an error.
This led me to the solution: The fresh Debian installation just had no git
installed.
Thanks for looking into this!
I am trying to install CiviCRM 5.40 on a fresh Drupal 9 site.
But when running composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.40' --with-all-dependencies
several patches fail to apply:
./composer.json has been updated
Running composer update civicrm/civicrm-core civicrm/civicrm-packages civicrm/civicrm-drupal-8 --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 49 installs, 1 update, 0 removals
- Locking adrienrn/php-mimetyper (0.2.2)
- Locking brick/math (0.9.3)
- Locking brick/money (0.5.2)
- Locking cache/integration-tests (0.17.0)
- Locking cache/tag-interop (1.0.1)
- Locking civicrm/civicrm-core (5.40.2)
- Locking civicrm/civicrm-cxn-rpc (v0.20.12.01)
- Locking civicrm/civicrm-drupal-8 (5.40.2)
- Locking civicrm/civicrm-packages (5.40.2)
- Locking civicrm/composer-compile-lib (v0.5)
- Locking civicrm/composer-compile-plugin (v0.16)
- Locking civicrm/composer-downloads-plugin (v3.0.1)
- Locking cweagans/composer-patches (1.7.1)
- Locking dflydev/apache-mime-types (v1.0.1)
- Locking dompdf/dompdf (v1.0.2)
- Locking electrolinux/phpquery (0.9.6)
- Locking firebase/php-jwt (v5.4.0)
- Locking league/csv (9.7.1)
- Locking league/oauth2-client (2.6.0)
- Locking league/oauth2-google (3.0.4)
- Locking marcj/topsort (1.1.0)
- Locking padaliyajay/php-autoprefixer (1.3)
- Locking paragonie/random_compat (v9.99.100)
- Locking pear/auth_sasl (v1.1.0)
- Locking pear/db (v1.10.0)
- Locking pear/log (1.13.3)
- Locking pear/mail (v1.4.1)
- Locking pear/mail_mime (1.10.10)
- Locking pear/net_smtp (1.9.2)
- Locking pear/net_socket (1.0.14)
- Locking pear/validate_finance_creditcard (0.7.0)
- Locking phenx/php-font-lib (0.5.2)
- Locking phenx/php-svg-lib (v0.3.3)
- Locking phpoffice/phpword (0.18.2)
- Locking phpseclib/phpseclib (2.0.33)
- Locking psr/simple-cache (1.0.1)
- Locking sabberworm/php-css-parser (8.3.1)
- Locking scssphp/scssphp (v1.6.0)
- Locking symfony/config (v4.4.27)
- Downgrading symfony/finder (v5.3.4 => v4.4.27)
- Locking symfony/polyfill-php81 (v1.23.0)
- Locking tecnickcom/tcpdf (6.4.2)
- Locking togos/gitignore (1.1.1)
- Locking totten/ca-config (v17.05.0)
- Locking totten/lurkerlite (1.3.0)
- Locking tplaner/when (v3.0.0)
- Locking tubalmartin/cssmin (v4.1.1)
- Locking xkerman/restricted-unserialize (1.1.12)
- Locking zetacomponents/base (1.9.3)
- Locking zetacomponents/mail (1.9.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 49 installs, 1 update, 0 removals
- Downloading cweagans/composer-patches (1.7.1)
- Downloading togos/gitignore (1.1.1)
- Downloading civicrm/composer-downloads-plugin (v3.0.1)
- Downloading totten/lurkerlite (1.3.0)
- Downloading civicrm/composer-compile-plugin (v0.16)
- Downloading dflydev/apache-mime-types (v1.0.1)
- Downloading adrienrn/php-mimetyper (0.2.2)
- Downloading brick/math (0.9.3)
- Downloading brick/money (0.5.2)
- Downloading cache/tag-interop (1.0.1)
- Downloading cache/integration-tests (0.17.0)
- Downloading phpseclib/phpseclib (2.0.33)
- Downloading civicrm/civicrm-cxn-rpc (v0.20.12.01)
- Downloading zetacomponents/base (1.9.3)
- Downloading zetacomponents/mail (1.9.2)
- Downloading xkerman/restricted-unserialize (1.1.12)
- Downloading tplaner/when (v3.0.0)
- Downloading totten/ca-config (v17.05.0)
- Downloading tecnickcom/tcpdf (6.4.2)
- Downloading symfony/finder (v4.4.27)
- Downloading symfony/polyfill-php81 (v1.23.0)
- Downloading symfony/config (v4.4.27)
- Downloading psr/simple-cache (1.0.1)
- Downloading phpoffice/phpword (0.18.2)
- Downloading pear/validate_finance_creditcard (0.7.0)
- Downloading pear/net_socket (1.0.14)
- Downloading pear/net_smtp (1.9.2)
- Downloading pear/mail_mime (1.10.10)
- Downloading pear/mail (v1.4.1)
- Downloading pear/log (1.13.3)
- Downloading pear/db (v1.10.0)
- Downloading pear/auth_sasl (v1.1.0)
- Downloading marcj/topsort (1.1.0)
- Downloading paragonie/random_compat (v9.99.100)
- Downloading league/oauth2-client (2.6.0)
- Downloading league/oauth2-google (3.0.4)
- Downloading league/csv (9.7.1)
- Downloading firebase/php-jwt (v5.4.0)
- Downloading electrolinux/phpquery (0.9.6)
- Downloading sabberworm/php-css-parser (8.3.1)
- Downloading phenx/php-svg-lib (v0.3.3)
- Downloading phenx/php-font-lib (0.5.2)
- Downloading dompdf/dompdf (v1.0.2)
- Downloading tubalmartin/cssmin (v4.1.1)
- Downloading scssphp/scssphp (v1.6.0)
- Downloading padaliyajay/php-autoprefixer (1.3)
- Downloading civicrm/composer-compile-lib (v0.5)
- Downloading civicrm/civicrm-core (5.40.2)
- Downloading civicrm/civicrm-drupal-8 (5.40.2)
- Downloading civicrm/civicrm-packages (5.40.2)
- Installing cweagans/composer-patches (1.7.1): Extracting archive
No patches supplied.
Gathering patches for dependencies. This might take a minute.
- Installing togos/gitignore (1.1.1): Extracting archive
- Installing civicrm/composer-downloads-plugin (v3.0.1): Extracting archive
- Installing totten/lurkerlite (1.3.0): Extracting archive
- Installing civicrm/composer-compile-plugin (v0.16): Extracting archive
- Installing dflydev/apache-mime-types (v1.0.1): Extracting archive
- Installing adrienrn/php-mimetyper (0.2.2): Extracting archive
- Installing brick/math (0.9.3): Extracting archive
- Installing brick/money (0.5.2): Extracting archive
- Installing cache/tag-interop (1.0.1): Extracting archive
- Installing cache/integration-tests (0.17.0): Extracting archive
- Installing phpseclib/phpseclib (2.0.33): Extracting archive
- Installing civicrm/civicrm-cxn-rpc (v0.20.12.01): Extracting archive
- Installing zetacomponents/base (1.9.3): Extracting archive
- Installing zetacomponents/mail (1.9.2): Extracting archive
- Installing xkerman/restricted-unserialize (1.1.12): Extracting archive
- Installing tplaner/when (v3.0.0): Extracting archive
- Installing totten/ca-config (v17.05.0): Extracting archive
- Installing tecnickcom/tcpdf (6.4.2): Extracting archive
- Downgrading symfony/finder (v5.3.4 => v4.4.27): Extracting archive
- Installing symfony/polyfill-php81 (v1.23.0): Extracting archive
- Installing symfony/config (v4.4.27): Extracting archive
- Installing psr/simple-cache (1.0.1): Extracting archive
- Installing phpoffice/phpword (0.18.2): Extracting archive
- Installing pear/validate_finance_creditcard (0.7.0): Extracting archive
- Installing pear/net_socket (1.0.14): Extracting archive
- Installing pear/net_smtp (1.9.2): Extracting archive
- Installing pear/mail_mime (1.10.10): Extracting archive
- Installing pear/mail (v1.4.1): Extracting archive
- Installing pear/log (1.13.3): Extracting archive
- Installing pear/db (v1.10.0): Extracting archive
- Installing pear/auth_sasl (v1.1.0): Extracting archive
- Installing marcj/topsort (1.1.0): Extracting archive
- Installing paragonie/random_compat (v9.99.100): Extracting archive
- Installing league/oauth2-client (2.6.0): Extracting archive
- Installing league/oauth2-google (3.0.4): Extracting archive
- Installing league/csv (9.7.1): Extracting archive
- Installing firebase/php-jwt (v5.4.0): Extracting archive
- Installing electrolinux/phpquery (0.9.6): Extracting archive
- Installing sabberworm/php-css-parser (8.3.1): Extracting archive
- Installing phenx/php-svg-lib (v0.3.3): Extracting archive
- Installing phenx/php-font-lib (0.5.2): Extracting archive
- Installing dompdf/dompdf (v1.0.2): Extracting archive
- Installing tubalmartin/cssmin (v4.1.1): Extracting archive
- Installing scssphp/scssphp (v1.6.0): Extracting archive
- Installing padaliyajay/php-autoprefixer (1.3): Extracting archive
- Installing civicrm/composer-compile-lib (v0.5): Extracting archive
- Installing civicrm/civicrm-core (5.40.2): Extracting archive
- Installing civicrm/civicrm-drupal-8 (5.40.2): Extracting archive
- Installing civicrm/civicrm-packages (5.40.2): Extracting archive
- Applying patches for adrienrn/php-mimetyper
https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch (Update gitignore to ensure that sites that manage via git don't miss out on the important db.json file)
Could not apply patch! Skipping. The error was: Cannot apply patch https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch
- Applying patches for zetacomponents/mail
https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch (CiviCRM Custom Patches for ZetaCompoents mail)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch
https://github.com/zetacomponents/Mail/pull/86.patch (Allow single quotes to be used in return path)
Could not apply patch! Skipping. The error was: Cannot apply patch https://github.com/zetacomponents/Mail/pull/86.patch
- Applying patches for pear/net_smtp
https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch (Add in CiviCRM custom error message for CRM-8744)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch
- Applying patches for pear/mail_mime
https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch (Apply patch for CRM-3133 wordwrap body to be 750 characters to apply with RFC 2821)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch
- Applying patches for pear/mail
https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch (Apply CiviCRM Customisations for CRM-1367 and CRM-5946)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch
- Applying patches for pear/db
https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch (Apply CiviCRM Customisations for the pear:db package)
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch
- Applying patches for electrolinux/phpquery
https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch (PHP7.4 Fix for array access using {} instead of [])
Could not apply patch! Skipping. The error was: Cannot apply patch https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch
Download extra files for civicrm/civicrm-core
- Downloading civicrm/civicrm-core:angular (5.40.2)
- Installing civicrm/civicrm-core:angular (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-bootstrap (5.40.2)
- Installing civicrm/civicrm-core:angular-bootstrap (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-file-upload (5.40.2)
- Installing civicrm/civicrm-core:angular-file-upload (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-jquery-dialog-service (5.40.2)
- Installing civicrm/civicrm-core:angular-jquery-dialog-service (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-mocks (5.40.2)
- Installing civicrm/civicrm-core:angular-mocks (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-route (5.40.2)
- Installing civicrm/civicrm-core:angular-route (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-sanitize (5.40.2)
- Installing civicrm/civicrm-core:angular-sanitize (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-ui-sortable (5.40.2)
- Installing civicrm/civicrm-core:angular-ui-sortable (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-ui-utils (5.40.2)
- Installing civicrm/civicrm-core:angular-ui-utils (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-unsavedchanges (5.40.2)
- Installing civicrm/civicrm-core:angular-unsavedChanges (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:angular-xeditable (5.40.2)
- Installing civicrm/civicrm-core:angular-xeditable (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:checklist-model (5.40.2)
- Installing civicrm/civicrm-core:checklist-model (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:ckeditor (5.40.2)
- Installing civicrm/civicrm-core:ckeditor (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:crossfilter-1.3.x (5.40.2)
- Installing civicrm/civicrm-core:crossfilter-1.3.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:crossfilter2 (5.40.2)
- Installing civicrm/civicrm-core:crossfilter2 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:css-color-names (5.40.2)
- Installing civicrm/civicrm-core:css-color-names (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:d3 (5.40.2)
- Installing civicrm/civicrm-core:d3 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:d3-3.5.x (5.40.2)
- Installing civicrm/civicrm-core:d3-3.5.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:datatables (5.40.2)
- Installing civicrm/civicrm-core:datatables (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:dc-2.1.x (5.40.2)
- Installing civicrm/civicrm-core:dc-2.1.x (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:es6-promise (5.40.2)
- Installing civicrm/civicrm-core:es6-promise (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:ext-greenwich-bootstrap3 (3.4.1)
- Installing civicrm/civicrm-core:ext-greenwich-bootstrap3 (3.4.1): Extracting archive
- Downloading civicrm/civicrm-core:font-awesome (5.40.2)
- Installing civicrm/civicrm-core:font-awesome (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:marked (5.40.2)
- Installing civicrm/civicrm-core:marked (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:monaco-editor (5.40.2)
- Installing civicrm/civicrm-core:monaco-editor (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:google-code-prettify (5.40.2)
- Installing civicrm/civicrm-core:google-code-prettify (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery (5.40.2)
- Installing civicrm/civicrm-core:jquery (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery-ui (5.40.2)
- Installing civicrm/civicrm-core:jquery-ui (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:jquery-validation (5.40.2)
- Installing civicrm/civicrm-core:jquery-validation (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:json-formatter (0.7.0)
- Installing civicrm/civicrm-core:json-formatter (0.7.0): Extracting archive
- Downloading civicrm/civicrm-core:jstree (5.40.2)
- Installing civicrm/civicrm-core:jstree (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:lodash-compat (5.40.2)
- Installing civicrm/civicrm-core:lodash-compat (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:phantomjs-polyfill (5.40.2)
- Installing civicrm/civicrm-core:phantomjs-polyfill (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:select2 (5.40.2)
- Installing civicrm/civicrm-core:select2 (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:js-yaml (5.40.2)
- Installing civicrm/civicrm-core:js-yaml (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:smartmenus (5.40.2)
- Installing civicrm/civicrm-core:smartmenus (5.40.2): Extracting archive
- Downloading civicrm/civicrm-core:sms-counter (5.40.2)
- Installing civicrm/civicrm-core:sms-counter (5.40.2): Extracting archive
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
- CiviCRM asset map
54 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
The following packages have new compilation tasks:
- civicrm/composer-compile-lib has 1 task
- civicrm/civicrm-core has 1 task
Allow these packages to compile? ([y]es, [a]lways, [n]o, [l]ist, [h]elp) a
Compiling additional files (For full details, use verbose "-v" mode.)
Compile: Generate CCL wrapper functions
Compile: Greenwich CSS (dist/bootstrap3.css)
Sync CiviCRM assets
Is there anything I can do about it? I have tried composer clear-cache
as suggested in issue core#2168, but to no avail.
While installing CiviCRM 5.31 on Drupal 8, composer had a problem during composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.31'
.
./composer.json has been updated
Running composer update civicrm/civicrm-core civicrm/civicrm-packages civicrm/civicrm-drupal-8
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- civicrm/civicrm-core[5.31.0, ..., 5.32.x-dev] require symfony/finder ~3.0 || ~4.4 -> found symfony/finder[v3.0.0-BETA1, ..., 3.4.x-dev, v4.4.0-BETA1, ..., 4.4.x-dev] but the package is fixed to v5.1.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.
- Root composer.json requires civicrm/civicrm-core ~5.31 -> satisfiable by civicrm/civicrm-core[5.31.0, 5.31.x-dev, 5.32.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
I had previously installed drush/drush:10.3.6
which requires symfony/finder:5.1.8
. However, civicrm/civicrm-core:~5.31
requires symfony/finder ~3.0 || ~4.4
. This leads to the problem above. I had to use composer require drush/drush:10.3.5
to proceed with the installation.
Maybe civicrm-core
should be updated to require symfony/finder:~5.1
as well?
Adding --with-all-dependencies
should resolve this by also allowing downgrades:
composer require civicrm/civicrm-{core,packages,drupal-8}:'~5.31' --with-all-dependencies