• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Plesk task manager service trying to run task with id that does not exist

BigBlock

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
18.0.67 #1
Having strange problems with any operations that plesk queues , the task manager appears to be trying to run a task with an ID that does not exist in the longtasks table, furthermore, the config file the plesk-task-manager service is trying to use does not exist!

The result is that operations like deleting domains, saving domain settings etc all appear to be hanging.

What actually appears to be happening is that when a task is completed the plesk-task-manager service never gets the message and waits for the task to complete.

For example plesk-task-manager was hanging on a non existent task 31411 - no matching ID in the longtasks database
I deleted 2 subdomains, tasks 31412 & 31414 - they remained with a status of not_started
at which point the process list shows

/usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/scripts/task-async-executor.php -task-id 31411

I added a subdomain at this point and one of the domain delete tasks completed 31412
Now the plesk-task-manager service appears to be hanging on task on 31421 - which does not exist.

So:
- plesk-task-manager service appears to be hanging waiting for tasks to complete (I'm assuming the missing IDs are completed tasks that never notified the service)
- the config file /usr/local/psa/admin/conf/task-manager.yml does not exist
- the service seems to run some tasks while not others - since creating a subdomain works and leaves gaps in the longtasks id column
- restarting the plesk-task-manager service has no effect, it attempts to run the missing tasks again.


What is happening here and how does it get fixed?
 
Back
Top