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

WP media regenerate command just seems to break #23

Open
pmgarman opened this issue Sep 12, 2023 · 3 comments
Open

WP media regenerate command just seems to break #23

pmgarman opened this issue Sep 12, 2023 · 3 comments

Comments

@pmgarman
Copy link

Added a thumbnail size, which means I need to regenerate thumbnails. I tried running the CLI command, but it failed, and the logs aren't really that enlightening.

➜  garman git:(ymir) ✗ ymir wp --environment staging
A new version of the Ymir CLI is available: 1.39.1 → 1.42.0

 Please enter the WP-CLI command to run:
 > --url=mindsize.staging.garman.dev media regenerate --only-missing --yes

Running "wp --url=mindsize.staging.garman.dev media regenerate --only-missing --yes" on "staging" environment


  Running the command failed


wp [--environment ENVIRONMENT] [--async] [--] [<wp-command>...]

CleanShot 2023-09-12 at 11 01 37@2x

@carlalexander
Copy link
Member

carlalexander commented Sep 12, 2023

Probably a timeout if you reach 60s. That's the default timeout I put for console commands. Might be worth adding another error message for that tho 😅

Side note: This is probably going to be a terribly slow operation to do on Ymir

@pmgarman
Copy link
Author

Yeah that seems plausible even though I didn't time it. Clearer error messaging would have made me less confused. Is that timeout global or is it something editable inline when running the command?

@carlalexander
Copy link
Member

carlalexander commented Sep 12, 2023

It's a configuration option. Need to change it and redeploy. You're still limited by the 15 minute lambda timeout.

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