Plesk

Unable to synchronize subscription 22 with plan 1: Unable to load object of type BsDomain with id=33: Domain does not exist

Symptoms

Cause

Plesk database inconsistency.

Resolution

  1. Connect to the server via SSH
  2. Create a dump of psa database:

    # plesk db dump psa > psa`date +%F-%s`.sql

  3. Delete orphan records:

    # plesk db "delete from Subscriptions where id=22"

    # plesk db "delete from PlansSubscriptions where subscription_id=22"

    # plesk db "delete from SubscriptionProperties where subscription_id=22"

  4. Repair Plesk database to fix any broken references left by the previous delete:

    # plesk repair db

Exit mobile version