• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • 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.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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