Closed monicapatel21 closed 9 months ago
Substeps todo for modules not listed as compatible:
Call to deprecated method stopPropagation() of class Symfony\Component\EventDispatcher\Event: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
error on config_suite.Hi @mariacha , flagging an issue that I noticed on live. On staff profile pages, it seems that only up to one office is showing on staff profiles when not logged in. When logged in, it looks as expected.
Example: old version: https://strategy-wriflagship.pantheonsite.io/profile/clarissa-lehne new version: https://www.wri.org/profile/clarissa-lehne
It looks like in that case the second office "United Kingdom" is unpublished on live. It redirects to Europe:
https://wri.org/europe/united-kingdom
I could change the display to use the "Label (with unpublished)" display setting. That works alright on develop with the link seeming to go to the right place (europe): https://develop-wriflagship.pantheonsite.io/profile/clarissa-lehne
but do we want to show that office if it's unpublished? Maybe it was unpublished on accident?
Hi @mariacha ah right, that makes sense, not a bug! We combined our Europe and United Kingdom pages into one, but I think we can still show both offices. What you have on develop would work for now, thanks!
Alright, great! Done: https://www.wri.org/profile/clarissa-lehne
Looks good, thanks!
Since we've got QA tickets for all the multidevs now, I'm going to close this issue in favor of those. But we can re-open if new flagship issues show up!
Support for Drupal 9 ends on November 1, 2023. Please review Flagship (and IO-only Modules) to estimate D10 upgrade. Assume Maria is dev, and leave Monica a multiplier guess just in case Jules, Katie, or someone else has to implement.
Timeline: As close to Nov 1 as possible. Gabe and Jaymz may also be updating devs.
Dev [8hrs]
This site's "Upgrade document"
https://docs.google.com/spreadsheets/d/1y3TWOjQ4Foa8YesOXpgSOVV9iZZizD38tAlCD3PIPj0/edit#gid=393797692
Maintenance page
-- place maintenance screenshot here --
Working Branch
d10-upgrade-prep
- note, the ckeditor switch happened in this, but it is NOT ready. We need ckeditor_templates to be patched to work with it, and probably ckeditor_accoridions too. See https://github.com/wri/wriflagship/commit/f4db77278fe1d135ea8602b697742aafa979e5aa, especially the large difference inconfig/filter.format.full_html.yml
Estimate for phase 2
48
Update Branch
d10-upgrade-prep
Part 1: Prep
At the end of this work, the site be in a state closer to be ready for a Drupal 10 update. Some of its modules may have been updated. There will be a spreadsheet (the "Upgrade document") with accurate information about how much time the upgrade should take.
Step 1 - organization things:
terminus drush YOURSITE.live -- pml --format=csv --no-core > YOURSITE-modules.csv
. You can then upload that list to the google drive "Upgrade document" you made in the last step, and alter the columns as needed. Note: Sometimes this command times out on the live site. You can try running it without the>
and just copy/paste the output into a csv file if this happens. Then upload the csv to the Upgrade Document with "Append to the current sheet"Step 2 - cleaning up the code:
robo install
to make sure everything's clean on your local.composer remove xx/xx
any modules in the "Upgrade document" where the status is "Removed from the site".sphp 8.1
)thinkshout/robo-drupal
requirement is atv4.0.0
or higher.composer require --dev "thinkshout/robo-drupal:^4.0.0"
composer require --dev drupal/upgrade_status && drush en upgrade_status
.Step 3 - finalizing the update list:
/admin/reports/upgrade-status
page, note any modules in the "UPDATE" and "COLLABORATE WITH MAINTAINERS". Indicate the module status in the "Upgrade document".Step 4 - Estimating
Note that if you know your custom code is complicated, you can up the amount of time as you see fit.
Part 2: Update
Dev [24-48hrs]
Deployment 2: Upgrade
Step 1 - Maintenance page approval
Step 2 - Code updates
/admin/reports/upgrade-status
, update each modules listed under "UPDATE" using something likecomposer update drupal/modulename --with-dependencies
./admin/reports/upgrade-status
, look at the modules remaining under "UPDATE" and "COLLABORATE WITH MAINTAINERS" and see which modules need a major version upgrade. Handle those with something likecomposer require drupal/modulename -W
./admin/reports/upgrade-status
, look at what's left under "UPDATE" and "COLLABORATE WITH MAINTAINERS" and check all issue pages for these on drupal.org to see if there's a D10 patch available. If any modules do not have a D10 update or patch, note them below under "List modules that do not have a D10 compatible version of patch available." These might be good to discuss with other devs to see how to best approach these.drush updb
anddrush cex
/admin/reports/upgrade-status
and drupal-check, do the Drupal 10 upgrade. Run this commandcomposer require drupal/core-recommended
. This should update you to the latest version of drupal core on the 10.x branch. Note: If you still run into conflicts, try removing everything in your dev dependencies before running the update command. Don't forget to add everything back once the upgrade is successful.Step 3 - Finalize testing instructions
Notes
Testing Instructions:
Deployment steps
[ ] Prepare the client -- this update will need to be done while the site is in maintenance mode. Work with the PM to schedule that.
[ ] Deploy to test and pause for re-checking -- the client should look over the highest-priority QA items again on the
test
multidev (not develop) using a recent copy of the live site's database, a day before the go-live deploy. You should also run any VR tests comparing test and live at this time.[ ] If using Solr, clear the index. Go to the server. There is a link at the bottom to "delete all indexed data". Click the link, as shown here:
[ ] Push to live.
[ ] upload the code,
[ ] run a
drush cr
,[ ] then run
drush updb
until there are no more pending updates. It might take a few tries to get them all.[ ] Then run a
drush cim
.[ ] if upgrading to solr, click index now in config:
[ ] You might need to take the site out of maintenance mode when all is done.
[ ] Make a new ticket containing all the Followup items noted below.
Followup items:
This Ticket is Done When:
When finished