[{"data":1,"prerenderedAt":751},["ShallowReactive",2],{"\u002Fblog\u002Fdrupal-10-end-of-life-upgrade-to-drupal-11":3},{"id":4,"title":5,"body":6,"date":739,"description":740,"extension":741,"meta":742,"navigation":473,"path":743,"seo":744,"stem":745,"tags":746,"updated":749,"__hash__":750},"blog\u002Fblog\u002Fdrupal-10-end-of-life-upgrade-to-drupal-11.md","Drupal 10 end of life: a practical checklist for upgrading to Drupal 11",{"type":7,"value":8,"toc":724},"minimark",[9,18,21,26,33,55,58,62,143,146,150,153,182,186,189,237,240,244,255,285,292,323,334,338,345,389,393,396,443,446,495,499,513,516,527,531,566,569,573,612,615,648,651,655,662,669,673,676,679,700,704,707,720],[10,11,12,13,17],"p",{},"Drupal 10 reaches end of life on ",[14,15,16],"strong",{},"9 December 2026",". From that day on, no more Drupal 10 releases will be published, including security fixes. Drupal 12.0.0 and Drupal 11.5.0 are due the same week.",[10,19,20],{},"If your site is still on Drupal 10, this guide takes you through the upgrade to Drupal 11, the way I do it on client sites. It's written for developers and technical site owners. If you're a business owner and that's not you, skip to the end for what this means for you.",[22,23,25],"h2",{"id":24},"first-drupal-11-or-straight-to-drupal-12","First: Drupal 11 or straight to Drupal 12?",[10,27,28,29,32],{},"Go to ",[14,30,31],{},"Drupal 11"," now. There are three reasons:",[34,35,36,43,49],"ul",{},[37,38,39,42],"li",{},[14,40,41],{},"Drupal 12 needs PHP 8.5."," Plenty of hosts and contributed modules won't be there on day one.",[37,44,45,48],{},[14,46,47],{},"Contributed modules always trail a new major release."," It usually takes a few months before most of the modules your site uses are ready for Drupal 12.",[37,50,51,54],{},[14,52,53],{},"Drupal 11 stays supported until Drupal 13 is released."," That gives you a comfortable runway to plan the move to 12, instead of rushing it in December.",[10,56,57],{},"A Drupal 10 → 11 upgrade is also a lot smaller than people expect. If your site has been kept up to date, it's usually days of work, not weeks.",[22,59,61],{"id":60},"what-you-need-before-you-start","What you need before you start",[63,64,65,78],"table",{},[66,67,68],"thead",{},[69,70,71,75],"tr",{},[72,73,74],"th",{},"Requirement",[72,76,77],{},"Drupal 11 minimum",[79,80,81,90,98,106,119,127,135],"tbody",{},[69,82,83,87],{},[84,85,86],"td",{},"Drupal 10 version to upgrade from",[84,88,89],{},"10.3.0 or later (I'd update to the latest 10.6.x first)",[69,91,92,95],{},[84,93,94],{},"PHP",[84,96,97],{},"8.3 (8.4 recommended from Drupal 11.3)",[69,99,100,103],{},[84,101,102],{},"MySQL \u002F MariaDB",[84,104,105],{},"MySQL 8.0 \u002F MariaDB 10.6",[69,107,108,111],{},[84,109,110],{},"PostgreSQL",[84,112,113,114,118],{},"16, with the ",[115,116,117],"code",{},"pg_trgm"," extension",[69,120,121,124],{},[84,122,123],{},"SQLite",[84,125,126],{},"3.45",[69,128,129,132],{},[84,130,131],{},"Composer",[84,133,134],{},"2.7.0",[69,136,137,140],{},[84,138,139],{},"Drush",[84,141,142],{},"Installed through Composer as part of the project",[10,144,145],{},"Check your hosting first. An old MariaDB version is the blocker I see most often on shared hosting, and you can't fix it from inside the codebase.",[22,147,149],{"id":148},"step-1-take-a-full-backup-and-work-on-a-copy","Step 1: Take a full backup and work on a copy",[10,151,152],{},"Never run an upgrade on production first. Take a database dump and a copy of the files directory, then do everything below on a local copy (DDEV is ideal) or a staging site.",[154,155,160],"pre",{"className":156,"code":157,"language":158,"meta":159,"style":159},"language-bash shiki shiki-themes github-dark","drush sql:dump --gzip --result-file=..\u002Fbackups\u002Fpre-d11.sql\n","bash","",[115,161,162],{"__ignoreMap":159},[163,164,167,171,175,179],"span",{"class":165,"line":166},"line",1,[163,168,170],{"class":169},"svObZ","drush",[163,172,174],{"class":173},"sU2Wk"," sql:dump",[163,176,178],{"class":177},"sDLfK"," --gzip",[163,180,181],{"class":177}," --result-file=..\u002Fbackups\u002Fpre-d11.sql\n",[22,183,185],{"id":184},"step-2-get-drupal-10-fully-up-to-date","Step 2: Get Drupal 10 fully up to date",[10,187,188],{},"Update core to the latest 10.6.x release, and update every contributed module to its latest version. Many modules release their Drupal 11-compatible version as a normal minor update, so this step alone often clears most of the problems.",[154,190,192],{"className":156,"code":191,"language":158,"meta":159,"style":159},"composer update \"drupal\u002Fcore-*\" --with-all-dependencies\ncomposer update\ndrush updatedb -y\ndrush config:export -y\n",[115,193,194,208,216,227],{"__ignoreMap":159},[163,195,196,199,202,205],{"class":165,"line":166},[163,197,198],{"class":169},"composer",[163,200,201],{"class":173}," update",[163,203,204],{"class":173}," \"drupal\u002Fcore-*\"",[163,206,207],{"class":177}," --with-all-dependencies\n",[163,209,211,213],{"class":165,"line":210},2,[163,212,198],{"class":169},[163,214,215],{"class":173}," update\n",[163,217,219,221,224],{"class":165,"line":218},3,[163,220,170],{"class":169},[163,222,223],{"class":173}," updatedb",[163,225,226],{"class":177}," -y\n",[163,228,230,232,235],{"class":165,"line":229},4,[163,231,170],{"class":169},[163,233,234],{"class":173}," config:export",[163,236,226],{"class":177},[10,238,239],{},"Commit at this point. It gives you a clean \"last known good\" state on Drupal 10.",[22,241,243],{"id":242},"step-3-run-upgrade-status","Step 3: Run Upgrade Status",[10,245,246,247,254],{},"The ",[248,249,253],"a",{"href":250,"rel":251},"https:\u002F\u002Fwww.drupal.org\u002Fproject\u002Fupgrade_status",[252],"nofollow","Upgrade Status"," module scans your site and lists everything that isn't Drupal 11 ready: contributed modules, custom code and themes.",[154,256,258],{"className":156,"code":257,"language":158,"meta":159,"style":159},"composer require drupal\u002Fupgrade_status --dev\ndrush en upgrade_status -y\n",[115,259,260,273],{"__ignoreMap":159},[163,261,262,264,267,270],{"class":165,"line":166},[163,263,198],{"class":169},[163,265,266],{"class":173}," require",[163,268,269],{"class":173}," drupal\u002Fupgrade_status",[163,271,272],{"class":177}," --dev\n",[163,274,275,277,280,283],{"class":165,"line":210},[163,276,170],{"class":169},[163,278,279],{"class":173}," en",[163,281,282],{"class":173}," upgrade_status",[163,284,226],{"class":177},[10,286,287,288,291],{},"Open ",[14,289,290],{},"Reports → Upgrade status"," and work through the list. You'll typically find three kinds of problem:",[293,294,295,305,311],"ol",{},[37,296,297,300,301,304],{},[14,298,299],{},"Contributed modules with a newer major version."," Update the version constraint in Composer, for example ",[115,302,303],{},"composer require 'drupal\u002Fwebform:^6.2' --no-update",".",[37,306,307,310],{},[14,308,309],{},"Modules that were removed from core in Drupal 11."," Actions UI, Activity Tracker, Book, Forum, Statistics and Tour now live on drupal.org as contributed modules. If you use one, require its contrib version before upgrading. If you don't, uninstall it.",[37,312,313,316,317,322],{},[14,314,315],{},"Deprecated code in your custom modules and themes."," ",[248,318,321],{"href":319,"rel":320},"https:\u002F\u002Fwww.drupal.org\u002Fproject\u002Frector",[252],"Drupal Rector"," fixes most of these automatically. Fix the rest by hand.",[10,324,325,326,329,330,333],{},"Don't forget each custom module's ",[115,327,328],{},".info.yml",". It needs ",[115,331,332],{},"core_version_requirement: ^10 || ^11",", or Drupal 11 will refuse to enable it.",[22,335,337],{"id":336},"step-4-make-settings-files-writable","Step 4: Make settings files writable",[10,339,340,341,344],{},"Composer's scaffold plugin may need to update files in ",[115,342,343],{},"sites\u002Fdefault",":",[154,346,348],{"className":156,"code":347,"language":158,"meta":159,"style":159},"chmod u+w web\u002Fsites\u002Fdefault\nchmod u+w web\u002Fsites\u002Fdefault\u002F*settings.php\nchmod u+w web\u002Fsites\u002Fdefault\u002F*services.yml\n",[115,349,350,361,376],{"__ignoreMap":159},[163,351,352,355,358],{"class":165,"line":166},[163,353,354],{"class":169},"chmod",[163,356,357],{"class":173}," u+w",[163,359,360],{"class":173}," web\u002Fsites\u002Fdefault\n",[163,362,363,365,367,370,373],{"class":165,"line":210},[163,364,354],{"class":169},[163,366,357],{"class":173},[163,368,369],{"class":173}," web\u002Fsites\u002Fdefault\u002F",[163,371,372],{"class":177},"*",[163,374,375],{"class":173},"settings.php\n",[163,377,378,380,382,384,386],{"class":165,"line":218},[163,379,354],{"class":169},[163,381,357],{"class":173},[163,383,369],{"class":173},[163,385,372],{"class":177},[163,387,388],{"class":173},"services.yml\n",[22,390,392],{"id":391},"step-5-update-the-composer-requirements","Step 5: Update the Composer requirements",[10,394,395],{},"These are the commands from the official upgrade guide:",[154,397,399],{"className":156,"code":398,"language":158,"meta":159,"style":159},"composer require 'drupal\u002Fcore-recommended:^11' 'drupal\u002Fcore-composer-scaffold:^11' 'drupal\u002Fcore-project-message:^11' --no-update\ncomposer config allow-plugins.symfony\u002Fruntime true\ncomposer require drush\u002Fdrush --no-update\n",[115,400,401,419,432],{"__ignoreMap":159},[163,402,403,405,407,410,413,416],{"class":165,"line":166},[163,404,198],{"class":169},[163,406,266],{"class":173},[163,408,409],{"class":173}," 'drupal\u002Fcore-recommended:^11'",[163,411,412],{"class":173}," 'drupal\u002Fcore-composer-scaffold:^11'",[163,414,415],{"class":173}," 'drupal\u002Fcore-project-message:^11'",[163,417,418],{"class":177}," --no-update\n",[163,420,421,423,426,429],{"class":165,"line":210},[163,422,198],{"class":169},[163,424,425],{"class":173}," config",[163,427,428],{"class":173}," allow-plugins.symfony\u002Fruntime",[163,430,431],{"class":177}," true\n",[163,433,434,436,438,441],{"class":165,"line":218},[163,435,198],{"class":169},[163,437,266],{"class":173},[163,439,440],{"class":173}," drush\u002Fdrush",[163,442,418],{"class":177},[10,444,445],{},"Two more commands apply only to some projects:",[154,447,449],{"className":156,"code":448,"language":158,"meta":159,"style":159},"# Only if drupal\u002Fcore is listed directly in composer.json\ncomposer remove drupal\u002Fcore --no-update\n\n# Only if you use core-dev for tests\ncomposer require 'drupal\u002Fcore-dev:^11' --dev --no-update\n",[115,450,451,457,469,475,480],{"__ignoreMap":159},[163,452,453],{"class":165,"line":166},[163,454,456],{"class":455},"sAwPA","# Only if drupal\u002Fcore is listed directly in composer.json\n",[163,458,459,461,464,467],{"class":165,"line":210},[163,460,198],{"class":169},[163,462,463],{"class":173}," remove",[163,465,466],{"class":173}," drupal\u002Fcore",[163,468,418],{"class":177},[163,470,471],{"class":165,"line":218},[163,472,474],{"emptyLinePlaceholder":473},true,"\n",[163,476,477],{"class":165,"line":229},[163,478,479],{"class":455},"# Only if you use core-dev for tests\n",[163,481,483,485,487,490,493],{"class":165,"line":482},5,[163,484,198],{"class":169},[163,486,266],{"class":173},[163,488,489],{"class":173}," 'drupal\u002Fcore-dev:^11'",[163,491,492],{"class":177}," --dev",[163,494,418],{"class":177},[22,496,498],{"id":497},"step-6-do-a-dry-run-then-the-real-update","Step 6: Do a dry run, then the real update",[154,500,502],{"className":156,"code":501,"language":158,"meta":159,"style":159},"composer update --dry-run\n",[115,503,504],{"__ignoreMap":159},[163,505,506,508,510],{"class":165,"line":166},[163,507,198],{"class":169},[163,509,201],{"class":173},[163,511,512],{"class":177}," --dry-run\n",[10,514,515],{},"If Composer can't resolve the dependencies, it tells you which package is blocking. That's almost always a contributed module still pinned to a Drupal 10-only version. Fix it, run the dry run again, and once it's clean:",[154,517,519],{"className":156,"code":518,"language":158,"meta":159,"style":159},"composer update\n",[115,520,521],{"__ignoreMap":159},[163,522,523,525],{"class":165,"line":166},[163,524,198],{"class":169},[163,526,215],{"class":173},[22,528,530],{"id":529},"step-7-update-the-database","Step 7: Update the database",[154,532,534],{"className":156,"code":533,"language":158,"meta":159,"style":159},"drush updatedb:status\ndrush updatedb -y\ndrush cache:rebuild\ndrush config:export -y\n",[115,535,536,543,551,558],{"__ignoreMap":159},[163,537,538,540],{"class":165,"line":166},[163,539,170],{"class":169},[163,541,542],{"class":173}," updatedb:status\n",[163,544,545,547,549],{"class":165,"line":210},[163,546,170],{"class":169},[163,548,223],{"class":173},[163,550,226],{"class":177},[163,552,553,555],{"class":165,"line":218},[163,554,170],{"class":169},[163,556,557],{"class":173}," cache:rebuild\n",[163,559,560,562,564],{"class":165,"line":229},[163,561,170],{"class":169},[163,563,234],{"class":173},[163,565,226],{"class":177},[10,567,568],{},"Review the config export diff carefully before you commit. Some core updates change config, and you want those changes in Git, not just in the database.",[22,570,572],{"id":571},"step-8-restore-permissions-and-test-properly","Step 8: Restore permissions and test properly",[154,574,576],{"className":156,"code":575,"language":158,"meta":159,"style":159},"chmod 755 web\u002Fsites\u002Fdefault\nchmod 644 web\u002Fsites\u002Fdefault\u002F*settings.php\nchmod 644 web\u002Fsites\u002Fdefault\u002F*services.yml\n",[115,577,578,587,600],{"__ignoreMap":159},[163,579,580,582,585],{"class":165,"line":166},[163,581,354],{"class":169},[163,583,584],{"class":177}," 755",[163,586,360],{"class":173},[163,588,589,591,594,596,598],{"class":165,"line":210},[163,590,354],{"class":169},[163,592,593],{"class":177}," 644",[163,595,369],{"class":173},[163,597,372],{"class":177},[163,599,375],{"class":173},[163,601,602,604,606,608,610],{"class":165,"line":218},[163,603,354],{"class":169},[163,605,593],{"class":177},[163,607,369],{"class":173},[163,609,372],{"class":177},[163,611,388],{"class":173},[10,613,614],{},"Then actually click through the site. Upgrades rarely break the homepage. They break the edge cases:",[34,616,617,623,629,635],{},[37,618,619,622],{},[14,620,621],{},"Forms:"," contact forms, webforms, checkout. Submit them for real.",[37,624,625,628],{},[14,626,627],{},"Editing:"," log in as an editor, not an admin. Create and edit content, upload an image and use the media library.",[37,630,631,634],{},[14,632,633],{},"Views with exposed filters",", and anything with custom templates.",[37,636,637,640,641,644,645,304],{},[14,638,639],{},"Cron:"," run ",[115,642,643],{},"drush cron"," and check the logs at ",[115,646,647],{},"\u002Fadmin\u002Freports\u002Fdblog",[10,649,650],{},"If you have automated end-to-end tests, this is where they pay for themselves.",[22,652,654],{"id":653},"step-9-deploy","Step 9: Deploy",[10,656,657,658,661],{},"Deploy as you would any release: code first, then ",[115,659,660],{},"drush deploy"," (database updates, config import and cache rebuild in one command). Do it at a quiet time, and keep the Step 1 backup until the new version has run cleanly for a few days.",[10,663,664,665,304],{},"If you host on Cloudways, I've written a separate guide to ",[248,666,668],{"href":667},"\u002Fblog\u002Fdeploy-drupal-to-cloudways-with-github-actions","automating Drupal deployments to Cloudways with GitHub Actions",[22,670,672],{"id":671},"what-if-you-cant-upgrade-before-9-december","What if you can't upgrade before 9 December?",[10,674,675],{},"Your site won't stop working on 10 December. But every security issue found after that date stays unfixed on Drupal 10, and Drupal security advisories are public. Waiting a few weeks for a careful upgrade is fine. Leaving the site on Drupal 10 for months isn't.",[10,677,678],{},"If you can't upgrade straight away:",[34,680,681,688,694],{},[37,682,683,684,687],{},"Update to the ",[14,685,686],{},"final Drupal 10.6 release"," before end of life, so you at least have every fix that was published.",[37,689,690,693],{},[14,691,692],{},"Remove modules you don't use."," Each one is a possible security hole.",[37,695,696,699],{},[14,697,698],{},"Book the upgrade"," for the next few weeks rather than \"sometime next year\".",[22,701,703],{"id":702},"for-business-owners-what-does-this-mean-for-you","For business owners: what does this mean for you?",[10,705,706],{},"If your website runs on Drupal 10, it needs an upgrade soon to keep receiving security updates. Most well-maintained sites move to Drupal 11 without any visible change for your visitors or your editors. It's maintenance, not a redesign, and it's usually much cheaper than a rebuild.",[10,708,709,710,714,715,719],{},"Not sure which version your site runs, or how big the job is? ",[248,711,713],{"href":712},"\u002Fcontact","Get in touch",". I'll check your site and give you a fixed quote for the upgrade. I also do Drupal upgrades for ",[248,716,718],{"href":717},"\u002Fagencies","digital agencies"," under their own brand.",[721,722,723],"style",{},"html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}",{"title":159,"searchDepth":210,"depth":210,"links":725},[726,727,728,729,730,731,732,733,734,735,736,737,738],{"id":24,"depth":210,"text":25},{"id":60,"depth":210,"text":61},{"id":148,"depth":210,"text":149},{"id":184,"depth":210,"text":185},{"id":242,"depth":210,"text":243},{"id":336,"depth":210,"text":337},{"id":391,"depth":210,"text":392},{"id":497,"depth":210,"text":498},{"id":529,"depth":210,"text":530},{"id":571,"depth":210,"text":572},{"id":653,"depth":210,"text":654},{"id":671,"depth":210,"text":672},{"id":702,"depth":210,"text":703},"2026-11-30","Drupal 10 stops getting security fixes on 9 December 2026, the same week Drupal 12 arrives. Here is how to get to Drupal 11 safely, step by step, with the exact commands.","md",{},"\u002Fblog\u002Fdrupal-10-end-of-life-upgrade-to-drupal-11",{"title":5,"description":740},"blog\u002Fdrupal-10-end-of-life-upgrade-to-drupal-11",[747,748],"Drupal","Upgrades",null,"_3iQl90ENTd7KdrEBJNCw3YGkbWzYxbNKePOMGOu4zA",1796058883515]