InteractiveMechanics / historyofvaccines-drupal8

0 stars 0 forks source link

[4] Roadmap to Drupal 8 upgrades / module upgrades #375

Closed mtedeschi closed 6 years ago

mtedeschi commented 6 years ago

We're a bit behind on Drupal 8 upgrades. The primary issue right now is that upgrades from 8.2.X up to higher versions get a bit dangerous when you're moving between minor versions (e.g. 8.2.X to 8.3.X). This has gotten better over time, but we've even run into this with sites like Eastern State where it can cause problems unexpectedly. So, here is a roadmap to upgrading the site to the latest release:

Update 1

Update 2

Update 3

Update 4

Module Updates

I'd suggest we do these over time, and stagger them (going up one minor version at a time). I'd estimate each phase of the upgrade (including pulling backups) would take about 2-3 hours each. We should also perform each upgrade on staging first to confirm that it works as planned before installing on production. Estimated time breakdown per update group is:

We could do one upgrade per sprint over the next ~3 sprints to get this done, if Karie approves the time. Edit: we had to add another Update period, so additional ~3 hours or so.

amberreeves commented 6 years ago

sent to karie for review

amberreeves commented 6 years ago

From Karie: Thanks, yes, I approve ~9 hours and you’ll let me know if it takes more time.

amberreeves commented 6 years ago

From Karie: My tech manager alerted me to the Drupal core vulnerability that’s being exploited. I assume the updates you’re doing will take care of this problem – if so will it be resolved when you get to 8.4.8?

mtedeschi commented 6 years ago

They'll get resolved as we go with each update, but when we get to 8.5.3 we'll be 100% up-to-date with security patches.

mtedeschi commented 6 years ago

Update 1 went well and is live on the current site.

mtedeschi commented 6 years ago

June 6 update: Attempted the update from 8.2.8 to 8.3.1 (which is a major update). Failed on initial install on staging due to a conflict with a module (rules). After uninstalling the module, was able to successfully update the site to 8.3.1 without issue. Will need to identify if we can get a newer version of Rules installed.

Update on production is still outstanding, since its EOD.

mtedeschi commented 6 years ago

June 7 update: Pushed update to 8.3.1 on production successfully and made the one minor module change. The Rules module is currently uninstalled due to lack of support at that level. We will reinstall it at the end of the updates when we can pull the most stable release.

Updated to 8.3.8 on staging and production without issue. Update #2 is complete now.

mtedeschi commented 6 years ago

July 3 update: Working through Update 3 on staging today, aiming to get from 8.3.8 to 8.4.8 in four intervals. If this works, then I'll do the same approach on production.

I was able to upgrade to 8.4.8 on staging without issues. Will push these changes to production next.

mtedeschi commented 6 years ago

July 5 update: Update 3 is pushed to production on both english and multilanguage. No known issues at this time.

amberreeves commented 6 years ago

ok great. i updated karie.

mtedeschi commented 6 years ago

July 19 update: I pushed the changes to get us to the latest version of Drupal across all sites and cleaned up the server. This should be good to go / consider this complete.

The only thing I did not do is reinstall the Rules module, there is a pending update on that one for the latest version of Drupal, so I'd like to wait until it gets considered stable and then install it.

amberreeves commented 6 years ago

sent to karie for review.

mtedeschi commented 6 years ago

Closing this, since we're done with the upgrades at this point.