Plesk

Created Subscriptions have no web hosting support: Integrity constraint violation: 1062 Duplicate entry ’12-max_site ‘ for key ‘PRIMARY’

Symptoms

Cause

Database inconsistency

Resolution

  1. Connect to the server via SSH

  2. Create a psa database backup as instructed here

  3. Repair the databases by running the command below:

    # plesk repair db

    Note: The above command will require user intervention to reply "y/n" questions, to repair this automatically use the flag -y as plesk repair db -y

Exit mobile version