Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem upgrading Craft/Button Box #65

Open
tyssen opened this issue Sep 3, 2024 · 4 comments
Open

Problem upgrading Craft/Button Box #65

tyssen opened this issue Sep 3, 2024 · 4 comments

Comments

@tyssen
Copy link

tyssen commented Sep 3, 2024

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

  1. Update to Craft 3.9.13
  2. Update to Craft 4.0.0
  3. 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

@engram-design
Copy link
Member

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
Copy link
Author

tyssen commented 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
Copy link
Member

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
Copy link
Author

tyssen commented Sep 4, 2024

OK, thanks. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants