1

I've got 12 pending tasks, and can't get rid of the first stuck one.

  • CP->Utilities->Clear Caches doesn't seem to help.
  • In the database, in craft_queue there were five rows, the first one seeming to be the stuck one. I deleted all of those

Still the first task is stuck, and by now there are 14 tasks waiting.
I see that craft_templatecachequeries has over 11,000 rows. Would those be helpful to delete?

4
  • Can't you delete them in your Database interface (phpmyadmin /adminer...) ? If not delete them via Craft query Commented May 5, 2018 at 13:41
  • @RobinSchambach Thanks, I did that, but things haven't changed. Question updated with additional info.
    – kr37
    Commented May 6, 2018 at 1:02
  • Could you please tell us the name of that task? They should not reappear when you delete them Commented May 6, 2018 at 6:14
  • Thank you, @RobinSchambach, it was a dumb mistake. I deleted them from the wrong database (staging instead of development). Progressing now.
    – kr37
    Commented May 6, 2018 at 12:17

1 Answer 1

3

The answer was, to delete the first row of the queue table in the correct database.
Also, it helped to increase max_execution_time in /etc/php/7.1/apache2/php.ini

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.