<p>More of a "How do I debug stuck tasks" answer, but it should help you.</p>

<p>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.</p>

<p>Set that task's status to 'pending', and reload any page in the control panel to re-trigger the task.</p>

<p>If it gets stuck again, immediately go to your <code>craft/storage/runtime/logs</code> folder and check for a <code>phperrors.log</code> file.  If that exists, it will likely hold the error message for why the task is hung.</p>

<p>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.).</p>

<p><strong>Update:</strong></p>

<p>Just added a help article for this here: <a href="https://craftcms.com/support/stuck-tasks" rel="nofollow noreferrer">https://craftcms.com/support/stuck-tasks</a></p>

CC BY-SA 3.0
2014-09-05T17:12:42.243Z
Is the max_execution_time php ini hardcoded into GD/Image.php? I keep running into `Maximum execution time of 30 seconds exceeded in /var/www/craft.lovindublin.com/craft/app/vendor/imagine/imagine/lib/Imagine/Gd/Image.php on line 584` but my php_info says it's 300
Seán O'Grady
CC BY-SA 3.0
2014-09-05T17:25:43.063Z
Must be coming from something else then. If you're running things like FastCGI or nginx or Suhosin or mod_security, they each have their own (differently named) functionally equivalent settings.
Brad Bell
CC BY-SA 3.0
2014-12-11T01:09:57.427Z
Intriguing. Fix in new help text cleared it. Five weeks running (I was busy), no idea what caused. Probably GoDaddy, where this installation was client-stuck...thanks, Brad, as always.
narration_sd
CC BY-SA 3.0
2015-04-23T12:43:47.163Z
Would be nice to have an option to do this manually from the CP. Unfortunately on our server there is no phpmyadmin installed which makes this task very inconvenient.
m9dfukc
CC BY-SA 3.0
2015-12-02T02:58:44.973Z
Just for posterity, this feature is now there, by Craft 2.5 release at least. You see a task is  running, click the rotating gezotz, may retry or delete it. Thank Brad, I am sure...
narration_sd
CC BY-SA 3.0
2016-12-29T19:51:08.197Z
The tasks table in the latest versions of Craft is called just `tasks`.
certainlyakey
CC BY-SA 3.0
2016-12-29T20:47:49.167Z
@certainlyakey just depends on what you have your `craft/config/db.php`'s `tablePrefix` config setting set to.
Brad Bell
CC BY-SA 3.0
2014-09-05T14:55:53.113Z
2017-08-24T04:52:49.300Z
2017-08-24T04:52:49.300Z
Brad Bell
<p>In the CMS the progress indicator for tasks is stuck and not completing its jobs. What can I do to resolve this?</p>

<p><img src="https://i.sstatic.net/DXcfD.png" alt="task indicators"></p>

CC BY-SA 3.0
2014-09-05T13:52:12.800Z
I'm getting that error also :/
Seán O'Grady
CC BY-SA 3.0
2015-01-21T20:39:33.260Z
Answer below is legit. I've had this happen a few times and it's the same scenario you have there (two image trans followed by a delete stale template cache). Coincidence or bug?
veritascs
<image-transforms><cache><tasks>
Generating pending image transforms stuck in process
# Generating pending image transforms stuck in process

(Asked by: username_0 on 2014-09-05)

In the CMS the progress indicator for tasks is stuck and not completing its jobs. What can I do to resolve this?

![task indicators](https://i.sstatic.net/DXcfD.png)

**Tags:** image-transforms, cache, tasks

> **Comments:**
> **username_1**: I'm getting that error also :/  
> **username_2**: Answer below is legit. I've had this happen a few times and it's the same scenario you have there (two image trans followed by a delete stale template cache). Coincidence or bug?  

---

## 1 answers

### Answer by username_3 on 2014-09-05. Score: 37 | Accepted answer

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.).

**Update:**

Just added a help article for this here: <https://craftcms.com/support/stuck-tasks>

> **Comments:**
> **username_1**: Is the max_execution_time php ini hardcoded into GD/Image.php? I keep running into `Maximum execution time of 30 seconds exceeded in /var/www/craft.lovindublin.com/craft/app/vendor/imagine/imagine/lib/Imagine/Gd/Image.php on line 584` but my php_info says it's 300  
> **username_3**: Must be coming from something else then. If you're running things like FastCGI or nginx or Suhosin or mod_security, they each have their own (differently named) functionally equivalent settings.  
> **username_4**: Intriguing. Fix in new help text cleared it. Five weeks running (I was busy), no idea what caused. Probably GoDaddy, where this installation was client-stuck...thanks, Brad, as always.  
> **username_5**: Would be nice to have an option to do this manually from the CP. Unfortunately on our server there is no phpmyadmin installed which makes this task very inconvenient.  
> **username_4**: Just for posterity, this feature is now there, by Craft 2.5 release at least. You see a task is  running, click the rotating gezotz, may retry or delete it. Thank Brad, I am sure...  
> **username_6**: The tasks table in the latest versions of Craft is called just `tasks`.  
> **username_3**: @username_6 just depends on what you have your `craft/config/db.php`'s `tablePrefix` config setting set to.  

---

