In the CMS the progress indicator for tasks is stuck and not completing its jobs. What can I do to resolve this?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.Sign up to join this community
More of a "How do I debug stuck tasks" answer, but it should help you.
Open up your craft_tasks table. You'll see one task in with a 'status' of 'running' and if you refresh the table several times, the 'currentStep' value for that task is no longer incrementing. That's your stuck task.
Set that task's status to 'pending', and reload any page in the control panel to re-trigger the task.
If it gets stuck again, immediately go to your
craft/storage/runtime/logs folder and check for a
phperrors.log file. If that exists, it will likely hold the error message for why the task is hung.
90% of the time, when a task gets stuck, it's because it has ran into some environmental limitation (PHP max_execution_time, memory_limit, etc.).
Just added a help article for this here: https://craftcms.com/support/stuck-tasks