Articles in this section

How to clean up failed tasks in Plesk Task Manager?

kb: how-to Plesk Obsidian for Linux

Applicable to:

  • Plesk for Linux

Question

Plesk Tasks are failing with the following messages in /var/log/plesk/panel.log and in Panel UI:

PLESK_ERROR: ERROR [panel] Unable to find row with id XXXXX in longtasks table

How to clean up failed tasks in Plesk Task Manager?

Answer

  1. Log in to Plesk server via SSH
  2. Set clean up period for one minute through plesk conf task-manager.yml command:

    # plesk conf task-manager.yml
    timeouts: 
    # How often to remove tasks that were not recently updated 
    gc: 
    # Remove 'success' tasks that are older than 
    #successful: 24h 
    # Remove 'failure' tasks that are older than 
    failed: 1m

  3. Restart Task Manager service:

    # systemctl restart plesk-task-manager

  4. Set the initial value for "failed" parameter from step 2 and restart the service again
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.