Automattic/regenerate-thumbnails

Restart a failed regeneration process

alexsanford opened this issue · 2 comments

On a large site with many images, if the thumbnail regeneration process fails partway through, it needs to be restarted from the beginning. It would be helpful to be able to restart the process from where it failed.

See this forum thread.

Resume the operation of re-creating thumbnails. Maybe by ID or by date uploaded or even automatically.

Because, you know, I was fiddling with Pagespeed Insights and decided I could use some more thumb sizes, but then at like 80% the hard disk on the server decided to be full. So now I am sitting here again, waiting for every thumb to be re-created.

This could also be useful if you decide that you’d only need new thumbs for the last X months (assuming older posts would have less traffic anyway).

Requested in https://wordpress.org/support/topic/feature-request-resume-operation-per-id-or-date/

User here suggested implementing retries and resuming from the failed thumbnail: https://wordpress.org/support/topic/stops-on-error-doesnt-handle-errors-missing-regeneration-cache/