Symptoms
-
SEO Toolkit task was started in Domains > example.com > Scan
-
SEO Toolkit longtask was deleted from Plesk manually by following article How to delete a stuck task?
-
No SEO Toolkit related actions can be performed on the domain example.com and status of the Site Audit in Domains > example.com overview is stuck with one of the following messages:
Site Audit is in progress. Please wait until it has been completed.
Please wait. We are currently crawling...
Note: In some cases, such a task might cause inconsistency in Plesk database by adding extra value into dom_param table
Cause
Inconsistency in the database caused by the longtask removal.
SEO Toolkit stores information about running audits to the database and updates them only when the longtask have finished running, or failed.
Resolution
-
Find the affected domain's ID:
# plesk db "SELECT d.id, d.name FROM domains d WHERE d.name = 'example.com';"
+----+-------------+
| id | name |
+----+-------------+
| 13 | example.com |
+----+-------------+ -
Remove the ext-xovi-site_audit_state parameter related to this domain from the database:
# plesk db "DELETE FROM dom_param WHERE param = 'ext-xovi-site_audit_state' AND dom_id = 13;"