-
Notifications
You must be signed in to change notification settings - Fork 63
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
WP CLI upgrade command doesn't work #744
Comments
Hello @curtismchale , Our team will investigate the issue and respond as soon as possible. Thank you for the feedback! |
@curtismchale is this for the new "WP-Stateless: Data Optimization Required" message shown in the admin panel? I might be wrong but I don't think the There is another command which lists the migrations:
Only problem with this one is I think migrations for different sites have different IDs so there isn't a way to bulk run it. |
The proper command is: As @commercial-hippie mentioned, there is a new command
In multisite environment the |
@balexey88 we're upgrading from 3.4.1 to 4.0.2 and we're not on multi-site we run a Kubernetes cluster and have a build/deploy script that runs at the end of the deploy process to do database migrations, or add options or...whatever as needed. At this point the stateless upgrade is also holding up the upgrade to WP 6.5.2 and some other plugins so I'd love to be able to run it now, but I can also pull out the stateless upgrade and wait a day or two. Do you have any ETA for getting the fix out to the commands? @commercial-hippie it's for the message Data-Optimization Required in the screenshot below. |
@curtismchale , if you are updating from 3.4.1 then you don't need to run
which is working fine. |
@balexey88 thanks. Is there a way to flay for I can run the |
@curtismchale try adding |
@commercial-hippie I tried many versions of |
I have had success with |
Hello @curtismchale, I'm glad you found a solution. We will implement changes to make it easier to run Thanks for your feedback! |
Hello @curtismchale , We improved Data Optimization in CI/CD pipelines in our new release 4.1.1. Please use the following command:
It will automatically run all the required Data Optimizations. Thanks for your feedback! |
I just tried it again
It seems we tried to run |
When I run
wp stateless upgrade images --b
to upgrade all the images with the4.0.3
update the command doesn't run and gives the error output:Error: Something went wrong. External command process failed.
I have around 100 sites to upgrade and WP CLI commands are generally crucial to doing this efficiently.
The text was updated successfully, but these errors were encountered: