You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on an upgrading a site which was on Craft 3.7.42 to v4.
First off I attempted an upgrade to the latest 3.x version. Part of that process involved replacing Supercool BB 2.0.4 with Verbb BB 3.0.2 (there were a couple of other plugins that were replaced with Verbb versions too like Patrol and Tablemaker). Then I upgraded to Craft 4.
All this went fine on my local but when attempting the same thing on staging after running composer update and then craft migrate/all I get:
You need to be on at least Button Box 3.0.0 before you can update to Button Box 4.2.4.
What do I need to do to get the update process to complete?
So it's quite possible that each environment needs to be upgraded to the latest of that major version, rather than everything all in one go. So you would go to the latest 3.x of Craft (and the associated plugins), and deploy that to all environments. Then, continue with your Craft 4.x (and associated plugins) after that.
I'm not sure if that's an option anymore for your site (with everything already done on Craft 4)?
@engram-design so do I need to roll all environments back to the 3.x stage and then start over? I'm sure I've done 3-4 upgrades on other sites where I haven't had to go to the latest on the current version for each environment before moving to the next one.
It's more than we don't really support changes from 2.0.2 straight to 4.0.4, and we don't bundle migrations for multiple major versions of plugins. I can look into what's involved in the upgrade to handle multiple major versions.
Activity
engram-design commentedon Sep 4, 2024
So it's quite possible that each environment needs to be upgraded to the latest of that major version, rather than everything all in one go. So you would go to the latest 3.x of Craft (and the associated plugins), and deploy that to all environments. Then, continue with your Craft 4.x (and associated plugins) after that.
I'm not sure if that's an option anymore for your site (with everything already done on Craft 4)?
tyssen commentedon Sep 4, 2024
@engram-design so do I need to roll all environments back to the 3.x stage and then start over? I'm sure I've done 3-4 upgrades on other sites where I haven't had to go to the latest on the current version for each environment before moving to the next one.
engram-design commentedon Sep 4, 2024
It's more than we don't really support changes from 2.0.2 straight to 4.0.4, and we don't bundle migrations for multiple major versions of plugins. I can look into what's involved in the upgrade to handle multiple major versions.
tyssen commentedon Sep 4, 2024
OK, thanks. 👍