buttonbox
buttonbox copied to clipboard
Problem upgrading Craft/Button Box
Describe the bug
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?
Steps to reproduce
- Update to Craft 3.9.13
- Update to Craft 4.0.0
- Attempt same thing on staging
Craft CMS version
3.742-3.9.13 and then 4.0.0
Plugin version
Supercool 2.0.4 to 3.0.2 and then 4.2.4
Multi-site?
No response
Additional context
No response
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.
OK, thanks. 👍