Closed katieescoto closed 4 months ago
Here is the link for testing: https://d10-ups4-v-ghgprotocol-d9.pantheonsite.io/
Wil's talking to this team later today
@katieescoto Sarah flagged one issue so far:
"One issue that has come up is that when I go to add a "basic text" custom block and try to embed a YouTube video, the webpage gets stuck on this page when I try to view in Full HTML – I need to refresh the browser to get out of that page and then the block isn't added."
@wthomaswri @nsandswri I recorded this loom video for the GHG team. Please let me know what they say, thank you! https://www.loom.com/share/94a9d3f4dbc74d15a124de04407d3f5c
Hi @katieescoto sorry for the delay. So have more context on this - it seems the wysiswyg doesn't allow you to switch from Basic Text to Full HTML.
Steps to reproduce:
They've been doing manual video embeds with iframes instead of the Drupal media because it allows them to control the dimensions a little better. Aside from that though, the text format glitch is a big one since it prevents from doing custom code. I'm not sure if it affects any other aspects of content editing throughout the site though.
@wthomaswri This should be working now! If you add a Basic Text block, you should be able to switch between text editors
Thanks @katieescoto Looks good. I think we can get this scheduled for deploy at the earliest.
@monicapatel21 we can close this, deployed :)
Dev [8hrs]
This site's "Upgrade document"
Upgrade Document
Maintenance page
-- place maintenance screenshot here --
Working Branch
d10-ups3
Estimate for phase 2
-- place the estimate for upgrading the site here --
Update Branch
-- add update branch here --
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 ghgprotocol-d9.live -- pml --format=csv --no-core > ghgprotocol-d9-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:
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 [Xhrs]
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: