Answers.Body: <p>CiviCRM is currently compatible with <a href="https://docs.civicrm.org/installation/en/latest/drupal/#:%7E:text=Install%20CiviCRM%20on%20Drupal%20%2D%20CiviCRM%20Installation%20Guide%20%2D%20CiviCRM%20Documentation&amp;text=CiviCRM%20follows%20the%20Drupal%20community%27s,and%20Drupal%2010%20are%20supported" rel="nofollow noreferrer">Drupal 7, 9 and 10</a>.</p>
  <p>The upgrade of Drupal should not cause any problems to CiviCRM. Neither is CiviCRM causing any problems during the Drupal update.</p>
  <p>I was stuck and confused at two points:</p>
  <ul>
  <li>There may be incompatible modules (but CiviCRM is not one of them). Make sure to go through the <a href="https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10" rel="nofollow noreferrer">Drupal Upgrade checklist</a> carefully and use the Drupal &quot;Upgrade Status&quot; module to check site compatibility (I was sloppy there and ran into version conflicts)</li>
  <li>CiviCRM's drupal module (for composer) is called <code>civicrm/civicrm-drupal-8</code> and this remains to correct and valid &quot;require&quot; package - even though we are on Drupal 10 now. No need to change anything here related to CiviCRM when doing the Drupal Upgrade.</li>
  </ul>
  <p>After cleaning up some other Drupal modules I was able to upgrade to Drupal 10 without issues and CiviCRM continues to run smoothly.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-09-13T19:05:06.623Z
Answers.LastActivityDate: 2024-09-13T19:05:06.623Z
Answers.UserDisplayName: sleidig
Body: <p>I am using the latest CiviCRM on a Drupal 9 site, currently. As that Drupal version is no longer supported, we need to update the underlying CMS to Drupal 10. Are there special update instructions for a Drupal site with regards to CiviCRM?</p>
  <p>I did find some documentation about CiviCRM compatility with Drupal 10 (seems mostly ready:  <a href="https://lab.civicrm.org/dev/drupal/-/issues/176" rel="nofollow noreferrer">https://lab.civicrm.org/dev/drupal/-/issues/176</a> ). Drupal documents the numerous steps required (<a href="https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10" rel="nofollow noreferrer">https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10</a>) but especially with the additional civicrm requirements, in my first attempt composer was struggling to resolve the various version requirements.</p>
  <p>Are there any important aspects to keep in mind? Or tips to get this done smoothly?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-01-21T15:14:19.250Z
Comments.Text: It's better if you post the specific problem. E.g. what is the error composer gives?
Comments.UserDisplayName: Demerit
Tags: <drupal>
Title: Upgrading to Drupal 10
ThreadText: # Upgrading to Drupal 10
  
  (Asked by: username_0 on 2024-01-21)
  
  I am using the latest CiviCRM on a Drupal 9 site, currently. As that Drupal version is no longer supported, we need to update the underlying CMS to Drupal 10. Are there special update instructions for a Drupal site with regards to CiviCRM?
  
  I did find some documentation about CiviCRM compatility with Drupal 10 (seems mostly ready: <https://lab.civicrm.org/dev/drupal/-/issues/176> ). Drupal documents the numerous steps required (<https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10>) but especially with the additional civicrm requirements, in my first attempt composer was struggling to resolve the various version requirements.
  
  Are there any important aspects to keep in mind? Or tips to get this done smoothly?
  
  **Tags:** drupal
  
  > **Comments:**
  > **username_1**: It's better if you post the specific problem. E.g. what is the error composer gives?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-09-13. Score: 1
  
  CiviCRM is currently compatible with [Drupal 7, 9 and 10](https://docs.civicrm.org/installation/en/latest/drupal/#:%7E:text=Install%20CiviCRM%20on%20Drupal%20%2D%20CiviCRM%20Installation%20Guide%20%2D%20CiviCRM%20Documentation&text=CiviCRM%20follows%20the%20Drupal%20community%27s,and%20Drupal%2010%20are%20supported).
  
  The upgrade of Drupal should not cause any problems to CiviCRM. Neither is CiviCRM causing any problems during the Drupal update.
  
  I was stuck and confused at two points:
  
  * There may be incompatible modules (but CiviCRM is not one of them). Make sure to go through the [Drupal Upgrade checklist](https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10) carefully and use the Drupal "Upgrade Status" module to check site compatibility (I was sloppy there and ran into version conflicts)
  * CiviCRM's drupal module (for composer) is called `civicrm/civicrm-drupal-8` and this remains to correct and valid "require" package - even though we are on Drupal 10 now. No need to change anything here related to CiviCRM when doing the Drupal Upgrade.
  
  After cleaning up some other Drupal modules I was able to upgrade to Drupal 10 without issues and CiviCRM continues to run smoothly.
  
  
  ---
  
  