Skip to content

Tasks are not being run from the Control Panel #7773

@lewisjenkins

Description

@lewisjenkins

Description

Craft is not running tasks while logged in to the Control Panel. All tasks are marked as 'Pending' but they are not even being attempted. However, if I run ./craft queue/listen --verbose from the command line then the tasks will be run without issue. If I keep the listener running then I can continue to work normally in the Control Panel and all new tasks will run without issues. As soon as I stop the listener then the tasks will no longer run from the Control Panel.

My limited understanding of Craft is that clicking around the Control Panel should process any tasks in the queue. However, this does not appear to be happening.

I don't think this is an environment issue because I have other (slightly older) installs of Craft on the same server that work fine. This appears to be a new issue.

Steps to reproduce

  1. Install Craft
  2. Create a section (I created a Single for the homepage)
  3. Save the entry
  4. There should now be pending tasks

Additional info

  • Craft version: 3.6.11.2
  • PHP version: 7.4.3
  • Database driver & version: MySQL 8.0.22
  • Plugins & versions: None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions